Hi, Hernan

I am also on windows but with mingw-w64 MSYS toolchain
You can find zlib in the im repo   
http://sourceforge.net/projects/imtoolkit/files/ (You could also find the SVN 
repo where everything is ok)
Put it sibling to other directories (as instructed in 
http://webserver2.tecgraf.puc-rio.br/iup/en/buildwin.html)

tecmakewin.mak is missing from zlib folder but you can copy it from the im 
folder and everything works
(the same problem happens with freetype and ftgl)

Everything has worked untill iup itself, where some projects dont buid (still 
investigating)

Best
victor
  ----- Original Message ----- 
  From: Hernan Cano 
  To: IUP discussion list. 
  Sent: Thursday, September 29, 2016 9:11 PM
  Subject: Re: [Iup-users] building zlib for im


  Hi, Victor.


  I see that you have completed well our tryings to build/compile IUP-CD-IM by 
yourself.


  I have the same interest but in Windows platform.


  When I tried it before, Antonio just said me that "instructions for compiling 
ZLib was missing".


  Can you give me some ideas for me to try it? 




  2016-09-29 13:54 GMT-05:00 Victor Bombi :

    My commands are now

    export TEC_UNAME=dllw4
    export DEFINES="LUA_BUILD_AS_DLL LUA_LIB"
    export MINGW4=C:/mingw32-4.8.2-posix-dwarf
    export FLAGS="-fopenmp"
    export CPPFLAGS="-std=c++11 -fopenmp"
    make

    CPPFLAGS was missing but a new error appears

    Tecmake: compiling axis.cpp ...
    C:/mingw32-4.8.2-posix-dwarf/
  ......................

        if(aa.v2<aa.v1 && fabs(u-exp(M_LN10*floor(0.1+log10(u))))<0.01*u)
                                     ^
    make[2]: *** [../obj/iup_mglplot/dllw4/axis.o] Error 1
    make[1]: *** [iup_mglplot] Error 2
    make: *** [iup_mglplot] Error 2


    So it seems that the flag is not good for this other project
    I dont know what else can be done :-(




------------------------------------------------------------------------------


  ------------------------------------------------------------------------------



------------------------------------------------------------------------------


  _______________________________________________
  Iup-users mailing list
  [email protected]
  https://lists.sourceforge.net/lists/listinfo/iup-users
------------------------------------------------------------------------------
_______________________________________________
Iup-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/iup-users

Reply via email to