c++ - g++ not finding boost libraries -


i trying compile program using cgal , linked boost. when run linker:

g++ -wl,-o1 -wl,-rpath,/home/name/qt/5.4/gcc_64 -wl,-rpath,/home/name/qt/5.4/gcc_64/lib -o meld main.o mainwindow.o test.o moc_mainwindow.o   -lcgal -lgmp -lmpfr -lboost_system -l/home/name/qt/5.4/gcc_64/lib -lqt5widgets -lqt5gui -lqt5core -lgl -lpthread  

and error

main.o: in function `global constructors keyed main.cpp': main.cpp:(.text+0x3f): undefined reference `boost::system::generic_category()' 

what doing wrong? saw couple of answers similar questions none seem work me.


Comments

Popular posts from this blog

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -

Kivy: Swiping (Carousel & ScreenManager) -