
Hi all, I'm trying to use a few header-only Boost libraries in an embedded environment -- to be specific, an SH4 platform that runs Windows CE.NET 4.2. My IDE is Embedded Visual C++ 4.0. My minimal "hello world" does nothing interesting but instantiating a simple boost::shared_array of chars. I get the following unresolved external when linking: minimal.obj : error LNK2019: unresolved external symbol __InterlockedDecrement referenced in function "public: void __cdecl boost::detail::sp_counted_base::release(void)" (?release@sp_counted_base@detail@boost@@QAAXXZ) SH4Rel/minimal.exe : fatal error LNK1120: 1 unresolved externals Further information: My compiler /? output is: "Microsoft (R) C/C++ Optimizing Compiler Vers. 12.20.9518 for Hitachi SH" This compiler does support Exceptions and RTTI when you turn on the right switches (/GX and /GR, respectively), provided that you link against a library that has also been custom-built (using WinCE Platform Builder) to support these features (the default CE 4.2 SDK's lib does not). I have tried the WinCE 4.2's (limited) native C++/STL as well as STLPort -only and Dinkumware-only implementations. I get the same unresolved external in each case. Any help would be greatly appreciated. Thanks in advance, Garrett