I ran into the same problem today, trying to build the Gem included with Pd-extended.  I tried the above advice, but gcc doesn't seem to be getting the -isysroot command:

++ -c   -g -O2 -fPIC -freg-struct-return -Os -falign-loops=32 -falign-functions=32 -falign-jumps=32 -funroll-loops -ffast-math -mmmx -fpascal-strings   -I..   GemPixImageLoad.cpp -o ../Objects/GemPixImageLoad.o
GemPixImageLoad.cpp:70: error: ‘GraphicsImportComponent’ was not declared in this scope
.
.
.



On Tue, Oct 20, 2009 at 8:15 PM, Hans-Christoph Steiner <hans@at.or.at> wrote:

Post the errors and build transcirpt.

.hc


On Oct 20, 2009, at 1:06 AM, Jaime Oliver wrote:

hi all,

I tried:

+ run aclocal
+ run autoconf
+ run ./configure
+ edit Make.config
+ added -isysroot /Developer/SDKs/MacOSX10.5.sdk to GEM_CXXFLAGS and GEM_LDFLAGS
+ make

but still get the same error and no way of compiling gem in os x 10.6,

still open to suggestions...

thanks for the help so far,

best,

J




On Sun, Oct 18, 2009 at 3:38 PM, Hans-Christoph Steiner <hans@at.or.at> wrote:

-isysroot /Developer/SDKs/MacOSX10.5.sdk usually goes in both CFLAGS and
LDFLAGS.

.hc

On Oct 15, 2009, at 10:35 PM, Jaime Oliver wrote:

Hi I tried it in several ways and couldn't get it to work. where do
you usually put this flag?


On Thu, Oct 15, 2009 at 6:01 AM, chris clepper <cgclepper@gmail.com>
wrote:

Try this flag:

-isysroot /Developer/SDKs/MacOSX10.5.sdk


On Thu, Oct 15, 2009 at 5:51 AM, Jaime Oliver <jaime.oliver2@gmail.com>
wrote:

Hi, I started a new thread as I believe people will start getting this
problem soon. The previous thread was: gem compiling error

I am trying to compile GEM from source in a macbook pro using osx 10.6
and pd-0.42-5, latest Gem (0.92-1) from cvs and xcode 3.21.

Chris Clepper suggested to compile against sdk 10.5. sdk 10.5
installed, but can't figure out how to make it the target.

some programs have a flag like --with-macos=/.../sdk10.5, but can't
find any reference in the ./configure -h

other sites suggest to modify the makefile, but no luck yet.

I also tried: make --include-dir=/Developer/SDKs/MacOSX10.5.sdk/

can anyone suggest how to do this?

best,

J




--
Jaime E Oliver LR

joliverl@ucsd.edu
www.realidadvisual.org/jaimeoliver
www-crca.ucsd.edu/
www.realidadvisual.org

858 202 1522
9168 Regents Rd. Apt. G
La Jolla, CA 92037
USA

_______________________________________________
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list





--
Jaime E Oliver LR

joliverl@ucsd.edu
www.realidadvisual.org/jaimeoliver
www-crca.ucsd.edu/
www.realidadvisual.org

858 202 1522
9168 Regents Rd. Apt. G
La Jolla, CA 92037
USA

_______________________________________________
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list



----------------------------------------------------------------------------

There is no way to peace, peace is the way.       -A.J. Muste






--
Jaime E Oliver LR

joliverl@ucsd.edu
www.realidadvisual.org/jaimeoliver
www-crca.ucsd.edu/
www.realidadvisual.org

858 202 1522
9168 Regents Rd. Apt. G
La Jolla, CA 92037
USA



----------------------------------------------------------------------------

All information should be free.  - the hacker ethic






_______________________________________________
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list