Results 1 to 3 of 3

Thread: compile on Windows

  1. #1

    Default compile on Windows

    I'm trying to compile ClanLib on Windows.
    I'm using Cygwin.

    The configure script returns this error message:

    $ sh configure
    checking for main in -lz... no
    configure: error: " *** ClanLib requires zlib (try zlib1g-dev or better)."
    If I understand the error message correctly it wants zlib.
    But it's there:

    $ grep "define ZLIB_VERSION" /usr/include/zlib.h
    #define ZLIB_VERSION "1.2.7"
    $ ll /usr/lib/libz.*
    -rw-r--r-- 1 Seven None 227K 13 mai    2012 /usr/lib/libz.a
    -rwxr-xr-x 1 Seven None  55K 13 mai    2012 /usr/lib/libz.dll.a
    Any kind of help would be appreciated

  2. #2
    ClanLib Developer
    Join Date
    May 2007


    I don't know anyone that has compiled ClanLib using Cygwin.

    So, is highly likely to be broken, when targetting windows.

    Try disabling the zlib check and see what happens

    Good luck

  3. #3


    OK, so this is what I did.
    I commented the zlib check in the (only one line), and now the configure step goes until the end without error.

    But then when I'm running 'make' it just launches 'configure' again but don't compile anything.

    (SDL2 compiles out of the box on both my linux and with mingw under cygwin, so it should be possible to achieve this)

Similar Threads

  1. Need help on windows android compile
    By youngvleo in forum Proton SDK
    Replies: 1
    Last Post: 10-07-2012, 10:07 PM
  2. I can not compile the game
    By Argon in forum Official ClanLib SDK Forums
    Replies: 1
    Last Post: 04-22-2012, 11:59 AM
  3. RT3DApp compile error on windows
    By JonyMnemonic in forum Proton SDK
    Replies: 2
    Last Post: 01-02-2012, 11:41 AM
  4. Windows app crashing on Maximize (Windows XP)
    By BigBMan in forum Proton SDK
    Replies: 8
    Last Post: 03-17-2011, 01:38 AM
  5. Can't compile clanGL on Mac
    By Tael_ in forum Official ClanLib SDK Forums
    Replies: 1
    Last Post: 07-18-2008, 01:19 AM



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts