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

  ./config-with-libraries = system, pseudo to create thread pseudo Install Ldconfig -v  

In the eclipse project, set the directory included in it:

  / usr / local / include / boost-1_38 /  

the search path (-L)

  / usr / Local / lib  

runs the linker, ld returns with the error

  / usr / bin / ld: -lboost_thread  
Can not find Awareness is

thus:

  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  

the entries relating to the on / us r / local / lib:

< pre> 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>

Here is the contents of /etc/ld.so.conf

  Evening L'/etc/ld.so.conf D / *. Conf / usr / local / lib  

Linker How is this missing?

your linker line should say -lboost_thread-gcc43-MT-1_38 .


Comments