Hi GNUers, Few days back, I posted a question on "Compiling a Glade-2 project". Now I got a solution. I am posting this, because it might be useful for some body out there. The problem was with Glade-2, as it generated a script, which was configured not to use pkg-tool (a tool that returns meta information about the installed libraries). I couldn't fix it, but I was able to run the project by manually compiling the glade generated files in the following order:
gcc -c callbacks.c -o callbacks.o `pkg-tool --cflags gtk+-2.0``pkg- tool --libs gtk+-2.0` gcc -c interface.c -o interface.o `pkg-tool --cflags gtk+-2.0``pkg- tool --libs gtk+-2.0` gcc -c support.c -o support.o `pkg-tool --cflags gtk+-2.0``pkg-tool -- libs gtk+-2.0` gcc -c main.c -o main.o `pkg-tool --cflags gtk+-2.0``pkg-tool --libs gtk+-2.0` and finally link them all together: gcc -o <out_file_name> callbacks.o interface.o support.o main.o Full throttle for FSUG-TVM's monthly meeting. "Happy Programming" Ansal mon. --~--~---------~--~----~------------~-------~--~----~ "Freedom is the only law". "Freedom Unplugged" http://www.ilug-tvm.org You received this message because you are subscribed to the Google Groups "ilug-tvm" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For details visit the website: www.ilug-tvm.org or the google group page: http://groups.google.com/group/ilug-tvm?hl=en -~----------~----~----~----~------~----~------~--~---
