Author Topic: new install on new windows 10 machine can't find zlib1.dll  (Read 9799 times)

Offline jcraighead@fastmail.fm

  • Single posting newcomer
  • *
  • Posts: 8
new install on new windows 10 machine can't find zlib1.dll
« on: January 04, 2016, 01:11:09 am »
I tried downloading the dll and scattered a few copies around - no luck.
I tried uninstalling and reinstalling after obtaining (and copying) the dll - still no luck.
C::B starts, but will not load a .cbp file and goes into loop on error the message
(.cbp file from old installation on old machine).
Suggestions?

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: new install on new windows 10 machine can't find zlib1.dll
« Reply #1 on: January 04, 2016, 07:11:46 am »
What is the error message?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline jcraighead@fastmail.fm

  • Single posting newcomer
  • *
  • Posts: 8
Re: new install on new windows 10 machine can't find zlib1.dll
« Reply #2 on: January 04, 2016, 07:44:14 pm »
The message reads - The program can't start because zlib1.dll is missing from your computer. Try reinstalling the program to fix this problem.

Online stahta01

  • Lives here!
  • ****
  • Posts: 7589
    • My Best Post
Re: new install on new windows 10 machine can't find zlib1.dll
« Reply #3 on: January 04, 2016, 07:49:54 pm »
What installer did you use?

I am guessing that zlib1.dll needs added to the installer you used.

Tim S.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: new install on new windows 10 machine can't find zlib1.dll
« Reply #4 on: January 04, 2016, 07:58:11 pm »
The message reads - The program can't start because zlib1.dll is missing from your computer. Try reinstalling the program to fix this problem.
That is weird. There is no such dependency to zlib for code::blocks.

What exact version of Code::blocks do you have? Does t work with a (recent) nightly?
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline jcraighead@fastmail.fm

  • Single posting newcomer
  • *
  • Posts: 8
Re: new install on new windows 10 machine can't find zlib1.dll
« Reply #5 on: January 04, 2016, 07:59:37 pm »
I used the down load cb_20150604rev10320_win32_setup.zip

Online stahta01

  • Lives here!
  • ****
  • Posts: 7589
    • My Best Post
Re: new install on new windows 10 machine can't find zlib1.dll
« Reply #6 on: January 04, 2016, 08:06:38 pm »
Did you check the wxWidgets DLL for the issue?

The message reads - The program can't start because zlib1.dll is missing from your computer. Try reinstalling the program to fix this problem.
That is weird. There is no such dependency to zlib for code::blocks.

What exact version of Code::blocks do you have? Does t work with a (recent) nightly?
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline jcraighead@fastmail.fm

  • Single posting newcomer
  • *
  • Posts: 8
Re: new install on new windows 10 machine can't find zlib1.dll
« Reply #7 on: January 04, 2016, 08:06:53 pm »
Code::Blocks  svn build rev 10320 (2015-06-03 23:03:33) qcc 4.9.2 windows unicode - 32 bit

Offline jcraighead@fastmail.fm

  • Single posting newcomer
  • *
  • Posts: 8
Re: new install on new windows 10 machine can't find zlib1.dll
« Reply #8 on: January 04, 2016, 08:25:01 pm »
what is the wxWidgets DLL and how do I check it?

Online stahta01

  • Lives here!
  • ****
  • Posts: 7589
    • My Best Post
Re: new install on new windows 10 machine can't find zlib1.dll
« Reply #9 on: January 04, 2016, 08:31:26 pm »
Please read the first post on where you likely got the zip file from.

Tim S.

what is the wxWidgets DLL and how do I check it?

Get quick announcements through the RSS feed http://www.codeblocks.org/nightly/CodeBlock_RSS.xml

Before you use a nightly make sure you understand how it works.

A link to the unicode windows wxWidget dll for Code::Blocks : http://sourceforge.net/projects/codeblocks/files/Binaries/Nightlies/Prerequisites/wxmsw28u_gcc_cb_wx2812_gcc492-TDM.7z

