Segmentation Fault in Release mode

Started by Skiss, 10 February 2014, 18:55:11

Skiss

Hi there,

I downloaded and compiled the last version of TGUI, and I wanted to try the sample code from the tutorial.

It works fine in Debug mode, but I get a SegFault in Release mode, and I can't figure out why.

Any idea ? :)

Thanks in advance

texus

If it works fine in debug mode then its probably some incompatibility. Make sure that when compiling in release mode, you are also using the release libraries from sfml and the release library of tgui.

Also check if you have other options that you perhaps set in debug mode and not in release mode.

If you can't figure it out then you can try sending me the project files and sfml and tgui libraries (preferably the whole build folder from tgui, including all these files that cmake generated), e.g. via dropbox.