Skip to content
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

Errors building for Houdini 20.5.278 (Py3.11) on Windows #13

Closed
dovanbel opened this issue Jul 25, 2024 · 4 comments
Closed

Errors building for Houdini 20.5.278 (Py3.11) on Windows #13

dovanbel opened this issue Jul 25, 2024 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@dovanbel
Copy link

Hi,

I'm trying to build the cached resolver using the batch file on Windows.

In the bat file, I specified the correct path for Houdini 20.5.278. I also changed this line
cmake . -B build -G "Visual Studio 16 2019" -A x64 -T v142
to
cmake . -B build -G "Visual Studio 17 2022" -A x64
Because the 20.5.278 version is built with v143 tools

I had other errors, so I also changed the contexts of the CMakeLists.txt file, changing every occurrence of Python3.10 to Python3.11, as this is the version of Python used in Houdini 20.5.278

I still get errors when launching the build, I'm attaching the error log
error.log

Unfortunately I don't know C++, so I hope @LucaScheller that you will have some time to look into this :-)

Regards

@LucaScheller
Copy link
Owner

LucaScheller commented Jul 28, 2024

Hey,
the error came from the c++ standard not being set in the CMake file.
I've updated it (by setting set(CMAKE_CXX_STANDARD 17)) and also updated the automatic build configuration to run on VS 2022.

So now we have automatic builds for H20.5 on Windows and Linux again, see Release v0.7.1 :)
Let me know if that fixes your problem (I didn't test the actual build result on Windows)!
Cheers,
Luca

@dovanbel
Copy link
Author

Hi @LucaScheller,

Thanks a zillion times 👍

I tried building 0.7.1 on my windows machine and got no errors. I downloaded the binaries and started testing it. It loads in Houdini 20.5.278, I can see that the default resolver is being set to the CachedResolver. I have not tested yet if it actually works (have some unrelated bugs in the new version of Arnold to solve first). I'll report back if there are any issues.

Thanks again

@dovanbel
Copy link
Author

Hi,
I confirm the CachedResolver 0.7.1 works in Houdini 20.5.278 on Windows

@LucaScheller
Copy link
Owner

Great, glad to help! I'll close this issue then :)

@LucaScheller LucaScheller self-assigned this Jul 29, 2024
@LucaScheller LucaScheller added the enhancement New feature or request label Jul 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants