Open BlackSkill88 opened 2 years ago
i think there is problem with compiling the package via pip on windows 10, even with the most recent c++ compile tools. Hope it can be fix soon.
I just ran into the same problem. @BlackSkill88 could you figure out a way around it?
When I install the module with pip i get the following error (i installed the sdk):
ERROR: Command errored out with exit status 1: command: 'c:\users\unknown\appdata\local\programs\python\python36\python.exe' 'c:\users\unknown\appdata\local\programs\python\python36\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py' build_wheel 'C:\Users\Unknown\AppData\Local\Temp\tmpayc59r2d' cwd: C:\Users\Unknown\AppData\Local\Temp\pip-install-sk08jz_p\pysimplendi_a2ee4b97f00f49e88e3ab5c4d4f175cf Complete output (48 lines): C:\Program Files\NDI\NDI 5 SDK C:/Program Files/NDI/NDI 5 SDK/Lib/x86 running bdist_wheel running build running build_ext building 'pysimplendi' extension creating build creating build\temp.win-amd64-3.6 creating build\temp.win-amd64-3.6\Release creating build\temp.win-amd64-3.6\Release\src C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.30.30705\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -DVERSION_INFO=0.1.3 -Ilibs/include -IC:\Users\Unknown\AppData\Local\Temp\pip-build-env-8bon6eu2\overlay\Lib\site-packages\pybind11\include -Ic:\users\unknown\appdata\local\programs\python\python36\include -Ic:\users\unknown\appdata\local\programs\python\python36\include "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.30.30705\ATLMFC\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.30.30705\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0\\shared" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0\\um" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0\\winrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0\\cppwinrt" /EHsc /Tpsrc\NDIReceiver.cpp /Fobuild\temp.win-amd64-3.6\Release\src\NDIReceiver.obj /std:c++latest /EHsc /bigobj NDIReceiver.cpp src\NDIReceiver.cpp(56): warning C4101: "oor": Unreferenzierte lokale Variable C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.30.30705\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -DVERSION_INFO=0.1.3 -Ilibs/include -IC:\Users\Unknown\AppData\Local\Temp\pip-build-env-8bon6eu2\overlay\Lib\site-packages\pybind11\include -Ic:\users\unknown\appdata\local\programs\python\python36\include -Ic:\users\unknown\appdata\local\programs\python\python36\include "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.30.30705\ATLMFC\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.30.30705\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0\\shared" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0\\um" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0\\winrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0\\cppwinrt" /EHsc /Tpsrc\NDISender.cpp /Fobuild\temp.win-amd64-3.6\Release\src\NDISender.obj /std:c++latest /EHsc /bigobj NDISender.cpp src\NDISender.cpp(46): warning C4244: "Argument": Konvertierung von "const _Ty" in "int", m”glicher Datenverlust with [ _Ty=pybind11::ssize_t ] src\NDISender.cpp(46): warning C4244: "Argument": Konvertierung von "const _Ty" in "int", m”glicher Datenverlust with [ _Ty=pybind11::ssize_t ] C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.30.30705\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -DVERSION_INFO=0.1.3 -Ilibs/include -IC:\Users\Unknown\AppData\Local\Temp\pip-build-env-8bon6eu2\overlay\Lib\site-packages\pybind11\include -Ic:\users\unknown\appdata\local\programs\python\python36\include -Ic:\users\unknown\appdata\local\programs\python\python36\include "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.30.30705\ATLMFC\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.30.30705\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0\\shared" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0\\um" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0\\winrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0\\cppwinrt" /EHsc /Tpsrc\main.cpp /Fobuild\temp.win-amd64-3.6\Release\src\main.obj /std:c++latest /EHsc /bigobj main.cpp creating C:\Users\Unknown\AppData\Local\Temp\pip-install-sk08jz_p\pysimplendi_a2ee4b97f00f49e88e3ab5c4d4f175cf\build\lib.win-amd64-3.6 C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.30.30705\bin\HostX86\x64\link.exe /nologo /INCREMENTAL:NO /LTCG /DLL /MANIFEST:EMBED,ID=2 /MANIFESTUAC:NO "/LIBPATH:C:/Program Files/NDI/NDI 5 SDK/Lib/x86" /LIBPATH:c:\users\unknown\appdata\local\programs\python\python36\libs /LIBPATH:c:\users\unknown\appdata\local\programs\python\python36\PCbuild\amd64 "/LIBPATH:C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.30.30705\ATLMFC\lib\x64" "/LIBPATH:C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.30.30705\lib\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\lib\um\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.19041.0\ucrt\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\\lib\10.0.19041.0\\um\x64" Processing.NDI.Lib.x86.lib /EXPORT:PyInit_pysimplendi build\temp.win-amd64-3.6\Release\src\NDIReceiver.obj build\temp.win-amd64-3.6\Release\src\NDISender.obj build\temp.win-amd64-3.6\Release\src\main.obj /OUT:build\lib.win-amd64-3.6\pysimplendi.cp36-win_amd64.pyd /IMPLIB:build\temp.win-amd64-3.6\Release\src\pysimplendi.cp36-win_amd64.lib Bibliothek "build\temp.win-amd64-3.6\Release\src\pysimplendi.cp36-win_amd64.lib" und Objekt "build\temp.win-amd64-3.6\Release\src\pysimplendi.cp36-win_amd64.exp" werden erstellt. NDIReceiver.obj : error LNK2001: Nicht aufgel”stes externes Symbol "__imp_NDIlib_find_destroy". NDIReceiver.obj : error LNK2001: Nicht aufgel”stes externes Symbol "__imp_NDIlib_recv_set_tally". NDIReceiver.obj : error LNK2001: Nicht aufgel”stes externes Symbol "__imp_NDIlib_find_get_current_sources". NDIReceiver.obj : error LNK2001: Nicht aufgel”stes externes Symbol "__imp_NDIlib_recv_free_audio_v2". NDIReceiver.obj : error LNK2001: Nicht aufgel”stes externes Symbol "__imp_NDIlib_find_wait_for_sources". NDIReceiver.obj : error LNK2001: Nicht aufgel”stes externes Symbol "__imp_NDIlib_recv_capture_v2". NDIReceiver.obj : error LNK2001: Nicht aufgel”stes externes Symbol "__imp_NDIlib_recv_free_video_v2". NDIReceiver.obj : error LNK2001: Nicht aufgel”stes externes Symbol "__imp_NDIlib_find_create_v2". NDIReceiver.obj : error LNK2001: Nicht aufgel”stes externes Symbol "__imp_NDIlib_initialize". NDIReceiver.obj : error LNK2001: Nicht aufgel”stes externes Symbol "__imp_NDIlib_recv_create_v3". NDIReceiver.obj : error LNK2001: Nicht aufgel”stes externes Symbol "__imp_NDIlib_recv_free_metadata". NDIReceiver.obj : error LNK2001: Nicht aufgel”stes externes Symbol "__imp_NDIlib_recv_send_metadata". NDISender.obj : error LNK2001: Nicht aufgel”stes externes Symbol "__imp_NDIlib_send_destroy". NDISender.obj : error LNK2001: Nicht aufgel”stes externes Symbol "__imp_NDIlib_send_create". NDISender.obj : error LNK2001: Nicht aufgel”stes externes Symbol "__imp_NDIlib_destroy". NDISender.obj : error LNK2001: Nicht aufgel”stes externes Symbol "__imp_NDIlib_send_send_video_async_v2". build\lib.win-amd64-3.6\pysimplendi.cp36-win_amd64.pyd : fatal error LNK1120: 16 nicht aufgel”ste Externe error: command 'C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.30.30705\\bin\\HostX86\\x64\\link.exe' failed with exit status 1120