-
Notifications
You must be signed in to change notification settings - Fork 477
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
pbrt-v4 build on windows 10 cmake generation requires target "zlibstatic" that is not in any export set. #467
Comments
Seems a issue due the latest updates of the Ptex version. I solved here, building the included zlib code and placing into a folder that I added to the system path. After this, find_package(zlib) found and use this pre-build lib and solved the issue |
Same issue here, has it been merged into the main branch? or is the PR still waiting? |
hello! Same issue here, Can you teach me what you have done to fix this in detail. |
I uses a script file for CMake and MSVC under Windows. |
Thanks you a lot! that works for me. |
Hello! I have a question. Should I run the file you uploaded inside the pbrt-v4 folder or should I run it somewhere else? |
I have placed in the pbrt-v4 folder |
Then, is there anything else I need to do after the execution of the file you gave me? |
The file is only an example about how I build here Zlib static. You need to edit and introduce your specific paths for the code, the utilities( Cmake, Msvc, CUDA, etc,,) one time the script is sucessful executed and Pbrt compiled, you have the binary files into the build/pbrt4deploy folder |
I see. Thank you so much for your kind explanation!! |
I tried to build pbrt-v4 on windows by following the build instructions. However, when trying to generate (in cmake GUI) with visual studio 2022 and x64 I get the following (although I cloned recursively with the submodules):
The text was updated successfully, but these errors were encountered: