Hi guys, I'm building the podofo library with mingw and cmake. I have installed the required libraries zlib, freetype2, libjpeg and openssl from gnuwin32's precompiled libraries ( http://gnuwin32.sf.net/). I am using windows7 64 bit.
cmake -G "MinGW Makefiles" C:\podofo -DCMAKE_INCLUDE_PATH=c:\gnuwin32\include -DCMAKE_LIBRARY_PATH=c:\gnuwin32\lib -DPODOFO_BUILD_SHARED:BOOL=FALSE but the build did not complete. In CMakeError.log, I found this: Building C object CMakeFiles/cmTC_37cdd.dir/CheckIncludeFile.c.obj C:\mingw\mingw64\bin\gcc.exe -o CMakeFiles\cmTC_37cdd.dir\CheckIncludeFile.c.obj -c C:\podofoinstall\CMakeFiles\CMakeTmp\CheckIncludeFile.c C:\podofoinstall\CMakeFiles\CMakeTmp\CheckIncludeFile.c:1:23: fatal error: arpa/inet.h: No such file or directory compilation terminated. CMakeFiles\cmTC_37cdd.dir\build.make:64: recipe for target 'CMakeFiles/cmTC_37cdd.dir/CheckIncludeFile.c.obj' failed mingw32-make.exe[1]: *** [CMakeFiles/cmTC_37cdd.dir/CheckIncludeFile.c.obj] Error 1 mingw32-make.exe[1]: Leaving directory 'C:/podofoinstall/CMakeFiles/CMakeTmp' mingw32-make.exe: *** [cmTC_37cdd/fast] Error 2 makefile:125: recipe for target 'cmTC_37cdd/fast' failed I have read that arpa/inet.h is for unix systems only. What should I do? Thanks in advance. ------------------------------------------------------------------------------ _______________________________________________ Podofo-users mailing list Podofo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/podofo-users