-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Building CachedResolver for Nuke 15.1v3 on Windows #19
Comments
I did investigate a bit more : My modified CmakeLists.txt file :
and I added :
My build.bat :
When doing the build I get this error :
|
Still trying : Re-did the build. Now it fails with :
|
I managed to build the CachedResolver, however I did not yet test it in Nuke 15.1v3 (will do tomorrow I hope) Here's my modifications to the CMakeLists.txt :
and after line
My build.bat :
However : the build first failed because of some missing files. To make it work I copied over some files and dirs from Maya's USD devkit over to the C:\Program Files\Nuke15.1v3\FnUSD directory, specifically : This is from Maya latest usd devkit, so I anticipate problems because it will probably not be the same usd version as the one in Nuke, but anyway I'll try. If it doesn't work I'll try to download those 'tbb' libraries for the correct usd version Fingers crossed :-) Edit : I couldn't wait... It works : I can confirm the CachedResolver works in Nuke 15.1v3... A-ma-zing ! |
Hey, sorry for the late reply. |
Hi @LucaScheller
EDIT : sorry for all the messages, it's a bit of noise : Long story short, I managed to build the CachedResolver for Nuke, please see the last message : #19 (comment)
I'm trying to build the CachedResolver for Nuke 15.1v3 on Windows. I tried modifying the CMakeLists.txt, but I feel like I'm playing a escape game :-)
Nuke 15.1v3 is using Python 3.10.10 [MSC v.1935 64 bit (AMD64)], Boost 1.80.0, USD 0.23.11 and is build with Visual Studio 2019
In Nuke's program folder there's a subfolder /FnUSD/ which contains most of the necessary files (I think)
Boost include files are missing from the program, but I could download it from https://thefoundry.s3.amazonaws.com/products/nuke/developers/151/wins/boost.tar.gz (see page https://www.foundry.com/products/nuke-family/developers)
One thing I noticed is that in the program folder of Nuke, there's a file named : foundryboost_python310-vc143-mt-x64-1_80.dll, but in the downloaded Boost files, the files are named 'boost' and not 'foundryboost'. Not sure this is relevant but it might be. I set the variable AR_BOOST_NAMESPACE to 'boost'
I added these lines to the CMakeLists.txt file :
I then run the bat file modified like this:
When running the line :
cmake --build build --clean-first --config Release
I get errors :
The file:
C:\Users\toto\VFX-UsdAssetResolver\nuke\boost\include\boost-1_80\boost\python\detail\wrap_python.hpp
exists on disk and has the same contents as the same file in Maya's USD devkit (0.29.0)I hope you could point out what needs to be fixed
Regards
The text was updated successfully, but these errors were encountered: