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

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.


Messages - BobTheFish

Pages: 1 [2]
16
SFML projects / cpGUI - A new object oriented GUI toolkit based on SFML 1.5
« on: November 26, 2009, 11:39:27 pm »
I forgot to say that I'm using WinXP, Visual-C++ 2008 Express, and the dynamic SFML.

Another question about cpGUI: is there a built in file select dialog? If not, read on.

I'm thinking I could implement a simple one using a listbox, but I don't know how to do file operations in a cross-platform way. For example I could use system("dir") to get the contents of a directory, but this approach is valid only for Windows systems.

17
SFML projects / cpGUI - A new object oriented GUI toolkit based on SFML 1.5
« on: November 26, 2009, 02:11:23 pm »
I like this GUI class and I can compile and run the example (cpGUI-example).

When the program closes (for example when I click the close box or one of the buttons) it throws an unhandled access read violation.
I've tried the 1.5 release and the latest snapshot with the same result.

Debug takes me to line 769 of Image.cpp, which says:
Code: [Select]
GLCheck(glDeleteTextures(1, &Texture));

I'm surprised I couldn't find this problem mentioned anywhere else since I'm running the unmodified example...

Pages: 1 [2]