[C++-sig] Re: Unresolved external symbols with Visual C++ 7.0 and 7.1

David Abrahams dave at boost-consulting.com
Sat Aug 30 04:44:21 CEST 2003


Patrick Hartling <patrick at vrac.iastate.edu> writes:

> I based my compiler and linker commands on the output from running jam
> with the -n option, as suggested by the documentation:
>
> cl /nologo /TP /Zm800 /GR /GX /Z7 /Od /Ob0 /GX /GR /MDd
> /IC:\cygwin\home\patrick\bpl-vc71\include /IC:\Python22\include /I. /c
> test.cpp
>
> link /nologo/DEBUG /subsystem:console /incremental:no /dll
> /out:test.pyd /implib:test.lib
> /LIBPATH:C:\cygwin\home\patrick\bpl-vc71\lib /LIBPATH:C\Python22\libs
> boost_python.lib test.obj
>
> What I am missing or doing wrong?

Probably just that you're not precisely duplicating what bjam does.
Have you checked that carefully?

I can't imagine it failing to make a module that simple work, since I
do it just about every day.

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com





More information about the Cplusplus-sig mailing list