Hi

I am new to Boost.Python and am trying to build its library using Visual C++ 
2008 on Windows XP.

I have downloaded and unzipped boost_1_43_0.zip and I have installed 
boost-jam-3.1.18-1-ntx86.zip.

Next, I executed:

C:\boost_1_43_0\libs\python\example\quickstart>\boost-jam-3.1.18-1-ntx86\bjam 
toolset=msvc --verbose-test test

The output I get is:

==================================================================
[snip]
msvc.link bin\test_embed.test\msvc-10.0\debug\threading-multi\test_embed.exe
LINK : warning LNK4001: no object files specified; libraries used
LINK : error LNK2001: unresolved external symbol _mainCRTStartup
bin\test_embed.test\msvc-10.0\debug\threading-multi\test_embed.exe : fatal 
error LNK1120: 1 unresolved externals

        call "C:\Program Files\Microsoft Visual Studio 10.0\VC\vcvarsall.bat" 
x86 >nul
link /NOLOGO /INCREMENTAL:NO /DEBUG /MACHINE:X86 /subsystem:console 
/out:"bin\test_embed.test\msvc-10.0\debug\threading-multi\test_em
t_embed.test\msvc-10.0\debug\threading-multi\test_embed.exe.rsp"
        if %ERRORLEVEL% NEQ 0 EXIT %ERRORLEVEL%

...failed msvc.link 
bin\test_embed.test\msvc-10.0\debug\threading-multi\test_embed.exe 
bin\test_embed.test\msvc-10.0\debug\threading-
...removing bin\test_embed.test\msvc-10.0\debug\threading-multi\test_embed.pdb
...skipped <pbin\test_embed.test\msvc-10.0\debug\threading-multi>test_embed.run 
for lack of <pbin\test_embed.test\msvc-10.0\debug\thr
...failed updating 2 targets...
...skipped 2 targets...
==================================================================

I am surprised at the mention of Visual Studio 10.0 because I only have Visual 
Studio 2008 and Visual C++ 2008 Express installed.

Please will anyone suggest what is wrong?

Would it be better for me to use the pre-built binaries provided by Boost 
Consulting?

Best regards

David

_______________________________________________
Cplusplus-sig mailing list
Cplusplus-sig@python.org
http://mail.python.org/mailman/listinfo/cplusplus-sig

Reply via email to