Closed disini closed 1 year ago
Likely, the different versions of miniz
in tinyexr
and assimp
caused the compilation error. I'll see if there's any way to resolve it.
Likely, the different versions of
miniz
intinyexr
andassimp
caused the compilation error. I'll see if there's any way to resolve it.
Thanks so much!
Hi, @disini
I have updated the build process. LuisaRender will now try to find zlib
on your system before building minizip
for both assimp
and tinyexr
. Hopefully, this will resolve the conflict.
Hi, @disini
I have updated the build process. LuisaRender will now try to find
zlib
on your system before buildingminizip
for bothassimp
andtinyexr
. Hopefully, this will resolve the conflict.
Hi @Mike-Leo-Smith , Thanks so much for your great job, now it can be compiled perfectly with the very original files cloned from the server, I don't need to change anything, that's awesome! Thank you!
Hi, @disini I have updated the build process. LuisaRender will now try to find
zlib
on your system before buildingminizip
for bothassimp
andtinyexr
. Hopefully, this will resolve the conflict.Hi @Mike-Leo-Smith , Thanks so much for your great job, now it can be compiled perfectly with the very original files cloned from the server, I don't need to change anything, that's awesome! Thank you!
Wonderful to hear that! Thank you!
Hello,
there is another error when I execute the make command,
ZipArchiveIOSystem.cpp:99:12: error: ‘voidpf’ does not name a type; did you mean ‘void’?
I searched the ‘voidpf’ in the whole directory and find it in
src/ext/tinyexr/deps/miniz/miniz.h,
So I added in the `ZipArchiveIOSystem.cpp:
#include <tinyexr/deps/miniz/miniz.h>
I tried to ignore that warning and execute make, the former error was gone but it shows:
it seems a conflict between two different versions of the MZ_VERSION macro in the "src/ext/tinyexr/deps/miniz/miniz.h" file and the system header file.
So I checked the ZipArchiveIOSystem.cpp again and comment the #include line I added. And I found the cause in
there's no minizip directory in the src directory and it subdirectories .
Should I download it myself or there's something wrong with my manipulation ? Thanks!