I tried using pngwriter.h for one of my applications but I couldn't get the header file to compile. The error I got was:
c:\...\pngwriter.h(48) : fatal error C1083: Cannot open include file: 'png.h': No such file or directory
I tried commenting that line out to see what would happen but I got the same error but for ft2build.h on line 57. I'm using Visual C++ 2005 Express Edition. Maybe I didn't configure something correctly...?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi. I'm posting anonymously because I'm away from my computer.
It would seem that you don't have libpng installed. That's what png.h is a part of. Try making libpng available to your compiler and then compile again.
Cheers,
Paul
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
La verdad no sé, porque nunca he usado ese compilador. Creo que tendrías mejor suerte preguntando en un foro sobre Visual Studio. A primera vista, parece ser que el compilador no encuentra ni libpng ni libz.
Saludos y suerte,
Paul
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I tried using pngwriter.h for one of my applications but I couldn't get the header file to compile. The error I got was:
c:\...\pngwriter.h(48) : fatal error C1083: Cannot open include file: 'png.h': No such file or directory
I tried commenting that line out to see what would happen but I got the same error but for ft2build.h on line 57. I'm using Visual C++ 2005 Express Edition. Maybe I didn't configure something correctly...?
Hi. I'm posting anonymously because I'm away from my computer.
It would seem that you don't have libpng installed. That's what png.h is a part of. Try making libpng available to your compiler and then compile again.
Cheers,
Paul
hola:
soy juan.
estoy usano visual studio 2005, y sigo los pasos recomendados.
al compilar (rebuild solution), dice lo siguiente
------ Rebuild All started: Project: zlib, Configuration: LIB Win32 ------
1>Deleting intermediate and output files for project 'zlib', configuration 'LIB|Win32'
1>Compiling...
1>gzio.c
1>c1 : fatal error C1083: Cannot open source file: '..\..\..\zlib\gzio.c': No such file or directory
1>Build log was saved at "file://c:\libpng125\libpng-1.2.5\projects\msvc\win32\zlib\lib\BuildLog.htm"
1>zlib - 1 error(s), 0 warning(s)
2>------ Rebuild All started: Project: libpng, Configuration: LIB Win32 ------
2>Deleting intermediate and output files for project 'libpng', configuration 'LIB|Win32'
2>Compiling...
2>pngerror.c
2>c:\libpng125\libpng-1.2.5\png.h(329) : fatal error C1083: Cannot open include file: 'zlib.h': No such file or directory
2>Build log was saved at "file://c:\libpng125\libpng-1.2.5\projects\msvc\win32\libpng\lib\BuildLog.htm"
2>libpng - 1 error(s), 0 warning(s)
========== Rebuild All: 0 succeeded, 2 failed, 0 skipped ==========
que me falta hacer? gracias
La verdad no sé, porque nunca he usado ese compilador. Creo que tendrías mejor suerte preguntando en un foro sobre Visual Studio. A primera vista, parece ser que el compilador no encuentra ni libpng ni libz.
Saludos y suerte,
Paul