Segmentation Fault in Release mode
« on: 10 February 2014, 18:55:11 »
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

  • *****
  • 1143
    • View Profile
    • Texus's Blog
Re: Segmentation Fault in Release mode
« Reply #1 on: 10 February 2014, 19:14:13 »
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.