|
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
:
dbg.cpp
OSAutoConfig.cpp
:
<include>.
<include>C:/"Program Files"/"Microsoft Visual Studio
8"/VC/PlatformSDK/Include/
<file>C:/"Program Files"/"Microsoft Visual Studio
8"/VC/PlatformSDK/Lib/ole32.lib
<define>_UNICODE
<define>UNICODE
;
---------------------------------------------------------------
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
identifier
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
-DUNICODE
-D_UNICODE
"-I."
"-IC:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\Include"
----------------------------------------------------------------------
Leo
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk