Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - RotateMe

#1
So I tested linking tgui but using only sfml code, which worked (I tried a lot of funny stuff). I'm going to compile both tgui and sfml, get the pdb files (is there a reason they aren't generally distributed?), and find out what's wrong. Then I'll get back to you.
#2
Just for the sake of it I created a new empty project with clean settings (in the previous project I already tested some SFML stuff and might have changed something) but the error remains exactly the same. I honestly don't think that it's an issue with TGUI anymore, since all calls should be within the SFML code, but then again I might be wrong :)

Thanks for your (exceptionally quick) help!

Edit: On the other hand, every SFML example I try in the same project works. What makes me wonder is why I can't debug-step into the SFML and TGUI codes, I thought that's what the debug libraries are for? It always says missing PDB files...
#3
Wow, that was a quick answer!

To answer your questions:

I'm using the version "TGUI v0.6 alpha1 (with precompiled Visual C++ 11 (2012) 32 bits libraries for SFML 2.1", and I just redownloaded SFML 2.1 binaries, for the same version of Visual C++ 11, recopied all DLLs, checked that I'm linking the right versions of the libraries and recompiled. Strangely enough, I now get beyond the handleEvent() line, but get a first chance exception (access violation at the suspicious adress 0xABABABAB) in the line clearWindow() (commenting it out I get the same exception one line below, in window.display().

#4
Hi,

this might be more of a problem with SFML 2.1, but I didn't have problems when using it without any other libraries, so maybe someone here can help me:

I followed the installation tutorial, copied all resource files to where they should be (I get no error messages when loading the files) and just tried to run the example code from https://tgui.eu/example-code/v06/, but still I get a "First-chance exception" in "sfml-graphics-d-2.dll" in the line "gui.handleEvent(event);".

I am very new to C++ and have no idea how to find a way to understand what is causing this exception, since obviously I cannot jump into the code of SFML or TGUI.

Thanks in advance!