Hi,
in the hope of being able to write an app on my mac which I can also
compile on other platforms, I downloaded and installed gtk-osx, and
have so far been successful, but not without changing a bit.
I use xcode 1.5 and have started like described in the gtk-osx readme:
Create a new Carbon project and then remove the Carbon framework and
add the 3 gtk frameworks coming that gtk-osx consist of. Then I went
over to www.gtk.org to get the code for the simplest possible gtk
program which will compile and run and still show some sign of life;
http://www.gtk.org/tutorial/ch-gettingstarted.html. I discovered when
building this project that in some of the header files there is a top
level reference for some of the included header files which implies
that the program normally would be compiled with
-I/usr/local/include/glib. I decided to simply change
#include <glib.h>
to
#include <glib/glib.h>
and so on as I encountered the errors. This is probably breaking all
rules with gtk, but at least the code compiles and the app run.
So I wonder if there is a way to tell Xcode that -I switch which make
it find those header files, or if most gtk-osx developers are compiling
from the command line, and thus really don't care about this?
Svenn
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September
19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement *
http://www.sqe.com/bsce5sf_______________________________________________
Gtk-osx-developer mailing list
Gtk-osx-developer@...
https://lists.sourceforge.net/lists/listinfo/gtk-osx-developer