c++ - Boost linkage error in Eclipse -
I'm banging my head against unemployment wall trying to affiliate thread functionality project on Eclipse C ++ Ubuntu has gone. So far step: Boost download from boost.org In the eclipse project, set the directory included in it: the search path (-L) runs the linker, ld returns with the error thus: the entries relating to the on / us r / local / lib: Here is the contents of /etc/ld.so.conf Linker How is this missing?
./config-with-libraries = system, pseudo to create thread pseudo Install Ldconfig -v
/ usr / local / include / boost-1_38 /
/ usr / Local / lib
Can not find Awareness is / usr / bin / ld: -lboost_thread
apply: GCC C ++ Linker G ++ L / usr / local / lib -o "boostHello3" ./src/boostHello3.o -lboost_thread / usr / bin / ld: can not find -lboost_thread collect2: ld 1 exit status Libbust_sistm-Gkk43-not-L_38ka Libbust_sistm-gkk43-mt-l_38kso Libbust_sistm-Gkk43-not-L_38ksoklk38k0 Libboost_sistm-Gkk43 -mtka Libbust_sistm-gkk43-mtkso Libbust_thred-Gkk43-not-L_38ka Libbust_thred-gkk43-mt-l_38kso Libbust_thred-Gkk43-not-L_38ksoklk38k0 Libboost_thred-Gkk43-Mtka Libbust_thred -gkk43-mtkso < / Pre>
Evening L'/etc/ld.so.conf D / *. Conf / usr / local / lib
your linker line should say -lboost_thread-gcc43-MT-1_38 .
Comments
Post a Comment