-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Le 22/04/2014 18:08, IOhannes m zmölnig a écrit :
please update your clone. gf,adsr IOhannes
thanks the fix seems to work. Now the compilation stops at:
/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -DGEM_INTERNAL -DGLEW_BUILD -DPD -I/Applications/Pd-extended.app/Contents/Resources/src -arch i386 -g -O2 -Os -ffast-math -mmmx -fpascal-strings -MT libBase_la-GemWinCreateMac.lo -MD -MP -MF .deps/libBase_la-GemWinCreateMac.Tpo -c -o libBase_la-GemWinCreateMac.lo `test -f 'GemWinCreateMac.cpp' || echo './'`GemWinCreateMac.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -DGEM_INTERNAL -DGLEW_BUILD -DPD -I/Applications/Pd-extended.app/Contents/Resources/src -arch i386 -g -O2 -Os -ffast-math -mmmx -fpascal-strings -MT libBase_la-GemWinCreateMac.lo -MD -MP -MF .deps/libBase_la-GemWinCreateMac.Tpo -c GemWinCreateMac.cpp -fno-common -DPIC -o .libs/libBase_la-GemWinCreateMac.o
There is a lot of warnings (mostly "deprecated"), here are the errors: - ----------------------------------------------
GemWinCreateMac.cpp:209:9: error: use of undeclared identifier 'DMGetFirstScreenDevice' hGD = DMGetFirstScreenDevice (true); // check number of screens ^ GemWinCreateMac.cpp:259:8: error: use of undeclared identifier 'DMGetNextScreenDevice' hGD = DMGetNextScreenDevice (hGD, true); ^ GemWinCreateMac.cpp:268:5: error: use of undeclared identifier 'SetRect' SetRect(&info.r, ^ GemWinCreateMac.cpp:298:15: error: use of undeclared identifier 'DMGetNextScreenDevice' hGD = DMGetNextScreenDevice (hGD, true); ^ GemWinCreateMac.cpp:334:5: error: use of undeclared identifier 'SetRect' SetRect(&info.r, ^ GemWinCreateMac.cpp:476:7: error: no member named 'UnlockPixels' in the global namespace ::UnlockPixels(info.pixMap); ~~^ GemWinCreateMac.cpp:477:7: error: no member named 'DisposeGWorld' in the global namespace ::DisposeGWorld(info.offscreen); ~~^ GemWinCreateMac.cpp:504:5: error: use of undeclared identifier 'ShowCursor' ShowCursor(); ^ GemWinCreateMac.cpp:506:5: error: use of undeclared identifier 'HideCursor' HideCursor(); ^ GemWinCreateMac.cpp:632: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); ^ GemWinCreateMac.cpp:632:3: error: invalid use of non-static data member 'getPort' GetPort (&cgrafSave); ^~~~~~~ GemWinCreateMac.cpp:778:13: error: use of undeclared identifier 'GetMainDevice' hGD = GetMainDevice (); ^ GemWinCreateMac.cpp:784:14: error: use of undeclared identifier 'DMGetFirstScreenDevice' hDevice = DMGetFirstScreenDevice (true); ^ GemWinCreateMac.cpp:789:18: error: use of undeclared identifier 'DMGetNextScreenDevice' hDevice = DMGetNextScreenDevice (hDevice, true); ^ GemWinCreateMac.cpp:807:10: error: use of undeclared identifier 'DMGetFirstScreenDevice' hGD = DMGetFirstScreenDevice (true); ^ GemWinCreateMac.cpp:810:27: error: use of undeclared identifier 'DMGetNextScreenDevice' GDHandle hGDNext = DMGetNextScreenDevice (hGD, true); ^ GemWinCreateMac.cpp:828:13: error: use of undeclared identifier 'DMGetFirstScreenDevice' hGD = DMGetFirstScreenDevice (true); ^ GemWinCreateMac.cpp:836:14: error: use of undeclared identifier 'DMGetNextScreenDevice' hGD = DMGetNextScreenDevice (hGD, true); ^ GemWinCreateMac.cpp:1086:18: error: use of undeclared identifier 'GetDeviceList' GDHandle hGD = GetDeviceList (); // get the first screen fatal error: too many errors emitted, stopping now [-ferror-limit=] 93 warnings and 20 errors generated. make[3]: *** [libBase_la-GemWinCreateMac.lo] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all] Error 2 make: *** [all-recursive] Error 1
- ----------------------------------------------
thanks in advance, n
- -- http://www.nimon.org