pablode / guc

glTF to USD converter with MaterialX support
Apache License 2.0
107 stars 6 forks source link

more detailed build instructions #25

Closed CraigLaMorte closed 7 months ago

CraigLaMorte commented 7 months ago

Do you happen to have more detailed instructions on how to build this for someone who has never used cmake? Unsure how to build it after cloning the repository.

CraigLaMorte commented 7 months ago

In the Cmake gui i tried setting the source as the root folder of the git repo i cloned and then set build to guc/build. It comes up with an error, not sure if im doing this right

CMake Error at CMakeLists.txt:18 (find_package): Could not find a package configuration file provided by "OpenImageIO" with any of the following names:

OpenImageIOConfig.cmake
openimageio-config.cmake
pablode commented 7 months ago

Hi! Did you check out the build instructions in the README?

It seems like you need to build USD with the --openimageio flag.

Alternatively, you can try out these prebuilt USD binaries (make sure your Python version matches): https://github.com/pablode/USD/releases/tag/v23.08-ci-release

CraigLaMorte commented 7 months ago

ohh thank you, that was it. Didn't realize i had to check that flag on when building USD. I was able to build guc successfully now thanks.