coin3d / pivy

python bindings to coin3d
ISC License
53 stars 37 forks source link

Qt6 / Pyside6 #108

Closed looooo closed 7 months ago

looooo commented 8 months ago

unix qt6: conda solver issue

         raise ValueError(
2023-11-21T18:23:12.2157472Z     ValueError: Incompatible component merge:
2023-11-21T18:23:12.2157924Z       - '*mpich*'
2023-11-21T18:23:12.2158307Z       - 'mpi_mpich_*'

win qt6: solver not able to resolve dependencies.

@conda-forge/core can you have a look at this? Are these known issues?

looooo commented 8 months ago

@conda-forge/core any ideas how to update visual-studio?

fatal error C1189: #error:  "Qt requires at least Visual Studio 2019 version 16.7 (VC++ version 14.27). Please upgrade."
hmaarrfk commented 8 months ago

maybe this can help: https://github.com/marketplace/actions/setup-msbuild

oursland commented 7 months ago

@conda-forge/core any ideas how to update visual-studio?

fatal error C1189: #error:  "Qt requires at least Visual Studio 2019 version 16.7 (VC++ version 14.27). Please upgrade."

The issue is that the conda packages for newer compilers have not been installed. See here where it identifies that vs2017_win-64 is installed. The metapackage compilers will bring in vs2019, the current standard for conda builds on Windows.

Eventually the compilers package is to be upgraded to vs2022 and support both x86-64 and arm64 builds.

oursland commented 7 months ago

~Looks like another issue now, with the command interpreter failing due to some input line too long.~

~To get conda environments to work on Windows runners I have had to specify the shell as cmd /C CALL {0} as shown here.~

I forked it and got it working by removing {{ compiler("cxx") }} macro and replacing it with compilers package for all platforms: https://github.com/oursland/pivy/commit/f052a51dfbca0bb06267fdf6a89b5e7014306c10