PDA

View Full Version : missing gtk header files on scratchbox


LinXitoW
11-13-2008, 01:26 PM
Ive installed scratchbox and the sdk following this pdf (http://maemo.org/maemo_release_documentation/maemo4.1.x/Maemo_Diablo_Reference_Manual_for_maemo_4.1.pdf). The first sample app for testing the sdk install mentioned in there works, but the second one gives me the errors in the attached file log_first.txt. I figured the folders where gtk resided were somehow wrong, so i moved the folders from scratchbox/users/$USER/targets/DIABLO_X86/usr/include/gtk-2.0 into the include folder, but that just made it worse. error output (http://paste.org/index.php?id=4326)

Help, pls.

bradbobak
11-13-2008, 10:19 PM
Adding `pkg-config --cflags gtk+-2.0` (with the back ticks) on your gcc command line may work..
If not, check the directories outputted by pkg-config and see if the gtk headers are there.

LinXitoW
11-15-2008, 06:57 AM
Im such an idiot! It says that in the pdf too.
And there i was thinking ive gotten over my noob phase^^.

lcuk
11-15-2008, 07:12 AM
n00b phase lasts for as long as there is new code to discover and investigate.
I hope to be a n00b till the end of days :)