View Single Post
Posts: 391 | Thanked: 908 times | Joined on Aug 2011 @ suncity
#124
Originally Posted by Halftux View Post
If you are in doubt please post your makefile.
After modifying fcamera.pro generated Makefile with qmake and issued build command. This made fcamera executable in build/ folder. After I run that with gdb it throws out just the same output as described before - only the line changed from 2273 to 11826.

Code:
fcamera[11826]: GLIB CRITICAL ** GLib-GObject - g_object_get: assertion `G_IS_OBJECT (object)' failed
aborting...

Program received signal SIGABRT, Aborted.
0x40ff097c in raise () from /lib/libc.so.6
0x40ff097c <raise+64>:	cmn	r0, #4096	; 0x1000
I attached my Makefile

I run with these commands:
- in terminal:
Code:
gdb --args path_to_fcamera G_DEBUG=fatal-warnings G_DEBUG=fatal-criticals
- inside gdb:
Code:
set env G_DEBUG=fatal-criticals
then
Code:
run
Attached Files
File Type: txt Makefile.txt (18.5 KB, 64 views)
 

The Following 2 Users Say Thank You to justmemory For This Useful Post: