Wireshark-bugs: [Wireshark-bugs] [Bug 3500] Add Python embedding to Windows makefiles
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3500
--- Comment #10 from Michael Mann <mmann78@xxxxxxxxxxxx> 2011-06-10 04:55:23 PDT ---
(In reply to comment #9)
> (In reply to comment #8)
> > I tested this (uncommenting PYTHON_EMBED) with Python 2.7 with Microsoft Visual
> > C++ 9.0, x86 on the SVN.
> >
> > The only problem I ran across was a link issue with dumpcap.exe (which was
> > easily fixable adding the python lib to the dumpcap library list)
> That can't be right. Dumpcap should be lean and mean as possible, why does it
> need this?
My build output was:
capture_stop_conditions.c
conditions.c
dumpcap.c
pcapio.c
ringbuffer.c
Generating Code...
Linking dumpcap.exe
link @C:\DOCUME~1\Pyramid\LOCALS~1\Temp\nmB1E.tmp
LINK : fatal error LNK1104: cannot open file 'python27.lib'
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio
9.0\VC\BIN
\link.EXE"' : return code '0x450'
Stop.
The attached patch fixed the problem, but perhaps its not the "right" fix.
The following comment in config.nmake points to maybe the fix being to update
directories, but I didn't see anything in wspy_libws.py that would help
# XXX The DLL path in epan/wspython/wspy_libws.py likely needs to
# be fixed before this is enabled by default.
--
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.