Hello guys. For some hours I try to set SFML 2.0 for Code::Blocks( MinGW) and can't. Here is what I tried:
1.I used the files from download directly and setted the Code::Blocks fom tutorial and used the example from tutorial to test if work.
Erros:
ld.exe||cannot find -lsfml-graphics|
||=== Build finished: 1 errors, 0 warnings ===|
2.Tried with the tutorial to recompile it using CMake. I recompiled without errors and setted in the Code::Blocks the new dir. Same example used.
Errors:
D:\C++ Work\Test\Untitled3.cpp|1|error: SFML/Graphics.hpp: No such file or directory|
D:\C++ Work\Test\Untitled3.cpp||In function 'int main()':|
D:\C++ Work\Test\Untitled3.cpp|5|error: 'sf' has not been declared|
D:\C++ Work\Test\Untitled3.cpp|5|error: expected ';' before 'window'|
D:\C++ Work\Test\Untitled3.cpp|6|error: 'sf' has not been declared|
D:\C++ Work\Test\Untitled3.cpp|6|error: expected ';' before 'shape'|
D:\C++ Work\Test\Untitled3.cpp|7|error: 'shape' was not declared in this scope|
D:\C++ Work\Test\Untitled3.cpp|7|error: 'sf' has not been declared|
D:\C++ Work\Test\Untitled3.cpp|9|error: 'window' was not declared in this scope|
D:\C++ Work\Test\Untitled3.cpp|11|error: 'sf' has not been declared|
D:\C++ Work\Test\Untitled3.cpp|11|error: expected ';' before 'event'|
D:\C++ Work\Test\Untitled3.cpp|12|error: 'event' was not declared in this scope|
D:\C++ Work\Test\Untitled3.cpp|14|error: 'sf' has not been declared|
||=== Build finished: 12 errors, 0 warnings ===|
3.And in a final I copied the include folder in the recompiled folder and give me the same errors as in point 1.
I using this file for SFML 2.0 LaurentGomila-SFML-2.0-rc-94-g26fa99f.tar ( posted if in case someone want the version)
Please if can someone help me or to figure out using TeamViewer.
P.S.: Sorry for my bad english.