http://sfmlcoder.wordpress.com/2011/08/16/building-sfml-2-0-with-make-for-gcc/I followed this tutorial... I think the issue is that I have to glew that is provided in extLibs/libs-mingw isn't statically built.. or somthing like that...
my cmake commands were this:
cmake -G"Unix Makefiles" -DCMAKE_BUILD_TYPE=Debug -DBUILD_SHARED_LIBS=FALSE
make
sudo make install
cmake -G"Unix Makefiles" -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=FALSE
make
sudo make install
how should I use cmake to compile? do I need to edit the cmake file?
I've tried specifying the exlib/ming to the linker search directory and ive idded extlibs/headers to compiler search directory
btw i'm using code::blocks
trying using static and specifying extlibs glew
I also tried building static where I didn't linker settings link libraries libglew and I didn't add search directories for linker or compiler for extlibs
only way it works is with dynamic libraries