[GEM-dev] Compiling Gem from git on osx mavericks

Nicolas Montgermont nicolas_montgermont at yahoo.fr
Thu May 22 19:51:24 CEST 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Le 22/05/2014 19:21, IOhannes m zmölnig a écrit :
> On 05/22/2014 05:48 PM, Nicolas Montgermont wrote:
>>
>> How can I try to compile Gem against one of these, instead of
gemmacwindow?
>>
>
> these are externals, so you should have e.g. gemglutwindow.pd_darwin in
No I don't have any *.pd_darwin in Gem/ or elsewhere...
Here is my log of the compilation of the src/Output folder (I'm using -w
so there is no warnings)
- --------------------------------------------

Making all in src/Output
/bin/sh ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.
-I../../src  -I../../src  -DPD
-I/Applications/Pd-extended.app/Contents/Resources/src  -arch i386  -w
-Os -ffast-math -mmmx -fpascal-strings -MT
gemcocoawindow_la-gemcocoawindow.lo -MD -MP -MF
.deps/gemcocoawindow_la-gemcocoawindow.Tpo -c -o
gemcocoawindow_la-gemcocoawindow.lo `test -f 'gemcocoawindow.mm' || echo
'./'`gemcocoawindow.mm
/bin/sh ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H
-I. -I../../src  -I../../src  -DPD
-I/Applications/Pd-extended.app/Contents/Resources/src  -arch i386
-D_THREAD_SAFE   -w -Os -ffast-math -mmmx -fpascal-strings -MT
gemglutwindow_la-gemglutwindow.lo -MD -MP -MF
.deps/gemglutwindow_la-gemglutwindow.Tpo -c -o
gemglutwindow_la-gemglutwindow.lo `test -f 'gemglutwindow.cpp' || echo
'./'`gemglutwindow.cpp
/bin/sh ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H
-I. -I../../src  -I../../src  -DPD
-I/Applications/Pd-extended.app/Contents/Resources/src  -arch i386  -w
-Os -ffast-math -mmmx -fpascal-strings -MT
gemmacwindow_la-gemmacwindow.lo -MD -MP -MF
.deps/gemmacwindow_la-gemmacwindow.Tpo -c -o
gemmacwindow_la-gemmacwindow.lo `test -f 'gemmacwindow.cpp' || echo
'./'`gemmacwindow.cpp
UNUSED SOURCES:
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -DPD
-I/Applications/Pd-extended.app/Contents/Resources/src -arch i386 -w -Os
-ffast-math -mmmx -fpascal-strings -MT
gemcocoawindow_la-gemcocoawindow.lo -MD -MP -MF
.deps/gemcocoawindow_la-gemcocoawindow.Tpo -c gemcocoawindow.mm 
-fno-common -DPIC -o .libs/gemcocoawindow_la-gemcocoawindow.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -DPD
-I/Applications/Pd-extended.app/Contents/Resources/src -arch i386 -w -Os
-ffast-math -mmmx -fpascal-strings -MT gemmacwindow_la-gemmacwindow.lo
-MD -MP -MF .deps/gemmacwindow_la-gemmacwindow.Tpo -c gemmacwindow.cpp 
-fno-common -DPIC -o .libs/gemmacwindow_la-gemmacwindow.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -DPD
-I/Applications/Pd-extended.app/Contents/Resources/src -arch i386
-D_THREAD_SAFE -w -Os -ffast-math -mmmx -fpascal-strings -MT
gemglutwindow_la-gemglutwindow.lo -MD -MP -MF
.deps/gemglutwindow_la-gemglutwindow.Tpo -c gemglutwindow.cpp 
-fno-common -DPIC -o .libs/gemglutwindow_la-gemglutwindow.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -DPD
-I/Applications/Pd-extended.app/Contents/Resources/src -arch i386
-D_THREAD_SAFE -w -Os -ffast-math -mmmx -fpascal-strings -MT
gemglutwindow_la-gemglutwindow.lo -MD -MP -MF
.deps/gemglutwindow_la-gemglutwindow.Tpo -c gemglutwindow.cpp -o
gemglutwindow_la-gemglutwindow.o >/dev/null 2>&1
gemmacwindow.cpp:269:3: error: use of undeclared identifier 'GetPort';
did you mean 'CFRunLoopSourceContext1::getPort'?
  GetPort (&cgrafSave);
  ^~~~~~~
  CFRunLoopSourceContext1::getPort
