| CGAL integration with CDT [message #1794553] |
Sun, 02 September 2018 15:38  |
Eclipse User |
|
|
|
I have CGAL examples configured with eclipse. I have already done some of the project settings suggested on the following link.
http://cgal-discuss.949826.n4.nabble.com/How-to-configure-Ubuntu-EclipseCDT-CGAL-QT4-td953282.html
The problem is as follows,
Invoking: Cross G++ Linker
g++ -L/home/ujjval/Downloads/CGAL-4.13-beta1/lib -o "hello" ./src/cgal.o -lCGAL
./src/cgal.o: In function `std::ostream& CGAL::insert<CGAL::Simple_cartesian<double> >(std::ostream&, CGAL::Point_2<CGAL::Simple_cartesian<double> > const&, CGAL::Cartesian_tag const&)':
/usr/include/CGAL/Point_2.h:172: undefined reference to `CGAL::IO::mode'
makefile:45: recipe for target 'hello' failed
collect2: error: ld returned 1 exit status
make: *** [hello] Error 1
This problem is related to sequece of command CDT will run but I dont know how to change that.
I know how to run CGAL exaples from command line for example,
g++ -frounding-math cgal.cpp -o ujjval -lCGAL
|
|
|
|
Powered by
FUDForum. Page generated in 0.07849 seconds