Page 1 of 1

Compilation on Unix

Posted: Wed May 09, 2012 7:35 pm
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> >*

Re: Compilation on Unix

Posted: Wed May 09, 2012 8:03 pm
by daniel
Thanks for the feedback!

I have fixed this.