Quantcast
Channel: beginners - openFrameworks
Viewing all articles
Browse latest Browse all 4929

How to properly add -g flag to debug?

$
0
0

@cuinjune wrote:

I’m building OF 0.11.0 in Ubuntu and my app is crashing with segmentation fault. (it used to work fine in OF 0.10.0)

I would like to see more details why it crashes so I just added “-g” flag into PLATFORM_LDFLAGS in the config.linux64.default.mk file like the following:

PLATFORM_LDFLAGS += -fuse-ld=gold -g

But it does not show any further details.

Where should I add -g flag to see the more details?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4929

Trending Articles