/System/Library/Frameworks/CoreFoundation.framework/Headers/CFRunLoop.h:105:19:
note: 'CFRunLoopSourceContext1::getPort' declared here
    mach_port_t (*getPort)(void *info);
                  ^
gemmacwindow.cpp:269:3: error: invalid use of non-static data member
'getPort'
  GetPort (&cgrafSave);
  ^~~~~~~
gemmacwindow.cpp:388:13: error: use of undeclared identifier 'GetMainDevice'
      hGD = GetMainDevice ();
            ^
gemmacwindow.cpp:394:21: error: use of undeclared identifier
'DMGetFirstScreenDevice'
          hDevice = DMGetFirstScreenDevice (true);
                    ^
gemmacwindow.cpp:399:25: error: use of undeclared identifier
'DMGetNextScreenDevice'
              hDevice = DMGetNextScreenDevice (hDevice, true);
                        ^
mv -f .deps/gemglutwindow_la-gemglutwindow.Tpo
.deps/gemglutwindow_la-gemglutwindow.Plo
/bin/sh ../../libtool  --tag=CXX   --mode=link g++ -DPD
-I/Applications/Pd-extended.app/Contents/Resources/src  -arch i386
-D_THREAD_SAFE   -w -Os -ffast-math -mmmx -fpascal-strings -module
-avoid-version -shared -shrext .pd_darwin   -arch i386 -framework
QuickTime -framework Carbon -framework Cocoa -framework AGL  -o
gemglutwindow.la -rpath /usr/local/lib/pd/extra/Gem
gemglutwindow_la-gemglutwindow.lo
-L/Applications/Pd-extended.app/Contents/Resources/bin -L../..
-framework GLUT -framework OpenGL  -lm  -ldl -lz -lm
gemmacwindow.cpp:417:17: error: use of undeclared identifier
'DMGetFirstScreenDevice'
          hGD = DMGetFirstScreenDevice (true);
                ^
gemmacwindow.cpp:420:34: error: use of undeclared identifier
'DMGetNextScreenDevice'
              GDHandle hGDNext = DMGetNextScreenDevice (hGD, true);
                                 ^
libtool: link: g++ -Wl,-undefined -Wl,dynamic_lookup -o
.libs/gemglutwindow.pd_darwin -bundle 
.libs/gemglutwindow_la-gemglutwindow.o   -lstdc++ -framework QuickTime
-framework Carbon -framework Cocoa -framework AGL
-L/Applications/Pd-extended.app/Contents/Resources/bin -L../..
-framework GLUT -framework OpenGL -ldl -lz -lm  -arch i386 -Os -mmmx
-arch i386   -framework QuickTime -framework Carbon -framework Cocoa
-framework AGL -framework GLUT -framework OpenGL
gemmacwindow.cpp:438:13: error: use of undeclared identifier
'DMGetFirstScreenDevice'
      hGD = DMGetFirstScreenDevice (true);
            ^
libtool: link: ( cd ".libs" && rm -f "gemglutwindow.la" && ln -s
"../gemglutwindow.la" "gemglutwindow.la" )
gemmacwindow.cpp:446:21: error: use of undeclared identifier
'DMGetNextScreenDevice'
              hGD = DMGetNextScreenDevice (hGD, true);
                    ^
gemmacwindow.cpp:696:18: error: use of undeclared identifier 'GetDeviceList'
  GDHandle hGD = GetDeviceList (); // get the first screen
                 ^
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -DPD
-I/Applications/Pd-extended.app/Contents/Resources/src -arch i386 -w -Os
-ffast-math -mmmx -fpascal-strings -MT
gemcocoawindow_la-gemcocoawindow.lo -MD -MP -MF
.deps/gemcocoawindow_la-gemcocoawindow.Tpo -c gemcocoawindow.mm -o
gemcocoawindow_la-gemcocoawindow.o >/dev/null 2>&1
gemmacwindow.cpp:759:13: error: use of undeclared identifier 'GetNextDevice'
      hGD = GetNextDevice (hGD); // get next device
            ^
gemmacwindow.cpp:924:3: error: use of undeclared identifier 'GetPort';
did you mean 'CFRunLoopSourceContext1::getPort'?
  GetPort (&pgpSave);
  ^~~~~~~
  CFRunLoopSourceContext1::getPort
/System/Library/Frameworks/CoreFoundation.framework/Headers/CFRunLoop.h:105:19:
note: 'CFRunLoopSourceContext1::getPort' declared here
    mach_port_t (*getPort)(void *info);
                  ^
gemmacwindow.cpp:924:3: error: invalid use of non-static data member
'getPort'
  GetPort (&pgpSave);
  ^~~~~~~
gemmacwindow.cpp:929:3: error: use of undeclared identifier 'LocalToGlobal'
  LocalToGlobal (reinterpret_cast<Point*>(& rectWind.top));     //
convert to global coordinates
  ^
gemmacwindow.cpp:930:3: error: use of undeclared identifier 'LocalToGlobal'
  LocalToGlobal (reinterpret_cast<Point*>(& rectWind.bottom));
  ^
gemmacwindow.cpp:931:18: error: use of undeclared identifier 'GetDeviceList'
  hgdNthDevice = GetDeviceList ();
                 ^
gemmacwindow.cpp:937:46: error: use of undeclared identifier 'screenDevice'
      if (TestDeviceAttribute (hgdNthDevice, screenDevice))
                                             ^
gemmacwindow.cpp:938:48: error: use of undeclared identifier 'screenActive'
        if (TestDeviceAttribute (hgdNthDevice, screenActive))
                                               ^
gemmacwindow.cpp:944:13: error: use of undeclared identifier 'SectRect'
            SectRect (&rectWind, &(**hgdNthDevice).gdRect, &rectSect);
            ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make[1]: *** [gemmacwindow_la-gemmacwindow.lo] Error 1
mv -f .deps/gemcocoawindow_la-gemcocoawindow.Tpo
.deps/gemcocoawindow_la-gemcocoawindow.Plo
/bin/sh ../../libtool    --mode=link g++  -g -O2 -module -avoid-version
-shared -shrext .pd_darwin   -arch i386 -framework QuickTime -framework
Carbon -framework Cocoa -framework AGL  -o gemcocoawindow.la -rpath
/usr/local/lib/pd/extra/Gem gemcocoawindow_la-gemcocoawindow.lo
-L/Applications/Pd-extended.app/Contents/Resources/bin -L../..  -ldl -lz -lm
libtool: link: g++ -Wl,-undefined -Wl,dynamic_lookup -o
.libs/gemcocoawindow.pd_darwin -bundle 
.libs/gemcocoawindow_la-gemcocoawindow.o   -lstdc++ -framework QuickTime
-framework Carbon -framework Cocoa -framework AGL
-L/Applications/Pd-extended.app/Contents/Resources/bin -L../.. -ldl -lz
-lm  -O2 -arch i386   -framework QuickTime -framework Carbon -framework
Cocoa -framework AGL
libtool: link: ( cd ".libs" && rm -f "gemcocoawindow.la" && ln -s
"../gemcocoawindow.la" "gemcocoawindow.la" )
make[1]: Target `all' not remade because of errors.
Making all in extra

- -- 
http://www.nimon.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Darwin)

iEYEARECAAYFAlN+ORwACgkQyQxFEQ9xedOa7ACgiR025jyHIcXjiz2Jka68eYar
NuMAoInvyF+1yrI/Vf6kzrI841+8Owi4
=q997
-----END PGP SIGNATURE-----




More information about the GEM-dev mailing list