Hey all,
Has someone put a Gem binary with the multi-blob tracking stuff up somewhere? I'm using 10.3.9.
I tried the command line compile on OSX, but it bailed with:
g++ -c -fPIC -g -O2 -freg-struct-return -O3 -fno-builtin -falign-loops=16 -funroll-loops -ffast-math -faltivec -I.. glsl_fragment.cpp -o glsl_fragment.o In file included from glsl_fragment.h:21, from glsl_fragment.cpp:18: ../Manips/glsl_vertex.h:86: error: 'GLhandleARB' is used as a type, but is not defined as a type. g++ -c -fPIC -g -O2 -freg-struct-return -O3 -fno-builtin -falign-loops=16 -funroll-loops -ffast-math -faltivec -I.. glsl_program.cpp -o glsl_program.o In file included from glsl_program.cpp:15: glsl_program.h:89: error: 'GLhandleARB' is used as a type, but is not defined as a type. glsl_program.h:90: error: syntax error before `*' token glsl_program.h:96: error: syntax error before `*' token glsl_program.h:105: error: syntax error before `*' token g++ -c -fPIC -g -O2 -freg-struct-return -O3 -fno-builtin -falign-loops=16 -funroll-loops -ffast-math -faltivec -I.. glsl_vertex.cpp -o glsl_vertex.o In file included from glsl_vertex.cpp:18: glsl_vertex.h:86: error: 'GLhandleARB' is used as a type, but is not defined as a type. make[1]: *** [glsl_fragment.o] Error 1 make[1]: *** Waiting for unfinished jobs.... glsl_program.cpp: In constructor `glsl_program::glsl_program()': glsl_program.cpp:37: error: class `glsl_program' does not have any field named `m_program' glsl_program.cpp:39: error: class `glsl_program' does not have any field named `m_name' glsl_program.cpp:41: error: class `glsl_program' does not have any field named `m_infoLog' glsl_program.cpp: In member function `virtual void glsl_program::render(GemState*)': glsl_program.cpp:141: error: `m_program' undeclared (first use this function) glsl_program.cpp:141: error: (Each undeclared identifier is reported only once for each function it appears in.) make[1]: *** [glsl_program.o] Error 1 glsl_vertex.cpp: In constructor `glsl_vertex::glsl_vertex()': glsl_vertex.cpp:41: error: class `glsl_vertex' does not have any field named ` m_shader' glsl_vertex.cpp: In constructor `glsl_vertex::glsl_vertex(t_symbol*)': glsl_vertex.cpp:50: error: class `glsl_vertex' does not have any field named ` m_shader' glsl_vertex.cpp: In member function `virtual void glsl_vertex::closeMess()': glsl_vertex.cpp:80: error: `m_shader' undeclared (first use this function) glsl_vertex.cpp:80: error: (Each undeclared identifier is reported only once for each function it appears in.) make[1]: *** [glsl_vertex.o] Error 1 make: *** [Manips] Error 2
I'd rather save my bandwidth to download a binary than do a fresh checkout. I need to use the multi-blob stuff tomorrow afternoon!
Thanks!
.b.
hey ben,
On Jan 17, 2006, at 1:17 PM, B. Bogart wrote:
Hey all,
Has someone put a Gem binary with the multi-blob tracking stuff up somewhere? I'm using 10.3.9.
I tried the command line compile on OSX, but it bailed with:
g++ -c -fPIC -g -O2 -freg-struct-return -O3 -fno-builtin -falign-loops=16 -funroll-loops -ffast-math -faltivec -I.. glsl_fragment.cpp -o glsl_fragment.o In file included from glsl_fragment.h:21, from glsl_fragment.cpp:18: ../Manips/glsl_vertex.h:86: error: 'GLhandleARB' is used as a type, but is not defined as a type.
...snip...
I'd rather save my bandwidth to download a binary than do a fresh checkout. I need to use the multi-blob stuff tomorrow afternoon!
...I won't be able to try a compile on a 10.3.9 system until I get home, but all of these errors have to do with the glsl_* stuff, which isn't supported on < 10.4.x...so, you could just remove those files from your repositories src/manips folder (and probably remove gemframebuffer.cpp/.h from src/controls), and then it should compile...
l8r, james
alas it can't find quicktime.
my ./configure looks like:
checking for g++... g++ checking for C++ compiler default output... a.out checking whether the C++ compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for gcc... gcc checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking for sin in -lm... yes checking for main in -lz... yes checking for dlopen in -ldl... yes checking how to run the C preprocessor... gcc -E checking for X... disabled checking for glInitNames in -lGL... no checking for gluLookAt in -lGLU... no checking for "OpenGL"-framework... yes checking for "AGL"-framework... yes checking for "Carbon"-framework... yes checking for "QuickTime"-framework... yes checking for pkg-config... no checking for PKG_IMAGEMAGICK___CFLAGS... checking for PKG_IMAGEMAGICK___LIBS... checking for ImageMagick++-config... ./configure: line 5544: locale: command not found yes checking for main in -lMagick++... no checking for PKG_TIFF_CFLAGS... checking for PKG_TIFF_LIBS... checking for tiff-config... ./configure: line 5815: locale: command not found yes checking for TIFFOpen in -ltiff... no checking for PKG_JPEG_CFLAGS... checking for PKG_JPEG_LIBS... checking for jpeg-config... ./configure: line 6089: locale: command not found yes checking for jpeg_read_header in -ljpeg... no checking for PKG_LIBQUICKTIME_CFLAGS... checking for PKG_LIBQUICKTIME_LIBS... checking for libquicktime-config... ./configure: line 6364: locale: command not found yes checking for quicktime_init in -lquicktime... no checking for PKG_LQT_CFLAGS... checking for PKG_LQT_LIBS... checking for lqt-config... ./configure: line 6638: locale: command not found yes checking for quicktime_init in -lquicktime... no checking for PKG_MPEG3_CFLAGS... checking for PKG_MPEG3_LIBS... checking for mpeg3-config... ./configure: line 6912: locale: command not found yes checking for mpeg3_check_sig in -lmpeg3... no checking for PKG_MPEG_CFLAGS... checking for PKG_MPEG_LIBS... checking for mpeg-config... ./configure: line 7186: locale: command not found yes checking for OpenMPEG in -lmpeg... no checking for PKG_AVIFILE_CFLAGS... checking for PKG_AVIFILE_LIBS... checking for avifile-config... ./configure: line 7460: locale: command not foundyes checking for CreateIAviReadFile in -laviplay... no checking for PKG_FFMPEG_CFLAGS... checking for PKG_FFMPEG_LIBS... checking for ffmpeg-config... ./configure: line 7734: locale: command not found yes checking for av_open_input_file in -lavformat... no checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking linux/videodev.h usability... no checking linux/videodev.h presence... no checking for linux/videodev.h... no checking for PKG_IEEE1394_CFLAGS... checking for PKG_IEEE1394_LIBS... checking for ieee1394-config... ./configure: line 8457: locale: command not found yes checking for main in -ldv... no checking for PKG_FTGL_CFLAGS... checking for PKG_FTGL_LIBS... checking for ftgl-config... ./configure: line 8726: locale: command not found yes checking for main in -lftgl... no checking for PKG_GLTT_CFLAGS... checking for PKG_GLTT_LIBS... checking for gltt-config... ./configure: line 8995: locale: command not found yes checking for GLTTFont in -lgltt... no checking for pthread_create in -lpthread... yes checking for X... disabled checking for ANSI C header files... (cached) yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking float.h usability... yes checking float.h presence... yes checking for float.h... yes checking for memory.h... (cached) yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking for unistd.h... (cached) yes checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for size_t... yes checking whether time.h and sys/time.h may both be included... yes checking for GLsizeiptrARB... no checking for unsigned int... yes checking size of unsigned int... 4 checking for void *... yes checking size of void *... 4 checking for error_at_line... no checking for pid_t... yes checking for unistd.h... (cached) yes checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking whether gcc needs -traditional... no checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for getpagesize... yes checking for working mmap... yes checking for bzero... yes checking for floor... yes checking for gettimeofday... yes checking for memset... yes checking for munmap... yes checking for pow... yes checking for sqrt... yes checking for strchr... yes checking for strdup... yes checking for strrchr... yes checking for strstr... yes checking m_pd.h usability... yes checking m_pd.h presence... yes checking for m_pd.h... yes checking for glBindProgramARB... yes checking for glBindProgramNV... no disabling NV-extensions checking whether compiler accepts "-freg-struct-return"... yes enabling "register struct return" allows to make use of FreeFrame-effects without recompiling them might break things, if you are using several different compilers checking whether compiler accepts "-O3"... yes checking whether compiler accepts "-fno-builtin"... yes checking whether compiler accepts "-falign-loops=16 -funroll-loops"... yes checking whether compiler accepts "-ffast-math"... yes checking whether compiler accepts "-mmmx"... no checking whether compiler accepts "-faltivec"... yes checking whether linker accepts "-shared -Wl,-export-dynamic"... no checking whether linker accepts "-bundle -bundle_loader no pd in /bin /sbin /usr/bin /usr/sbin /usr/local/bin"... no checking for strip... strip checking if strip is GNU strip... no checking for dos2unix... true configure: creating ./config.status config.status: creating Make.config config.status: creating Base/configDarwin.h config.status: Base/configDarwin.h is unchanged
Result: Target : Gem.pd_darwin Objects : Base Controls Geos Manips MarkEx Nongeos Particles Pixes openGL
Configuration: Compiler : g++ CXXFLAGS : -g -O2 -freg-struct-return -O3 -fno-builtin -falign-loops=16 -funroll-loops -ffast-math -faltivec : INCLUDES : DEFINES :
LIBS : -ldl -lz -lm -lpthread : LDFLAGS : -framework QuickTime -framework Carbon -framework AGL -framework OpenGL :
Strip : strip -x
Install path : /usr/local
pure-data: version : 0.37
used optional libraries:
font-rendering :
image-support use ImageMagick : no use TIFF : no use JPEG : no video-support use mpeg : no use mpeg-3 : no use QuickTime : no use aviplay : no use ffmpeg : no input-support use v4l : no use ieee1394 : no
misc using ARB-extensions : yes using NV-extensions : no using reg-struct-ret : yes
Now run make ..
james tittle wrote:
hey ben,
On Jan 17, 2006, at 1:17 PM, B. Bogart wrote:
Hey all,
Has someone put a Gem binary with the multi-blob tracking stuff up somewhere? I'm using 10.3.9.
I tried the command line compile on OSX, but it bailed with:
g++ -c -fPIC -g -O2 -freg-struct-return -O3 -fno-builtin -falign-loops=16 -funroll-loops -ffast-math -faltivec -I.. glsl_fragment.cpp -o glsl_fragment.o In file included from glsl_fragment.h:21, from glsl_fragment.cpp:18: ../Manips/glsl_vertex.h:86: error: 'GLhandleARB' is used as a type, but is not defined as a type.
...snip...
I'd rather save my bandwidth to download a binary than do a fresh checkout. I need to use the multi-blob stuff tomorrow afternoon!
...I won't be able to try a compile on a 10.3.9 system until I get home, but all of these errors have to do with the glsl_* stuff, which isn't supported on < 10.4.x...so, you could just remove those files from your repositories src/manips folder (and probably remove gemframebuffer.cpp/.h from src/controls), and then it should compile...
l8r, james
On Jan 17, 2006, at 3:08 PM, B. Bogart wrote:
alas it can't find quicktime.
...I wouldn't be so sure :-)
...snip...
checking for "QuickTime"-framework... yes
...ok, so we did find the framework... ...snip...
checking for PKG_LIBQUICKTIME_CFLAGS... checking for PKG_LIBQUICKTIME_LIBS... checking for libquicktime-config... ./configure: line 6364: locale: command not found yes checking for quicktime_init in -lquicktime... no checking for PKG_LQT_CFLAGS... checking for PKG_LQT_LIBS... checking for lqt-config... ./configure: line 6638: locale: command not found yes checking for quicktime_init in -lquicktime... no
...but we aren't finding the libquicktime stuff, which isn't needed unless you're using pix_film/movieNEW...
...snip...
LDFLAGS : -framework QuickTime -framework Carbon -framework AGL -framework OpenGL
...this means we'll link everything ok...
:
Strip : strip -x
Install path : /usr/local
pure-data: version : 0.37
...are you still using 0.37?
used optional libraries:
font-rendering :
...the following has nothing to do with apple's native quicktime, but instead the pix_videoNEW and pix_filmNEW objects...
image-support use ImageMagick : no use TIFF : no use JPEG : no video-support use mpeg : no use mpeg-3 : no use QuickTime : no use aviplay : no use ffmpeg : no input-support use v4l : no use ieee1394 : no
misc using ARB-extensions : yes using NV-extensions : no using reg-struct-ret : yes
Now run make ..
...what happens when you just run make at this point?
jamie
woops, I thought I pasted this part first!
filmQT.cpp:271: error: no `double filmQT::getFPS()' member function declared in class `filmQT' g++ -c -fPIC -g -O2 -freg-struct-return -O3 -fno-builtin -falign-loops=16 -funroll-loops -ffast-math -faltivec -I.. libfidtrack_segment.cpp -o libfidtrack_segment.o make[1]: *** [filmQT.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make: *** [Pixes] Error 2
I just saw the filmQT bit and assumed QT. This does not look very meaningful to me.
Jamie, if you can compile a binary for me please send me a link when you get home and I'll download it over night.
Thanks!
.b.
james tittle wrote:
On Jan 17, 2006, at 3:08 PM, B. Bogart wrote:
alas it can't find quicktime.
...I wouldn't be so sure :-)
...snip...
checking for "QuickTime"-framework... yes
...ok, so we did find the framework... ...snip...
checking for PKG_LIBQUICKTIME_CFLAGS... checking for PKG_LIBQUICKTIME_LIBS... checking for libquicktime-config... ./configure: line 6364: locale: command not found yes checking for quicktime_init in -lquicktime... no checking for PKG_LQT_CFLAGS... checking for PKG_LQT_LIBS... checking for lqt-config... ./configure: line 6638: locale: command not found yes checking for quicktime_init in -lquicktime... no
...but we aren't finding the libquicktime stuff, which isn't needed unless you're using pix_film/movieNEW...
...snip...
LDFLAGS : -framework QuickTime -framework Carbon -framework AGL -framework OpenGL
...this means we'll link everything ok...
:
Strip : strip -x
Install path : /usr/local
pure-data: version : 0.37
...are you still using 0.37?
used optional libraries:
font-rendering :
...the following has nothing to do with apple's native quicktime, but instead the pix_videoNEW and pix_filmNEW objects...
image-support use ImageMagick : no use TIFF : no use JPEG : no video-support use mpeg : no use mpeg-3 : no use QuickTime : no use aviplay : no use ffmpeg : no input-support use v4l : no use ieee1394 : no
misc using ARB-extensions : yes using NV-extensions : no using reg-struct-ret : yes
Now run make ..
...what happens when you just run make at this point?
jamie
B. Bogart wrote:
Hey all,
Has someone put a Gem binary with the multi-blob tracking stuff up somewhere? I'm using 10.3.9.
i will give it a try (our os-X machine is just running, so i can log in and compile)
btw, is there a way to get the osX version from the command-line (with uname i only get the kernel(==darwin)-version
I tried the command line compile on OSX, but it bailed with:
g++ -c -fPIC -g -O2 -freg-struct-return -O3 -fno-builtin -falign-loops=16 -funroll-loops -ffast-math -faltivec -I.. glsl_fragment.cpp -o glsl_fragment.o In file included from glsl_fragment.h:21, from glsl_fragment.cpp:18: ../Manips/glsl_vertex.h:86: error: 'GLhandleARB' is used as a type, but is not defined as a type.
yes i get the same errors.
I'd rather save my bandwidth to download a binary than do a fresh checkout. I need to use the multi-blob stuff tomorrow afternoon!
well, if it was only for the multiblob thing, i would disable openGL/ (with "--disable-openGL"), delete Manips/*program* Manips/*glsl* actually you can delete most things (except those in Base/), if they make any problems...
apart from that, i will try to fix the compilation on my machine (i am pretty sure that it hasn't been updated for ages, so it _might be_ something like 10.3.9)
mfg.asd.r IOhannes