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

Author Topic: Problem Running OpenGL example with VS2010 sfml2.0-rc  (Read 1308 times)

0 Members and 1 Guest are viewing this topic.

diegonolan

  • Newbie
  • *
  • Posts: 26
    • View Profile
Problem Running OpenGL example with VS2010 sfml2.0-rc
« on: May 20, 2012, 10:16:38 pm »
I am trying to run the opengl example on the github page.  I got it to compile but when I run it it crashes and makes a strange beeping noise.  When I run the debugger it says it crashes on this when loading the background.jpg.

Code: [Select]
if (!backgroundTexture.loadFromFile("resources/background.jpg"))

Am I missing the jpg library or something?  I can't figure out what is going wrong.

diegonolan

  • Newbie
  • *
  • Posts: 26
    • View Profile
Re: Problem Running OpenGL example with VS2010 sfml2.0-rc
« Reply #1 on: May 21, 2012, 01:31:21 am »
I seem to have figured it out.  Not sure what was wrong, just started from scratch.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
Re: Problem Running OpenGL example with VS2010 sfml2.0-rc
« Reply #2 on: May 21, 2012, 08:02:19 am »
You were probably mixing debug and release.
Laurent Gomila - SFML developer

 

anything