I have compiled several games natively in Ubuntu using sfml 2.1.
Today i tried to cross compile the tutorial program using code blocks.
Im using the mingw compiler.
Here are the steps i followed correct me if im wrong.
first i compiled and tried to link to linux libs
error
so i downloaded mingw windows version of SFML from downloadpage.
it compiled but it while running it said that i needed libgcc_s_sjlj-1.dll,sfml-graphics-2.dll,sfml-system-2.dll and more libraries.
so i thought linking statically would be the answer and here i am.
Im testing using wine.