godotengine / FBX2glTF

A command-line tool for the conversion of 3D model assets on the FBX file format to the glTF file format.
Other
311 stars 73 forks source link

Conan 2.0 no longer supports cmake_ paths,how can I build correctly? #32

Closed Cauchy-99 closed 1 year ago

Cauchy-99 commented 1 year ago

In the conanfile.py file: generators="cmake_find_package", "cmake_paths". when i run >conan install . -build-folder=build_debug --build=missing I got : ERROR: Invalid generator 'cmake_paths'. Available types: CMakeToolchain, CMakeDeps, MesonToolchain, MSBuildDeps, MSBuildToolchain, NMakeToolchain, NMakeDeps, VCVars, QbsProfile, VirtualRunEnv, VirtualBuildEnv, AutotoolsDeps, AutotoolsToolchain, PkgConfigDeps, BazelDeps, BazelToolchain, IntelCC, XcodeDeps, XcodeToolchain, PremakeDeps

I tried other values of generators, such as:"CMakeDeps", "CMakeToolchain"... The install command is successful, but _conanpaths.cmake is not produced !!! When I compile, I always an error: The Conan package manager must run (install) first. Example usage: mkdir -p build_debug conan install . -i build_debug -s build_type=Debug -e FBXSDK_SDKS=/home/zell/FBXSDK conan build . -bf build_debug

fire commented 1 year ago

Try pip install --upgrade conan==1.54

Cauchy-99 commented 1 year ago

thank you!!!