smkazim / pybluez

Automatically exported from code.google.com/p/pybluez
GNU General Public License v2.0
0 stars 0 forks source link

build for python 3.2 hitting an error #56

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Minor changes in python code for Python 2->3 conversion
2. ran "python setup.py build"
3.

What is the expected output? What do you see instead?

Everything else are warnings , here is the last few lines that the error occurs 
at

C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\link.exe /DLL /nologo 
/INCREMENTAL:NO "/LIBPATH:C:\Program Files\Microsoft SDKs\\Windows\\v6.0A\Lib" 
/LIBPATH:C:\Python32\libs /LIBPATH:C:\Python32\PCbuild WS2_32.lib Irprops.lib 
/EXPORT:PyInit__msbt build\temp.win32-3.2\Release\msbt\_msbt.obj 
/OUT:build\lib.win32-3.2\bluetooth\_msbt.pyd 
/IMPLIB:build\temp.win32-3.2\Release\msbt\_msbt.lib 
/MANIFESTFILE:build\temp.win32-3.2\Release\msbt\_msbt.pyd.manifest
LINK : error LNK2001: unresolved external symbol PyInit__msbt
build\temp.win32-3.2\Release\msbt\_msbt.lib : fatal error LNK1120: 1 unresolved 
externals

What version of the product are you using? On what operating system?
Windows 7 32 bit
Python 3.2(32 bit) 
MSVC C++ 2008 SP1

Please provide any additional information below.

Trying to get the package working on python 3
So far everything has been relatively easy but this error message is leaving 
out specific details I need
the problem is with the reference PyInit__msbt, Any Idea what to do here ?

Any information will be appreciated 

Full log is attached if you need a look

So close for this to work :-)

Original issue reported on code.google.com by evanokee...@gmail.com on 15 Sep 2012 at 9:53

Attachments:

GoogleCodeExporter commented 8 years ago
Python 3 c-api has changed: http://docs.python.org/release/3.0.1/c-api/
Fix(python 3 port) is already in repo.

Original comment by karu...@wp.pl on 15 Jan 2014 at 10:48