Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 28 Mar 2013
Offline Last Active Apr 01 2013 02:16 PM

Topics I've Started

Beginning and how to set up SFML 2.0/1.6

28 March 2013 - 08:22 AM



I always wanted to learn game programming and this is not my first try to learn it :)


I decided to use C++ because I completed an apprenticeship where I learned c/c++ but only worked with MCU's. (most of the time i used C to programm everyhing).


But theres one point I always fail and that is to setup the compiler with all the libararies and stuff.


I decided to use SFML for 2D programming to start off :) but after 2 days of work i cant get it to work properly... I tried SFML 1.6 and SFML 2.0 and both won't work.


I tried to set it up for Visual Studio 2012 and for Visual C++ 2010.


At the moment I was able to compile the program but ONLY in Release mode. When I compile it in debug mode i can't execute it because the "sfml-graphics-d-2.dll" is missing. BUT i checked the folder and it is NOT missing... It is in the lib directory of SFML.


I tried to use static libararies but that won't work at all.. i can't even compile because i get several errors like this one:


"Error 1 error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MTd_StaticDebug' doesn't match value 'MDd_DynamicDebug' in Main.obj d:\cpp\Projects\Project2\Project2\sfml-graphics-s-d.lib(Color.obj) Project2"



I hope you can help me with my problem :)