-
-
Save horta/18a6bda81f254d6a9f8f61e82101b66b to your computer and use it in GitHub Desktop.
:: Attention! | |
:: Please, refer to the https://github.com/horta/zlib.install repository | |
:: for an up-to-date version of this installer. |
Thanks for creating this batch file. Was quite helpful to me today.
Thanks @samsantiago You might be interested in this link: https://github.com/horta/zlib.install
That's where I've been maintaining this installed more up-to-date.
@Omid-Asadi Just saw your comment. Sorry for not getting back to you sooner. If you still need the installer, that above link might sort out the problem: the zlib should be installed in your ProgramFiles folder.
Hello @horta, thanks for your work to help make this installation easier. While I'm not new to computers, I am newer to this type of stuff. I'm installing this for use with a python script for RealTerrain by MarcoPolo to make a 3D terrain model and get this error:
Traceback (most recent call last):
File "real-terrain.py", line 11, in
from PIL import Image
ModuleNotFoundError: No module named 'PIL'
So I figured out I need to install an imaging library and stumbled across this. I clearly don't have everything set up properly. I think I added everything I need to windows PATH and got cmake installed, but it seems I'm still getting errors:
Fetching https://zlib.net/zlib1211.zip
Downloading https://zlib.net/zlib1211.zip... Exception calling "DownloadFile" with "2" argument(s): "An exception occurred during a WebClient request."
At line:10 char:1
- (New-Object Net.WebClient).DownloadFile('https://zlib.net/zlib1211.zi ...
-
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException + FullyQualifiedErrorId : WebException
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-1.2.11/build/CMakeFiles/CMakeOutput.log".
Any help would be greatly appreciated.
Thanks for your time!
Hi @sgtpeppr778
You welcome =) I suggest you to try this repository: https://github.com/horta/zlib.install where I maintain an up-to-date version of this zlib installer.
It should work. If it doesn't, please, let me know!
Hi @sgtpeppr778
You welcome =) I suggest you to try this repository: https://github.com/horta/zlib.install where I maintain an up-to-date version of this zlib installer.
It should work. If it doesn't, please, let me know!
Thanks @horta!! Saved me a headache!
Hello @horta. I have a problem. When I try using https://github.com/horta/zlib.install I get error MSB1009: Project file does not exist. Which compiler should I use in Windows 10? Please, help
Do you have Visual studio? Try opening a develop prompt of visual studo and running it from there.
Thank you @horta for creating this batch file. It was very helpful and saved a lot of my time.
Dear, I have done alle the process but I can't find the software Zlib...
I don't have in the register and when i go to th location and I open the application in the folder.
I have a message : not compatible with your version of windows 64 bits
Can you help me?
It won't change your register: it just compile and copy the files into PROGRAMFILES folder. I would need to log file and the output from when you ran the installation script: https://github.com/horta/zlib.install
@horta I'm sorry to bother but this thing is giving me a huge headache... I follow all the steps, install VisualStudio and Cmake but when I open the command prompt and run the code it outputs: '"powershell" not recognized as internal or external command....'
what am I doing wrong? Thanks so much for your help!
Make sure you have powershell installed: https://docs.microsoft.com/en-us/powershell/scripting/install/installing-powershell-core-on-windows?view=powershell-7.1
@horta Thanks, unfortunately I had it already. I tried to uninstall it and install it back again but it still outputs the same stuff, I don't really know how to proceed...
the exact error message is:
powershell: The term 'powershell' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
./install_zlib.bat: The term './install_zlib.bat' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
Remove-Item: Cannot find path 'C:\Users\artur\install_zlib.bat' because it does not exist.
Hi
I execute this bat and a folder has been downloaded in the same directory... what should I do with the folder?