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

Author Topic: Can't compile without debugging  (Read 1065 times)

0 Members and 1 Guest are viewing this topic.

excentio

  • Newbie
  • *
  • Posts: 21
    • View Profile
Can't compile without debugging
« on: October 24, 2014, 02:30:33 pm »
Hello guys, I have a problem, I can't compile my program without debugging, with debugging it works perfectly, but without I have a crash, , when I start with debugging, it works : , here is my code : http://pastebin.com/tVBbdmHc, btw, it works, when I delete OnButtonListMove and CreateButtonList functions, I tried to replace that code, but still, no result, so, that's why I'm asking for a help, thanks.

Hiura

  • SFML Team
  • Hero Member
  • *****
  • Posts: 4321
    • View Profile
    • Email
Re: Can't compile without debugging
« Reply #1 on: October 24, 2014, 07:42:19 pm »
Probably because

Quote from: tutorial
It is important to link to the libraries that match the configuration: "sfml-xxx-d.lib" for Debug, and "sfml-xxx.lib" for Release. A bad mix may result in crashes.

Read it again carefully. http://sfml-dev.org/tutorials/2.1/start-vc.php
SFML / OS X developer

excentio

  • Newbie
  • *
  • Posts: 21
    • View Profile
Re: Can't compile without debugging
« Reply #2 on: October 28, 2014, 06:19:41 pm »
thanks for help, I found a solution, I recreated a project and copied all the code to that newly created project, idk, what was the problem, but now it works :D

 

anything