aws / thinkbox-krakatoa

Apache License 2.0
78 stars 14 forks source link

Build krakatoaSR on ubuntu Error accur. #2

Open EricQingYi opened 1 year ago

EricQingYi commented 1 year ago

1690176208784 When i execute "python3 build.py" in root dir of kraktoaSR, this error accur:
"openimageio/2.3.7.2: CMake Error at conanbuildinfo.cmake:1738 (message): Detected a mismatch for the compiler version between your conan profile settings and CMake: Compiler version specified in your conan profile: 7 Compiler version detected in CMake: 11.3"

here is my conan profile in ~/.conan/profiles/default:
1 [settings] 2 os=Linux 3 os_build=Linux 4 arch=x86_64 5 arch_build=x86_64 6 compiler=gcc 7 compiler.version=11 8 compiler.libcxx=libstdc++11 9 build_type=Release 10 [options] 11 [build_requires] 12 [env]

It seem like conan fail to install "openimageio";
I'm new to use conan, this is my conan packages i installed:
1690176489318

so how can i fix it? thx.

jle512 commented 4 months ago

I didn't have this issue with thinkboxcmlibrary, thinkboxlibrary, and Krakatoa, but I had this issue with KrakatoaSR. I ended up going to the build.py file in the KrakatoaSR directory. Since you are on Linux, look for the following section in build.py

LINUX_PACKAGER_ARGS: dict[str, Any] = { 'gcc_versions': ['7'] }

and change the gcc_versions to match whatever compiler in your profile which appears to be 11