Boost logo

Boost Users :

From: Ivan Makale (ivan.makale_at_[hidden])
Date: 2005-04-06 14:45:24


I tried to use the Boost Thread library with Windows and VC++ 7.1 (.NET IDE)
and STLPort-4.6.2 but I didn't succeed. I tried with:

- boost jam
- generating a DLL from a new project directly in the IDE (dynamic linking)
- including the sources in the exe project (static linking)

The static linking gives me an error with "tss_cleanup_implemented", which
is not accidental but wanted by the developers ("This function's sole purpose
is to cause a link error..."), while the dinamyc linking gives me another
error:

"TestPalantirWrapper error LNK2019: unresolved external symbol "public: __thiscall
boost::thread::thread(class boost::function0<void,class _STL::allocator<class
boost::function_base> > const &)" (??0thread_at_boost@@QAE_at_ABV?$function0_at_XV?$allocator_at_Vfunction_base_at_boost@@@_STL@@@1@@Z)
referenced in function _main"

(it was th thread.cpp example).
A strange thing happens with dynamic linking: using "BOOST_LIB_DIAGNOSTIC",
I get the message

  "Linking to lib file: libboost_thread-vc71-mt-sgdp-1_32.lib" ,

beginning with "lib", and not the dynamic one (without "lib"). In particular,
generating a DLL from the IDE from the the source files:

(1) requires the library libboost_thread-vc71-mt-sgdp-1_32.lib (why?)
(2) doesn't generate an import library (".lib") but only the .dll
 
Thank you, Ivan Makale

__________________________________________________________________
Tiscali Adsl 3 Mega Flat con 3 MESI GRATIS!
Con Tiscali Adsl 3 Mega Flat navighi con la Supervelocita'
a soli 29.95 euro al mese, senza limiti di tempo. E se attivi
entro il 15 Aprile, 3 MESI sono GRATIS!
Scopri come risparmiare navigando veloce, su
http://abbonati.tiscali.it/adsl/sa/2flat_tc/


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net