Compilation on Unix

If you are allergic to bug trackers, you can post here any remarks, issues and potential bugs you encounter
Post Reply
anagno
Posts: 20
Joined: Fri Mar 30, 2012 1:47 pm

Compilation on Unix

Post by anagno »

After downloading the most recent trunk and when i tried to compile the program i got:

Code: Select all

In file included from /home/anagno/Documents/CloudCompare/trunk/libs/qCC_db/ccCalibratedImage.cpp:25:0:
/home/anagno/Documents/CloudCompare/trunk/libs/qCC_db/ccCalibratedImage.h:158:45: error: ‘>>’ should be ‘> >’ within a nested template argument list
make[2]: *** [libs/qCC_db/CMakeFiles/QCC_DB_DLL.dir/ccCalibratedImage.cpp.o] Error 1
make[1]: *** [libs/qCC_db/CMakeFiles/QCC_DB_DLL.dir/all] Error 2
make: *** [all] Error 2
and

Code: Select all

/home/anagno/Documents/CloudCompare/trunk/libs/qCC_db/ccCalibratedImage.cpp:513:47: error: ‘>>’ should be ‘> >’ within a nested template argument list
make[2]: *** [libs/qCC_db/CMakeFiles/QCC_DB_DLL.dir/ccCalibratedImage.cpp.o] Error 1
make[1]: *** [libs/qCC_db/CMakeFiles/QCC_DB_DLL.dir/all] Error 2
make: *** [all] Error 2
It is a simple as the compiler mentions. The only changes that should be done is:

Code: Select all

std::vector<std::pair<double,double>>*
to

Code: Select all

std::vector<std::pair<double,double> >*
daniel
Site Admin
Posts: 7710
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Compilation on Unix

Post by daniel »

Thanks for the feedback!

I have fixed this.
Daniel, CloudCompare admin
Post Reply