Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: require help with setting SFML up in code blocks  (Read 1787 times)

0 Members and 2 Guests are viewing this topic.

Grand Sage

  • Newbie
  • *
  • Posts: 3
    • View Profile
    • Email
require help with setting SFML up in code blocks
« on: October 29, 2016, 04:32:21 pm »
after working on this for the better part of last night and today, i thought i would ask if anyone could help me out here. i have been trying to get SFML to work with my IDE (code blocks). however, when i use the downloadable package (Mingw DW2, i checked and believe thats the one i should use) i have come to a point where i get 3 errors saying "procedure entry point [underscores, numbers, letters] was not found in x.dll", where x is system-d-2.dll and the graphics and window versions of that file. now, the program im trying to compile is the example from the official tutorial.

since i made no progress there, i tried to compile SFML on my own, following the tutorial, but somehow i dont get any -d-2.dll files when i do.

id greatly appriciate anything i could try, could it be that i dont have the right version of mingw?

Carlos Augusto Br Cpp

  • Newbie
  • *
  • Posts: 40
  • Programming is life
    • View Profile
    • Email
Re: require help with setting SFML up in code blocks
« Reply #1 on: October 29, 2016, 05:41:25 pm »
first of all... check in your MinGW folder in Code::Blocks... if she don't exists you have downloaded the wrong version of Code::Blocks... if she exists... check the bin folder... check if you have libgcc_s_dw2-1.dll and libgcc_s_sjlj-1.dll... if yes, prefer to download the SJLJ version of SFML and try again the installation, if don't works, come here and share pictures to us see your problem.

always the best, Carlos.

Grand Sage

  • Newbie
  • *
  • Posts: 3
    • View Profile
    • Email
Re: require help with setting SFML up in code blocks
« Reply #2 on: October 30, 2016, 08:07:43 pm »
now that you mention it... its been a year or two since i downloaded my version :P

i'll get back to you after downloading the newest. (or is there a "right" version for SFML?)

Grand Sage

  • Newbie
  • *
  • Posts: 3
    • View Profile
    • Email
Re: require help with setting SFML up in code blocks
« Reply #3 on: October 30, 2016, 09:41:00 pm »
you, sir, made my day! i re-did the tutorial with the newest codeblocks version, and after some more problems i finally got it to work.

now, this is gonna go slighty off-topic, but if anyone could tell my why it only compiles the debug version of the file?

but most importantly, thanks again!