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

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -