AcademySoftwareFoundation / openfx

OpenFX effects API
Other
393 stars 119 forks source link

Conan & cmake build fails on second build on Windows #137

Closed garyo closed 5 months ago

garyo commented 6 months ago

Problem

Using the build.sh script, or building with conan and cmake, fails on Windows on the second build due to a bug in Conan. This is now fixed for the next v2 conan release; see https://github.com/conan-io/conan/pull/15215

This issue is to track that bugfix and when it is released, update the CI builds and docs to reflect the need for that conan version.

garyo commented 6 months ago

Nice: CMake is also going to fix this on their end, by ignoring a blank architecture and toolset from conan: https://gitlab.kitware.com/cmake/cmake/-/commit/0654051dde88dfb8e374ac7e53bfc46c574b0169 That fix should be in cmake 3.29.0.

garyo commented 5 months ago

I've tested this and it's now working with conan 2.0.13 and cmake 3.28 (and even with cmake 3.26.4, as long as you use conan 2.0.13).