Hello everybody, my 1st post here (btw, big thanks for C/SFML).
I've just set up CSFML 2.1 to give it a go, on a vanilla mingw32 toolchain, with gcc 4.7.0 on Win XP SP3...
> gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=c:/unix/mingw/bin/../libexec/gcc/mingw32/4.7.0/lto-wrapper.e
xe
Target: mingw32
Configured with: ../gcc-4.7.0/configure --enable-languages=c,c++,ada,fortran,obj
c,obj-c++ --disable-sjlj-exceptions --with-dwarf2 --enable-shared --enable-libgo
mp --disable-win32-registry --enable-libstdcxx-debug --disable-build-poststage1-
with-cxx --enable-version-specific-runtime-libs --build=mingw32 --prefix=/mingw
Thread model: win32
gcc version 4.7.0 (GCC)
No problems, all is fine with the sample code written with notepad++ and compiled via the command line.
But am I supposed to have CSFML's bin folder in the PATH environment variable, even when I'm linking statically? If I don't, the runtime complains it cannot find the CSFML dll's...
gcc -g3 -std=c99 -Wall -Wextra -DSFML_STATIC test.c -o test.exe -Ic:/unix/csfml/include -Lc:/unix/csfml/lib/gcc -lcsfml-graphics -lcsfml-audio -lcsfml-window -lcsfml-network -lcsfml-system -Wl,--subsystem,windows
I took a wild guess and also defined -DCSFML_STATIC... did no difference.
Thanks in advance.