Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compile copus on win32 #3

Open
acccounttest opened this issue Sep 17, 2014 · 2 comments
Open

compile copus on win32 #3

acccounttest opened this issue Sep 17, 2014 · 2 comments

Comments

@acccounttest
Copy link

Hello i try to compile under w7 32, i had some trouble but continue until i reach this code, i well extracted the opus content so compiler found file missing but always get block with this piece of code, i can't figure out where is the file missing, i tried too the 1.1 from original author website without success.(explanations in the end)

C:\Users\user\Desktop\pymumble\pyopus\copus>python setup.py install
running install
running build
running build_ext
skipping 'copus.c' Cython extension (up-to-date)
building 'copus' extension
C:\Program Files\Microsoft Visual Studio 13.0\VC\BIN\cl.exe /c /nologo /Ox /MD /
W3 /GS- /DNDEBUG -Ic:\python27\include -Ic:\python27\PC /Tccopus.c /Fobuild\temp
.win32-2.7\Release\copus.obj
copus.c
c:\python27\include\pymath.h(22) : warning C4273: 'round' : liaison DLL incohére
nte
C:\Program Files\Microsoft Visual Studio 13.0\VC\INCLUDE\math.h(516) : v
oir la définition précédente de 'round'
creating build\lib.win32-2.7
C:\Program Files\Microsoft Visual Studio 13.0\VC\BIN\link.exe /DLL /nologo /INCR
EMENTAL:NO /LIBPATH:c:\python27\libs /LIBPATH:c:\python27\PCbuild /EXPORT:initco
pus build\temp.win32-2.7\Release\copus.obj opus-1.1/.libs/libopus.a /OUT:build\l
ib.win32-2.7\copus.pyd /IMPLIB:build\temp.win32-2.7\Release\copus.lib /MANIFESTF
ILE:build\temp.win32-2.7\Release\copus.pyd.manifest
LINK : fatal error LNK1181: impossible d'ouvrir le fichier en entrée 'opus-1.1/.
libs/libopus.a'
error: command '"C:\Program Files\Microsoft Visual Studio 13.0\VC\BIN\link.exe"'
failed with exit status 1181

u can read at the end: impossible to open the file opus-1.1/.libs/libopus.a

i don't have the folder named .libs
i dont find where are created libopus.a or .libs
thanx in advance

@acccounttest
Copy link
Author

And my list of libs installed since i begun to compile the required lib missing using pymumble in a little bloc of code easily understood:

cffi (0.8.6)
characteristic (14.1.0)
chardet (2.1.1)
comtypes (0.6.2)
cryptography (0.5.4)
cython (0.21)
google-api-python-client
httplib2 (0.9)
pip (1.5.6)
procname (0.3)
protobuf (2.6.0)
py2exe (0.6.9)
pyasn1 (0.1.7)
pyasn1-modules (0.0.5)
pycparser (2.10)
pylzma (0.4.4)
pyopenssl (0.14)
pyprotobuf (0.8)
pywin32 (218)
selenium (2.43.0)
service-identity (14.0.0
setuptools (3.0dev)
six (1.8.0)
twisted (14.0.0)
zope.interface (4.1.1)

@Robert904
Copy link
Owner

Hi
I don't have access to visual studio, I did all my developments on mingw...
The script assume the location and the name where the resulting opus static library is created but it might be different on vc...
Do you find somewhere else this file? With vc, it might have a different file extension...

For the libs, I can imagine some of them were preinstalled on my system but at least for some of them I seriously doubt they are required by pymumble...(twisted for instance is clearly not used...)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants