SFML community forums
Help => Graphics => Topic started by: Juanxo on August 24, 2010, 09:02:26 pm
-
Hi:
First, congrats to switch to cmake.
I'm trying to build sfml with cmake, and I'm getting errors when building Graphics subsystem
1>------ Build started: Project: sfml-graphics, Configuration: Debug Win32 ------
1> ImageLoader.cpp
1>..\..\..\..\src\SFML\Graphics\ImageLoader.cpp(35): fatal error C1083: Cannot open include file: 'png.h': No such file or directory
I'm using vs2010 and Win7.
Am i doing something wrong, or it's a bug?
Thx
Edit: I forgot to post in Graphics subforum. Sorry
-
png.h is not included anymore in this file, you probably did something wrong when you updated your working copy.
-
i just have downloaded sfml2snapshot from the main sfml page.
-
I checked again, and png.h is definitely not included. Try to download it again.
-
yes, you were right. I probably used some older version, my fault
Thanks Laurent