sheldonrobinson / maratis

Automatically exported from code.google.com/p/maratis
0 stars 0 forks source link

Freeimage error with vs2010 #32

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Experimental branch:

When compiling freeimage with visual studio 2010:

c:\...\branches\experimental\3rdparty\freeimage\source\zlib\zconf.h(447): fatal 
error C1083: Impossible d'ouvrir le fichier include : 'unistd.h' : No such file 
or directory

NB: this header is a POSIX one.

Original issue reported on code.google.com by MaratisB...@gmail.com on 14 Oct 2013 at 8:14

GoogleCodeExporter commented 9 years ago
Full error report:

--- Début de la génération : Projet : freeimage, Configuration : Release 
Win32 ---
  tif_pixarlog.c
c:\experimental\3rdparty\freeimage\source\zlib\zconf.h(447): fatal error C1083: 
Impossible d'ouvrir le fichier include : 'unistd.h' : No such file or 
directory
  tif_zip.c
c:\experimental\3rdparty\freeimage\source\zlib\zconf.h(447): fatal error C1083: 
Impossible d'ouvrir le fichier include : 'unistd.h' : No such file or 
directory

There's certainly a missing preprocessor for Windows.

Original comment by MaratisB...@gmail.com on 15 Oct 2013 at 5:37

GoogleCodeExporter commented 9 years ago
Or more propably there might be a little bug in the configuration of zconf.h

Original comment by MaratisB...@gmail.com on 15 Oct 2013 at 7:58