-
Notifications
You must be signed in to change notification settings - Fork 23
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
Setup #20
Comments
|
Can you explain what exactly you did to get it working? |
If I remember correctly the first step was to fix some print functions that were incompatible with my python version and then just what I described above. What kind of problems are you having? |
Where exactly did you put the dll? I get the error dll not found when running example script: DLL load failed while importing cameras |
I put it directly into the directory of the installed python script but you usually can also put it into the system32 folder.
|
I simply cant get past the setup.py
-Running Windows11
-Python 3.11.4
-also tried python3.8
C:\Users\Luziv\Documents\Running_Projects\4D_Capture\Pseye\pseyepy>python setup.py install
C:\Users\Luziv\Documents\Running_Projects\4D_Capture\Pseye\pseyepy\setup.py:48: UserWarning: Setup params not yet fully tested for Windows.
warnings.warn('Setup params not yet fully tested for Windows.')
Compiling pseyepy/cameras.pyx because it changed.
[1/1] Cythonizing pseyepy/cameras.pyx
C:\Users\Luziv\anaconda3\Lib\site-packages\Cython\Compiler\Main.py:381: FutureWarning: Cython directive 'language_level' not set, using '3str' for now (Py3). This has changed from earlier releases! File: C:\Users\Luziv\Documents\Running_Projects\4D_Capture\Pseye\pseyepy\pseyepy\cameras.pyx
tree = Parsing.p_module(s, pxd, full_module_name)
C:\Users\Luziv\anaconda3\Lib\site-packages\setuptools_distutils\cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.
!!
!!
self.initialize_options()
C:\Users\Luziv\anaconda3\Lib\site-packages\setuptools_distutils\cmd.py:66: EasyInstallDeprecationWarning: easy_install command is deprecated.
!!
!!
self.initialize_options()
cl : Command line warning D9002 : ignoring unknown option '-std=c++11'
cameras.cpp
C:\Users\Luziv\Documents\Running_Projects\4D_Capture\Pseye\pseyepy\pseyepy\src\ps3eye.h(20): fatal error C1083: Cannot open include file: 'libusb-1.0/libusb.h': No such file or directory
error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\cl.exe' failed with exit code 2
C:\Users\Luziv\Documents\Running_Projects\4D_Capture\Pseye\pseyepy>python setup.py install
C:\Users\Luziv\Documents\Running_Projects\4D_Capture\Pseye\pseyepy\setup.py:48: UserWarning: Setup params not yet fully tested for Windows.
warnings.warn('Setup params not yet fully tested for Windows.')
C:\Users\Luziv\anaconda3\Lib\site-packages\setuptools_distutils\cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.
!!
!!
self.initialize_options()
C:\Users\Luziv\anaconda3\Lib\site-packages\setuptools_distutils\cmd.py:66: EasyInstallDeprecationWarning: easy_install command is deprecated.
!!
!!
self.initialize_options()
cl : Command line warning D9002 : ignoring unknown option '-std=c++11'
cameras.cpp
pseyepy/cameras.cpp(17207): warning C4551: function call missing argument list
cl : Command line warning D9002 : ignoring unknown option '-std=c++11'
ps3eye.cpp
cl : Command line warning D9002 : ignoring unknown option '-std=c++11'
ps3eye_capi.cpp
LINK : warning LNK4044: unrecognized option '/std=c++11'; ignored
Creating library build\temp.win-amd64-cpython-311\Release\pseyepy\cameras.cp311-win_amd64.lib and object build\temp.win-amd64-cpython-311\Release\pseyepy\cameras.cp311-win_amd64.exp
libusb-1.0.lib(core.obj) : error LNK2001: unresolved external symbol __imp__iob
libusb-1.0.lib(windows_winusb.obj) : error LNK2001: unresolved external symbol __imp_sprintf
libusb-1.0.lib(windows_winusb.obj) : error LNK2001: unresolved external symbol __imp_sscanf
build\lib.win-amd64-cpython-311\pseyepy\cameras.cp311-win_amd64.pyd : fatal error LNK1120: 3 unresolved externals
error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\link.exe' failed with exit code 1120
The text was updated successfully, but these errors were encountered: