SFML community forums
Help => General => Topic started by: Ademan on August 14, 2007, 10:03:54 am
-
I've been trying to build sfml on ubuntu linux 7.04. CMake fails with this error:
The end of a CMakeLists file was reached with an IF statement that was not closed properly.
Within the directory: /home/dan/Projects/sfml/src/SFML/System
The arguments are: UNIX
-- Configuring done
-- Generating done
-- Build files have been written to: /home/dan/Projects/sfml/src
Which in turn causes a whole mess of problems in Clock.cpp
I changed line 34 from
ENDIF(WIN32)
to
ENDIF(UNIX)
and cmake succeeded (however I'm still getting build errors but I'll give you an update on that.
cheers
-Dan
-
CMake files are currently not working, I need to update and test them.
For the moment, you should rather use the provided makefiles for Linux builds.
-
Ah ok, i'll give that a shot, but by the way, it seems the problem was that it wants GL/glew.h from my system (probably a good policy since it will probably be up to date for the system) but that was the only build error, i'm going to try placing my glew.h in my /usr/include and see what happens
cheers
-Dan
-
Okay.
A friend of mine is also building a Debian package, so that people won't have to worry about the external libraries setup anymore.
-
Indeed, i'm working on a debian package.
I would be pleased to make you test the package when ready. I'll open a topic about it.