[C++-sig] boost python/example/quickstart does not work
Ronny Herzog
herzog at mpi-cbg.de
Wed Jul 18 11:36:33 CEST 2012
Dear all,
I am experiencing a problem with the quickstart example from boost for
Python. This is what happens:
>>>
c:\boost_1_50_0\libs\python\example\quickstart>bjam --toolset=msvc
--verbose-test test
...patience...
...patience...
...found 1652 targets...
...updating 4 targets...
msvc.link bin\test_embed.test\msvc-9.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-9.0\debug\threading-multi\test_embed.exe :
fatal error
LNK1120: 1 unresolved externals
call "C:\Program Files\Microsoft Visual Studio
9.0\VC\vcvarsall.bat" x86
>nul
link /NOLOGO /INCREMENTAL:NO /DEBUG /MACHINE:X86 /subsystem:console
/out:"bin\te
st_embed.test\msvc-9.0\debug\threading-multi\test_embed.exe"
/LIBPATH:"c:\Python
26\libs"
@"bin\test_embed.test\msvc-9.0\debug\threading-multi\test_embed.exe.rs
p"
if %ERRORLEVEL% NEQ 0 EXIT %ERRORLEVEL%
...failed msvc.link
bin\test_embed.test\msvc-9.0\debug\threading-multi\test_embe
d.exe bin\test_embed.test\msvc-9.0\debug\threading-multi\test_embed.pdb...
...removing
bin\test_embed.test\msvc-9.0\debug\threading-multi\test_embed.pdb
...skipped
<pbin\test_embed.test\msvc-9.0\debug\threading-multi>test_embed.run f
or lack of
<pbin\test_embed.test\msvc-9.0\debug\threading-multi>test_embed.exe..
.
...failed updating 2 targets...
...skipped 2 targets...
<<<
It somehow does not find the vcvarsall.bat although it is right in the
place. I even started it before I run bjam.
Any help is appriciated.
Ronny
More information about the Cplusplus-sig
mailing list