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

Author Topic: Switching SFML source code from C::B to VS  (Read 1259 times)

0 Members and 1 Guest are viewing this topic.

BeautiCode

  • Jr. Member
  • **
  • Posts: 89
    • View Profile
Switching SFML source code from C::B to VS
« on: October 24, 2014, 06:13:51 am »
I've decided to stop using Code::Blocks and switch to Visual Studio.
So I've made a duplicate project in visual studio. I have all the file names in VS, etc.
So I just pasted all my code into the other IDE (in the proper places)
Then I linked/included everything, and put the dependencies in the right places. But I get this when I try to run it (as release).
Then shortly after I try to close it and I get come error saying it's crashed, then get an "Access denied" when it tries to close the .exe
But It works perfectly on Code::Blocks, could you guys help me figure out my problem?

Then this is what it shows when I try to compile as debug.

Ixrec

  • Hero Member
  • *****
  • Posts: 1241
    • View Profile
    • Email
Re: Switching SFML source code from C::B to VS
« Reply #1 on: October 24, 2014, 08:03:39 am »
Are you using the correct dlls for your new compiler, or the same ones you used for code blocks?

BeautiCode

  • Jr. Member
  • **
  • Posts: 89
    • View Profile
Re: Switching SFML source code from C::B to VS
« Reply #2 on: October 25, 2014, 12:04:08 am »
Are you using the correct dlls for your new compiler, or the same ones you used for code blocks?
The correct dlls I suppose.
http://en.sfml-dev.org/forums/index.php?topic=13010.0