For those who might need this one (when no MingW installed on your system) : the mingw10m.dll : http://sourceforge.net/projects/codeblocks/files/Binaries/Nightlies/Prerequisites/mingwm10_gcc492-TDM.7z

The 04 June 2015 build is out.
  - Windows :
   http://sourceforge.net/projects/codeblocks/files/Binaries/Nightlies/2015/CB_20150604_rev10320_win32.7z
  - Linux :
   none

The current SDK version is : 1.25.0

Resolved Fixed:

  • debugger: Fix reading uninitialized variables reported by valgrind (possible fix to a crash at exit)

Regressions/Confirmed/Annoying/Common bugs:


    C Programmer working to learn more about C++ and Git.
    On Windows 7 64 bit and Windows 10 64 bit.
    --
    When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

    Offline jcraighead@fastmail.fm

    • Single posting newcomer
    • *
    • Posts: 8
    Re: new install on new windows 10 machine can't find zlib1.dll
    « Reply #10 on: January 04, 2016, 08:36:38 pm »
    ??? what post from where?

    Online stahta01

    • Lives here!
    • ****
    • Posts: 7589
      • My Best Post
    Re: new install on new windows 10 machine can't find zlib1.dll
    « Reply #11 on: January 04, 2016, 08:51:29 pm »
    PLEASE READ MY POST!

    I quoted the post in it!!!

    Goodbye you are off my list of people to help till you post a good /smart question!

    Tim S.

    ??? what post from where?
    C Programmer working to learn more about C++ and Git.
    On Windows 7 64 bit and Windows 10 64 bit.
    --
    When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

    Offline jcraighead@fastmail.fm

    • Single posting newcomer
    • *
    • Posts: 8
    Re: new install on new windows 10 machine can't find zlib1.dll
    « Reply #12 on: January 04, 2016, 09:52:41 pm »
    Dear Tim, sorry to upset you. I did not understand your reply. I searched my computer for wxWidget - did not find any dll, just an xml. I looked at the xml with vim and could not find zlib. I remain unclear what else to look for/check. As for the downloaded install, I got it from sourceforge and it auto unpacked and executed fine (as far as I can tell). That was before running, obviously, and hence before c::b said it could not find zlib1 (which I assume has something to do with zipped files). I have also tried running the c::b executable directly instead of "executing" a .cbp file - it fails with the same can`t find zlib1.dll message as soon as I try to do anything.

    Offline Scr3amer

    • Multiple posting newcomer
    • *
    • Posts: 16
    Re: new install on new windows 10 machine can't find zlib1.dll
    « Reply #13 on: January 04, 2016, 10:07:08 pm »
    Anyway, you are the only one who seems to experience this issue so maybe the problem comes from the version you downloaded :p .

    Try to uninstall C::B and install instead the 15.12 RC1 version here : http://forums.codeblocks.org/index.php/topic,20729.0.html .

    Offline jcraighead@fastmail.fm

    • Single posting newcomer
    • *
    • Posts: 8
    Re: new install on new windows 10 machine can't find zlib1.dll
    « Reply #14 on: January 04, 2016, 11:35:20 pm »
    Thank you for the pointer to an installer that includes the gnu compiler. I uninstalled c::b and reinstalled the with compiler version (I didn`t uninstall the compiler beforehand - not sure how to do that). Trying it I noticed the following: the error message (zlib1 not found) popped up   the same number of times as the source files in the project (c++ & h) - not looping as I first thought; and the error message window had "cc1plus" up in the top left corner, which a search found to be an executable in the gnu program directory. Could it be that compiler didn't install correctly (because I didn't uninstall before reloading, ... or not). After dismissing the error messages c::b let me edit the source (meaningless add/remove whitespace) and save the files, but an attempt to build generated the same error messages (zlib) again. That would imply that the problem is with the compiler (as opposed to c::b), to me anyway, but why then does it show up at initial load the project time? And how do I safely remove the gnu compiler before reinstalling yet again? It doesn't show up in the windows 10 version of add/remove programs. Setting up my nice new machine is proving very frustrating. I really do appreciate your help.
    Jim