-
Notifications
You must be signed in to change notification settings - Fork 130
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
[Bug]: Windows 11, Build failed on PySide2 Compilations #353
Comments
so, I tried to compile the Python3 deps using this command `alson@Alson-ASUS MINGW64 /d/Projects/VS/OpenRV Run Build Command(s): "C:/Program Files/Microsoft Visual Studio/2022/Community/MSBuild/Current/Bin/amd64/MSBuild.exe" cmake/dependencies/RV_DEPS_PYTHON3.vcxproj /p:Configuration=Release /p:Platform=x64 /p:VisualStudioVersion=17.0 /m:12 /v:n
Build succeeded. Time Elapsed 00:00:01.28 |
I tried compiling the RV_DEPS_PYTHON3 project manually and still get the issue from pyside 2 "D:\Projects\VS\OpenRV\_build\cmake\dependencies\RV_DEPS_PYTHON3-stage-target.vcxproj" (default target) (1) ->
(CustomBuild target) ->
CUSTOMBUILD : ignored error : [D:\Projects\VS\OpenRV\_build\cmake\dependencies\RV_DEPS_PYTHON3-stage-target.vcxproj]
D:\Projects\VS\OpenRV\_build\_deps\rv_deps_pyside2-src\pyside3_build\py3.10-qt5.15.2-64bit-release\pyside2\PySide2\QtDataVisualization\PySide2\QtDataVisualization\
qtdatavisualization_qheightmapsurfacedataproxy_wrapper.cpp : fatal error C1083: Cannot open compiler generated file: '': Invalid argument [D:\Projects\VS\OpenRV\_bui
ld\cmake\dependencies\RV_DEPS_PYTHON3-stage-target.vcxproj]
CUSTOMBUILD : error : Error compiling pyside2 [D:\Projects\VS\OpenRV\_build\cmake\dependencies\RV_DEPS_PYTHON3-stage-target.vcxproj]
C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(254,5): error MSB8066: Custom build for 'D:\Projects\
VS\OpenRV\_build\CMakeFiles\2e4c5a476537ee1709252e07cd9955e6\RV_DEPS_PYSIDE2-build-flag.rule;D:\Projects\VS\OpenRV\_build\CMakeFiles\6c6c892cb34ac7c4a4b334a35febdacf
\python310.dll.rule;D:\Projects\VS\OpenRV\_build\CMakeFiles\81efeb73ca415b97ff0a28f897c29732\RV_DEPS_PYTHON3-stage-target.rule' exited with code 1. [D:\Projects\VS\O
penRV\_build\cmake\dependencies\RV_DEPS_PYTHON3-stage-target.vcxproj]
|
Hi @AlsonEntuna |
@ZhongLingXiao here's the link: #355 |
I am still encountering this issue. When I execute the After install dependency using pacman:
my python version is This might be an issue, so I will ask about it in the Issues section. Thank you for your help. |
have you solver this error , i have the same error |
What happened?
So I followed the steps in compiling for Windows but I came across 4 errors which somehow is related to pyside2
List all the operating systems versions where this is happening
Windows 11
On what computer hardware is this happening?
Windows 11, 64bit
VS2022 & VS2019 (tried both compiling)
Relevant console log output
Environment variables
No response
Extra information
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: