-
Notifications
You must be signed in to change notification settings - Fork 495
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!! |
Hopefully this has been fixed with f5767b3 from @he-yulong |
I am not sure if the issues are related to this PR or not. but I am getting more errors related to ZLIB: -- Including Win32 support CMake Error at C:/Users/Ali/BinApp/Cmake/share/cmake-3.28/Modules/FindPackageHandleStandardArgs.cmake:230 (message): Call Stack (most recent call first): -- Configuring incomplete, errors occurred! |
@Haiderahandali hmm I have the same exact errors, did you found out what the problem was? |
@Haiderahandali @satrya070 Same results. It seems this new failure occurs after this commit: 23593dc on #482, which switched a new branch for OpenEXR. |
@he-yulong thanks, this seems to be the case. Building the version before that works fine for me at least. |
Hi, thanks for your cmd file. it can solve the zlib and openexr problem. But I will face a nvcc compile error. |
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: