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

Nicolas Montgermont via GEM-dev gem-dev at lists.iem.at
Fri Jun 6 16:21:56 CEST 2014


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

If I configure with enable-multicontext, I have new errors here:
- --
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src
-DGEM_INTERNAL -DGLEW_BUILD -DGLEW_MX -DPD
-I/Applications/Pd-extended.app/Contents/Resources/src -arch i386 -w -Os
-ffast-math -mmmx -fpascal-strings -MT libGem_la-PBuffer.lo -MD -MP -MF
.deps/libGem_la-PBuffer.Tpo -c PBuffer.cpp  -fno-common -DPIC -o
.libs/libGem_la-PBuffer.o
Manager.cpp:914:19: error: use of undeclared identifier 'gfxInfo'
  aglSetInteger ( gfxInfo.context, AGL_SWAP_INTERVAL, &swapInt);
                  ^
1 error generated.
make[3]: *** [libGem_la-Manager.lo] Error 1
- --
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src
-DGEM_INTERNAL -DGLEW_BUILD -DGLEW_MX -DPD
-I/Applications/Pd-extended.app/Contents/Resources/src -arch i386 -w -Os
-ffast-math -mmmx -fpascal-strings -MT libBase_la-CPPExtern.lo -MD -MP
-MF .deps/libBase_la-CPPExtern.Tpo -c CPPExtern.cpp -o
libBase_la-CPPExtern.o >/dev/null 2>&1
GemContext.cpp:37:44: error: allocation of incomplete type 'void'
    context(new GLEWContext), xcontext(new GemGlewXContext),
                                           ^~~~~~~~~~~~~~~
./GemContext.h:26:27: note: expanded from macro 'GemGlewXContext'
#  define GemGlewXContext void
                          ^~~~
GemContext.cpp:53:56: error: allocation of incomplete type 'void'
    context(new GLEWContext(*p.context)), xcontext(new
GemGlewXContext(*p.xcontext)),
                                                       ^~~~~~~~~~~~~~~
./GemContext.h:26:27: note: expanded from macro 'GemGlewXContext'
#  define GemGlewXContext void
                          ^~~~
2 errors generated.
make[3]: *** [libBase_la-GemContext.lo] Error 1


- --
n


Le 06/06/2014 14:29, IOhannes m zmölnig via GEM-dev a écrit :
> On 06/05/2014 09:36 PM, Nicolas Montgermont via GEM-dev wrote:
>>
>> Thanks for your work!
>> I've done a fresh copy of your repository on github and from what I
>> understand, it tries to compile GemWinCreateMac.cpp
>> (no more Gem.pd_darwin whithout tweaking...)
>> in the Makefile.am, i see it's related to the ENABLE_MULTICONTEXT
variable,
>> in my config.log i have:
>> ENABLE_MULTICONTEXT_FALSE=''
>> ENABLE_MULTICONTEXT_TRUE='#'
>> so it seems I have the wrong value, how can I tell configure to enable
>> multicontext ?
>
> oh darn, i forgot the crucial part:
> you have to specify "--enable-multicontext" when running configure.
>
> all my fixes depend on having multicontext enabled.
>

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

iEYEARECAAYFAlORzoQACgkQyQxFEQ9xedMa5gCgqNb1CfTXDekFUsfieHDJIDAS
gmEAn0lASVZ4/VfbHffO669iTqgaoBgy
=e+96
-----END PGP SIGNATURE-----




More information about the GEM-dev mailing list