SFML community forums

Help => General => Topic started by: StormWingDelta on June 23, 2015, 10:46:55 pm

Title: Error when trying to use SFGUI with Visual Studio 2013
Post by: StormWingDelta on June 23, 2015, 10:46:55 pm
No idea what is going on here. Just copy & pasted the helloworld example of theirs to test something and got this error;

Unhandled exception at 0x01FCB4D7 (ig4icd32.dll) in SFMLCPPGUITesting.exe: 0xC0000005: Access violation writing location 0x057A3000.
 


Here's the code if anyone wants it but not sure it is the code that is causing the problem. :(

(click to show/hide)

Was planning on checking if my setup to another class for using SFGUI was the issue but since I got the same error with their setup I'm not so sure of what is going on.  I'll post more useful info if needed later.
Title: Re: Error when trying to use SFGUI with Visual Studio 2013
Post by: eXpl0it3r on June 23, 2015, 10:53:43 pm
Google says it's something about your OpenGL driver etc.
Is it up to date? What GPU are you using?
Title: Re: Error when trying to use SFGUI with Visual Studio 2013
Post by: StormWingDelta on June 23, 2015, 10:55:19 pm
Google says it's something about your OpenGL driver etc.
Is it up to date? What GPU are you using?

No idea how to check that or update it if able. :(
Title: Re: Error when trying to use SFGUI with Visual Studio 2013
Post by: eXpl0it3r on June 23, 2015, 10:59:51 pm
Seriously? That's like Learning OS 101 - How to install, update and check your GPU driver... ::)

Go to the device manager and look there under graphics card. Then go to your graphics card vendor's website and check the driver version. Google should help you further...
Title: Re: Error when trying to use SFGUI with Visual Studio 2013
Post by: StormWingDelta on June 23, 2015, 11:07:06 pm
lol knew I was going to sound like an idiot but it is something I normally don't have to do often, Normally the Driver Booster program I got keeps these things up to date but it seems like it missed one. Going to be fun getting all of Intel's Drivers up to date. >_>
Title: Re: Error when trying to use SFGUI with Visual Studio 2013
Post by: StormWingDelta on June 24, 2015, 01:14:52 am
Grabbing yet another driver updating program to see if it can update the 10 Driver Booster isn't updating.  If this doesn't work I'm going to go mental.  Any ideas for good programs to update drivers?  Testing out SlimDrivers this time to see if it can get the few Driver Booster isn't but if anyone has some ideas that might help.
Title: Re: Error when trying to use SFGUI with Visual Studio 2013
Post by: eXpl0it3r on June 24, 2015, 01:18:07 am
Just find out what hardware you've installed and get the drivers from the vendor's site. I really advise against such driver installers...
Title: Re: Error when trying to use SFGUI with Visual Studio 2013
Post by: StormWingDelta on June 24, 2015, 01:32:24 am
well the one I was using up til now was getting everything it was suppose to so it isn't all bad.  In any even normally I'd agree with you on avoiding them but in this case I'm only using them as last resorts since I can't find some of these drivers or vendors.  Also can't seem to find the correct driver that OpenGL is in on my computer and yes I've looked through the device manager. :(
Title: Re: Error when trying to use SFGUI with Visual Studio 2013
Post by: StormWingDelta on June 24, 2015, 03:39:49 pm
OK I've updated everything I can think of to update and still can't get this error to go away. :(

I've been using the SFGUI from the nightly builds site so I've got little clue how to fix this problem at this point.
Title: Re: Error when trying to use SFGUI with Visual Studio 2013
Post by: eXpl0it3r on June 24, 2015, 04:23:36 pm
At best build SFML and SFGUI yourself and see if that works out.
Title: Re: Error when trying to use SFGUI with Visual Studio 2013
Post by: StormWingDelta on June 25, 2015, 02:25:03 am
Well if all else fails I can always make my own GUI Lib. :P Also after some hunting around I've found the current driver I got for intel graphics has a driver date of 05/26/2015.  Been checking around to see if there is a newer one before doing much.   Last I checked it was up to date so who knows.
Title: Re: Error when trying to use SFGUI with Visual Studio 2013
Post by: dabbertorres on June 25, 2015, 07:44:03 am
Have you ran it step-by-step? So you can at least narrow it down to exactly which function call is causing the access violation.

Bonus points for getting debug libs of sfgui and tracing it down to where it happens in sfgui.