[GEM-dev] pix support on Mavericks (was: Compiling Gem from git on osx mavericks)

Nicolas Montgermont via GEM-dev gem-dev at lists.iem.at
Tue Jun 24 13:55:04 CEST 2014


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

When i compile Gem on osx Mavericks 10.9.3 I have these errors in the QT
plugins:

- --
/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
-framework QuickTime -framework Carbon  -w -Os -ffast-math -mmmx
-fpascal-strings -MT gem_filmDarwin_la-filmDarwin.lo -MD -MP -MF
.deps/gem_filmDarwin_la-filmDarwin.Tpo -c -o
gem_filmDarwin_la-filmDarwin.lo `test -f 'filmDarwin.cpp' || echo
'./'`filmDarwin.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -DPD
-I/Applications/Pd-extended.app/Contents/Resources/src -arch i386
-framework QuickTime -framework Carbon -w -Os -ffast-math -mmmx
-fpascal-strings -MT gem_filmDarwin_la-filmDarwin.lo -MD -MP -MF
.deps/gem_filmDarwin_la-filmDarwin.Tpo -c filmDarwin.cpp  -fno-common
-DPIC -o .libs/gem_filmDarwin_la-filmDarwin.o
filmDarwin.cpp:68:7: error: no type named 'DisposeGWorld' in the global
namespace
    ::DisposeGWorld(m_srcGWorld);
    ~~^
filmDarwin.cpp:148:3: error: use of undeclared identifier 'OffsetRect'
  OffsetRect(&m_srcRect,  -m_srcRect.left,  -m_srcRect.top);
  ^
filmDarwin.cpp:188:42: error: use of undeclared identifier 'GetGWorldDevice'
  ::SetMovieGWorld(m_movie, m_srcGWorld, GetGWorldDevice(m_srcGWorld));
                                         ^
filmDarwin.cpp:206:5: error: no member named 'GetGWorld' in the global
namespace
  ::GetGWorld(&savedPort, &savedDevice);
  ~~^
filmDarwin.cpp:207:5: error: no member named 'SetGWorld' in the global
namespace
  ::SetGWorld(m_srcGWorld, NULL);
  ~~^
filmDarwin.cpp:210:16: error: no member named 'GetGWorldPixMap' in the
global namespace
  m_pixMap = ::GetGWorldPixMap(m_srcGWorld);
             ~~^
6 errors generated.
make[2]: *** [gem_filmDarwin_la-filmDarwin.lo] Error 1
make[2]: Target `all' not remade because of errors.
Making all in filmGMERLIN
Making all in filmMPEG1
Making all in filmMPEG3
Making all in filmQT
/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
-framework QuickTime  -w -Os -ffast-math -mmmx -fpascal-strings -MT
gem_filmQT_la-filmQT.lo -MD -MP -MF .deps/gem_filmQT_la-filmQT.Tpo -c -o
gem_filmQT_la-filmQT.lo `test -f 'filmQT.cpp' || echo './'`filmQT.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -DPD
-I/Applications/Pd-extended.app/Contents/Resources/src -arch i386
-framework QuickTime -w -Os -ffast-math -mmmx -fpascal-strings -MT
gem_filmQT_la-filmQT.lo -MD -MP -MF .deps/gem_filmQT_la-filmQT.Tpo -c
filmQT.cpp  -fno-common -DPIC -o .libs/gem_filmQT_la-filmQT.o
filmQT.cpp:274:42: error: use of undeclared identifier 'GetGWorldDevice'
  ::SetMovieGWorld(m_movie, m_srcGWorld, GetGWorldDevice(m_srcGWorld));
                                         ^
filmQT.cpp:306:5: error: no member named 'GetGWorld' in the global namespace
  ::GetGWorld(&savedPort, &savedDevice);
  ~~^
filmQT.cpp:307:5: error: no member named 'SetGWorld' in the global namespace
  ::SetGWorld(m_srcGWorld, NULL);
  ~~^
3 errors generated.
make[2]: *** [gem_filmQT_la-filmQT.lo] Error 1
make[2]: Target `all' not remade because of errors.
Making all in filmQT4L
Making all in recordQT
/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
-framework QuickTime  -w -Os -ffast-math -mmmx -fpascal-strings -MT
gem_recordQT_la-recordQT.lo -MD -MP -MF
.deps/gem_recordQT_la-recordQT.Tpo -c -o gem_recordQT_la-recordQT.lo
`test -f 'recordQT.cpp' || echo './'`recordQT.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -DPD
-I/Applications/Pd-extended.app/Contents/Resources/src -arch i386
-framework QuickTime -w -Os -ffast-math -mmmx -fpascal-strings -MT
gem_recordQT_la-recordQT.lo -MD -MP -MF
.deps/gem_recordQT_la-recordQT.Tpo -c recordQT.cpp  -fno-common -DPIC -o
.libs/gem_recordQT_la-recordQT.o
recordQT.cpp:298:38: error: use of undeclared identifier 'GetGWorldDevice'
  SetMovieGWorld(m_movie,m_srcGWorld,GetGWorldDevice(m_srcGWorld));
                                     ^
recordQT.cpp:341:50: error: use of undeclared identifier 'GetPortPixMap'
  compErr =
SCCompressSequenceBegin(stdComponent,GetPortPixMap(m_srcGWorld),&m_srcRect,&hImageDesc);
                                                 ^
recordQT.cpp:389:3: error: use of undeclared identifier 'DisposeGWorld'
  DisposeGWorld(m_srcGWorld);
  ^
recordQT.cpp:451:37: error: use of undeclared identifier 'GetPortPixMap'
                                    GetPortPixMap(m_srcGWorld),
                                    ^
4 errors generated.
make[2]: *** [gem_recordQT_la-recordQT.lo] Error 1
- ----------------------


If I understand correctly, there is no more Quicktime framework support
on osx 10.9 so it means if we want to add image and video
decoding/encoding we must build a new plugin?
Must this new plugin rely on the AV.kit framework?
Must it be written in C++ or can it be written in objective C?

Thanks for your infos in that.
Best,

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

iEYEARECAAYFAlOpZxgACgkQyQxFEQ9xedNxgQCdFi64U7cv54/38Nj9aNfq27N8
eaMAoI33jW74PrZsJohdr8aku17WVhCX
=kXE1
-----END PGP SIGNATURE-----




More information about the GEM-dev mailing list