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

java - BeanIO write annotated class to fixedlength -

Using Java 8 lambdas/transformations to combine and flatten two Maps -

How to connect android app to App engine -