horta/zlib.install

install issues

Closed this issue · 2 comments

Hey horta,

Yeah, this is the one I'm using. Still getting:

F:\Python\zlib.install-master\zlib.install-master>install
[0/5] Library(zlib==1.2.11)
[1/5] Downloading... done.
[2/5] Extracting... done.
[3/5] Fixing CMakeLists.txt... The system cannot find the batch label specified - search_replace
done.
[4/5] Configuring... FAILED.
Fetching https://zlib.net/zlib1211.zip
Downloading https://zlib.net/zlib1211.zip... done.
-- Building for: NMake Makefiles
CMake Error at CMakeLists.txt:4 (project):
Generator

NMake Makefiles

does not support platform specification, but platform

x64

was specified.

CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!
See also "F:/Python/zlib.install-master/zlib.install-master/zlib-1.2.11/build/CMakeFiles/CMakeOutput.log".

F:\Python\zlib.install-master\zlib.install-master>

Thanks for getting back to me :)

horta commented

I will get back to you again tonight or tomorrow. I need to debug on windows. If you don't want to wait, you can try editting the file install.bat you have and remove the bit -DCMAKE_GENERATOR_PLATFORM=%ARCH%
It might solve the problem for your case...

Thanks horta! No rush, your suggestion worked great. Everything seems to be working as it should.