Boost logo

Boost-Build :

From: anderson leo (fireman119_at_[hidden])
Date: 2007-10-16 03:58:38

Hi, I download the boost build compressed package from boost site. And try
to build a simple COM project which is migrate from VS2005, OS platform is
Win2000 sp4.
The project was built succeed in VS2005.

Content of Jamroot file below:
exe OSAutoConfig
    <include>C:/"Program Files"/"Microsoft Visual Studio
    <file>C:/"Program Files"/"Microsoft Visual Studio
The project path is c:\boost-build\example\BIDI_EXE.
VS2005 is already installed.

And compile error message is:
OSAutoConfig.cpp(128) : error C2065: 'COINIT_MULTITHREADED' : undeclared
OSAutoConfig.cpp(128) : error C3861: 'CoInitializeEx': identifier not found

I feel so confused, because in file OSAutoConfig.obj.rsp the corresponding
path has aleady appended.
Content of OSAutoConfig.obj.rsp file below:
"OSAutoConfig.cpp" -Fo"bin\msvc-8.0\debug\OSAutoConfig.obj" -TP /Z7 /Od
/Ob0 /W3 /GR /MDd /Zc:forScope /Zc:wchar_t /wd4675 /EHs -c
"-IC:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\Include"


Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at