Small improvement but i get an error. If someone could help me ? (I want to create a tutorial for MacOsX users after). thx
Jack
~/Desktop/Mickael/gridflow-0.9.0 rybn12$ ./configure
This is the GridFlow 0.9.0 configurator within Ruby version
1.8.1-2003-12-25
[gcc3] GNU C++ Compiler 3 (or 4):
--------------------------------------------> found
[stl] C++ Standard Template Library:
-----------------------------------------> found
[gcc64] GNU C++ in 64-bit mode:
----------------------------------------------> missing (gcc: error:
'off_t' was not declared in this scope)
[libruby] Ruby as a dynamic library:
-----------------------------------------> found
[librubystatic] Ruby as a static library:
------------------------------------> disabled (using libruby instead)
[libtclh] Tcl headers <tcl.h>:
-----------------------------------------------> found
[libtcl] Tcl as a dynamic library:
-------------------------------------------> found
[pentium] Pentium-compatible CPU:
--------------------------------------------> missing (powerpc-darwin
instead)
[mmx] MMX-compatible CPU (using NASM):
---------------------------------------> disabled (would need pentium)
[usb] USB Library:
-----------------------------------------------------------> missing
(where is usb.h ?)
[x11] X11 Display Protocol:
--------------------------------------------------> found
[x11_shm] X11 acceleration by shared memory (XSHM plugin):
-------------------> found
[sdl] Simple Directmedia Layer (experimental support):
-----------------------> missing (gcc compilation error)
[objcpp] GNU/Apple ObjectiveC++ Compiler:
------------------------------------> found
[quartz] Apple Quartz/Cocoa Display:
-----------------------------------------> found
[aalib] Ascii Art Library:
---------------------------------------------------> found
[jpeg] JPEG Library:
---------------------------------------------------------> found
[png] PNG Library <libpng12/png.h>:
------------------------------------------> found
[videodev] Video4linux Digitizer Driver Interface:
---------------------------> missing (where is linux/videodev.h ?)
[mpeg3] HeroineWarrior LibMPEG3 <libmpeg3/libmpeg3.h>:
-----------------------> missing (where is libmpeg3/libmpeg3.h ?)
[mpeg3] HeroineWarrior LibMPEG3 <libmpeg3.h>:
--------------------------------> missing (where is libmpeg3.h ?)
[quicktimeapple] Apple's QuickTime:
------------------------------------------> found
[quicktimehw] Plaum's LibQuickTime (try #1) <lqt/quicktime.h>:
---------------> disabled (using quicktimeapple instead)
[quicktimehw] Plaum's LibQuickTime (try #1) <quicktime/quicktime.h>:
---------> disabled (using quicktimeapple instead)
[quicktimehw] Plaum's LibQuickTime (try #2) <lqt/quicktime.h>:
---------------> disabled (using quicktimeapple instead)
[quicktimehw] Plaum's LibQuickTime (try #2) <quicktime/quicktime.h>:
---------> disabled (using quicktimeapple instead)
[puredata] PureData (or DesireData):
-----------------------------------------> found
[desiredata] DesireData:
-----------------------------------------------------> missing (gcc:
error: 'gobj_subscribe' was not declared in this scope)
[gem09] PureData GEM (source code) with m_holdname:
--------------------------> missing (gcc: error: `CPPExtern' has not
been declared)
[gem08] PureData GEM (source code) without m_holdname:
-----------------------> missing (gcc compilation error)
[opencv] Intel OpenCV:
-------------------------------------------------------> missing (gcc
compilation error)
[fftw] FFTW (Fastest Fourier Transform in the West):
-------------------------> missing (gcc compilation error)
generating ./config.make generating config.h See ./config.log if you want the details of the configuration tests. If you are satisfied with that configuration, you may go on, and do "make". "make install" is not needed anymore, just move your gridflow directory to "lib/pd/extra". If you get stuck, you could contact the author about it, but first make sure you read "doc/install.html".
~/Desktop/Mickael/gridflow-0.9.0 rybn12$ make
ruby -w base/source_filter.rb base/grid.h base/grid.h.fcs
ruby -w base/source_filter.rb base/main.c base/main.c.fcs
g++ -I/sw/include -I/usr/local/include -I/Users/rybn12/include -I. -xc
++ -fno-operator-names -fno-omit-frame-pointer -I/usr/X11R6/include -
I/sw/lib/ruby/1.8/powerpc-darwin -I/usr/include -I../Gem/src -I../Gem/
src -falign-functions=16 -DMACOSX -Wall -Wno-unused -Wunused-variable
-g -fPIC -I. -O2 -funroll-loops -c base/main.c.fcs -o base/main.o
base/main.c.fcs:39:22: error: execinfo.h: No such file or directory
base/main.c.fcs: In function `void blargh()':
base/main.c.fcs:522: error: 'backtrace' was not declared in this scope
base/main.c.fcs:523: error: 'backtrace_symbols' was not declared in
this scope
base/main.c.fcs: At global scope:
base/main.c.fcs:297: warning: 'ciFObject' defined but not used
make: *** [base/main.o] Error 1
Hello list,
The things go further with gridflow-0.8.4 but i get an error (Note :
it's the same with ./configure --no-gem08 --no-gem09) :
Any idea ?
Jack
~/Desktop/Mickael/gridflow-0.8.4 rybn12$ ./configure
This is the GridFlow 0.8.4 configurator within Ruby version
1.8.1-2003-12-25
[gcc3] GNU C++ Compiler 3 (or 4):
--------------------------------------------> found
[stl] C++ Standard Template Library:
-----------------------------------------> found
[gcc64] GNU C++ in 64-bit mode:
----------------------------------------------> missing (gcc: error:
'off_t' was not declared in this scope)
[libruby] Ruby as a dynamic library (try #1):
--------------------------------> found
[librubystatic] Ruby as a static library:
------------------------------------> disabled (using libruby instead)
[pentium] Pentium-compatible CPU:
--------------------------------------------> missing (powerpc-darwin
instead)
[mmx] MMX-compatible CPU (using NASM):
---------------------------------------> disabled (would need pentium)
[profiler] profiler (speed measurements):
------------------------------------> disabled (would need pentium)
[usb] USB Library:
-----------------------------------------------------------> missing
(where is usb.h ?)
[dv1394] DV1394 for Linux:
---------------------------------------------------> missing (gcc
compilation error)
[x11] X11 Display Protocol:
--------------------------------------------------> found
[x11_shm] X11 acceleration by shared memory (XSHM plugin):
-------------------> found
[sdl] Simple Directmedia Layer (experimental support):
-----------------------> missing (gcc compilation error)
[objcpp] GNU/Apple ObjectiveC++ Compiler:
------------------------------------> found
[quartz] Apple Quartz/Cocoa Display:
-----------------------------------------> found
[aalib] Ascii Art Library:
---------------------------------------------------> found
[jpeg] JPEG Library:
---------------------------------------------------------> found
[png] PNG Library <libpng12/png.h>:
------------------------------------------> found
[videodev] Video4linux Digitizer Driver Interface:
---------------------------> missing (where is linux/videodev.h ?)
[mpeg3] HeroineWarrior LibMPEG3 <libmpeg3/libmpeg3.h>:
-----------------------> missing (where is libmpeg3/libmpeg3.h ?)
[mpeg3] HeroineWarrior LibMPEG3 <libmpeg3.h>:
--------------------------------> missing (where is libmpeg3.h ?)
[quicktimeapple] Apple's QuickTime:
------------------------------------------> found
[quicktimehw] Plaum's LibQuickTime (try #1) <lqt/quicktime.hlqt/
colormodels.hlqt/lqt.hlqt/lqt_version.hlqt/lqt_codecinfo.h>: >
disabled (using quicktimeapple instead)
[quicktimehw] Plaum's LibQuickTime (try #1) <quicktime/
quicktime.hquicktime/colormodels.hquicktime/lqt.hquicktime/
lqt_version.hquicktime/lqt_codecinfo.h>: > disabled (using
quicktimeapple instead)
[quicktimehw] Plaum's LibQuickTime (try #2) <lqt/quicktime.hlqt/
colormodels.hlqt/lqt.hlqt/lqt_version.hlqt/lqt_codecinfo.h>: >
disabled (using quicktimeapple instead)
[quicktimehw] Plaum's LibQuickTime (try #2) <quicktime/
quicktime.hquicktime/colormodels.hquicktime/lqt.hquicktime/
lqt_version.hquicktime/lqt_codecinfo.h>: > disabled (using
quicktimeapple instead)
[puredata] Miller Puckette's Pure Data:
--------------------------------------> found
[gem09] PureData GEM (source code) with m_holdname:
--------------------------> missing (gcc: error: `CPPExtern' has not
been declared)
[gem08] PureData GEM (source code) without m_holdname:
-----------------------> missing (gcc compilation error)
[fftw] FFTW (Fastest Fourier Transform in the West):
-------------------------> missing (gcc compilation error)
generating ./config.make generating config.h delegating to: devices4ruby/extconf.rb (back) See ./config.log if you want the details of the configuration tests. If you are satisfied with that configuration, you may go on, and do "make". "make install" is not needed anymore, just move your gridflow directory to "lib/pd/extra". If you get stuck, you could contact the author about it, but first make sure you read "doc/install.html".
~/Desktop/Mickael/gridflow-0.8.4 rybn12$ make
ruby -w base/source_filter.rb base/grid.h base/grid.h.fcs
ruby -w base/source_filter.rb base/main.c base/main.c.fcs
g++ -I/sw/include -I/usr/local/include -I/Users/rybn12/include -I. -xc
++ -fno-operator-names -fno-omit-frame-pointer -I/usr/X11R6/include -
I/sw/lib/ruby/1.8/powerpc-darwin -I../Gem/src -I../Gem/src -falign-
functions=16 -DMACOSX -Wall -Wno-unused -Wunused-variable -g -fPIC -
I. -O2 -funroll-loops -c base/main.c.fcs -o base/main.o
base/main.c.fcs:283: warning: 'ciFObject' defined but not used
ruby -w base/source_filter.rb base/grid.c base/grid.c.fcs
g++ -I/sw/include -I/usr/local/include -I/Users/rybn12/include -I. -xc
++ -fno-operator-names -fno-omit-frame-pointer -I/usr/X11R6/include -
I/sw/lib/ruby/1.8/powerpc-darwin -I../Gem/src -I../Gem/src -falign-
functions=16 -DMACOSX -Wall -Wno-unused -Wunused-variable -g -fPIC -
I. -O2 -funroll-loops -c base/grid.c.fcs -o base/grid.o
ruby -w base/source_filter.rb base/bitpacking.c base/bitpacking.c.fcs
g++ -I/sw/include -I/usr/local/include -I/Users/rybn12/include -I. -xc
++ -fno-operator-names -fno-omit-frame-pointer -I/usr/X11R6/include -
I/sw/lib/ruby/1.8/powerpc-darwin -I../Gem/src -I../Gem/src -falign-
functions=16 -DMACOSX -Wall -Wno-unused -Wunused-variable -g -fPIC -
I. -O2 -funroll-loops -c base/bitpacking.c.fcs -o base/bitpacking.o
ruby -w base/source_filter.rb base/flow_objects.c base/
flow_objects.c.fcs
g++ -I/sw/include -I/usr/local/include -I/Users/rybn12/include -I. -xc
++ -fno-operator-names -fno-omit-frame-pointer -I/usr/X11R6/include -
I/sw/lib/ruby/1.8/powerpc-darwin -I../Gem/src -I../Gem/src -falign-
functions=16 -DMACOSX -Wall -Wno-unused -Wunused-variable -g -fPIC -
I. -O2 -funroll-loops -c base/flow_objects.c.fcs -o base/flow_objects.o
ruby -w base/source_filter.rb base/number.c base/number.c.fcs
g++ -I/sw/include -I/usr/local/include -I/Users/rybn12/include -I. -xc
++ -fno-operator-names -fno-omit-frame-pointer -I/usr/X11R6/include -
I/sw/lib/ruby/1.8/powerpc-darwin -I../Gem/src -I../Gem/src -falign-
functions=16 -DMACOSX -Wall -Wno-unused -Wunused-variable -g -fPIC -
I. -O2 -funroll-loops -DPASS1 -c base/number.c.fcs -o base/number.1.o
g++ -I/sw/include -I/usr/local/include -I/Users/rybn12/include -I. -xc
++ -fno-operator-names -fno-omit-frame-pointer -I/usr/X11R6/include -
I/sw/lib/ruby/1.8/powerpc-darwin -I../Gem/src -I../Gem/src -falign-
functions=16 -DMACOSX -Wall -Wno-unused -Wunused-variable -g -fPIC -
I. -O2 -funroll-loops -DPASS2 -c base/number.c.fcs -o base/number.2.o
base/number.c.fcs: In static member function static void Yand<T>::neutral(T*, LeftRight) [with T = uint8]': base/number.c.fcs:336: instantiated from here base/number.c.fcs:221: warning: converting of negative value '-0x00000000000000001' to 'unsigned char' g++ -I/sw/include -I/usr/local/include -I/Users/rybn12/include -I. -xc ++ -fno-operator-names -fno-omit-frame-pointer -I/usr/X11R6/include - I/sw/lib/ruby/1.8/powerpc-darwin -I../Gem/src -I../Gem/src -falign- functions=16 -DMACOSX -Wall -Wno-unused -Wunused-variable -g -fPIC - I. -O2 -funroll-loops -DPASS3 -c base/number.c.fcs -o base/number.3.o g++ -I/sw/include -I/usr/local/include -I/Users/rybn12/include -I. -xc ++ -fno-operator-names -fno-omit-frame-pointer -I/usr/X11R6/include - I/sw/lib/ruby/1.8/powerpc-darwin -I../Gem/src -I../Gem/src -falign- functions=16 -DMACOSX -Wall -Wno-unused -Wunused-variable -g -fPIC - I. -O2 -funroll-loops -DPASS4 -c base/number.c.fcs -o base/number.4.o ruby -w base/source_filter.rb format/x11.c format/x11.c.fcs g++ -I/sw/include -I/usr/local/include -I/Users/rybn12/include -I. -xc ++ -fno-operator-names -fno-omit-frame-pointer -I/usr/X11R6/include - I/sw/lib/ruby/1.8/powerpc-darwin -I../Gem/src -I../Gem/src -falign- functions=16 -DMACOSX -Wall -Wno-unused -Wunused-variable -g -fPIC - I. -O2 -funroll-loops -c format/x11.c.fcs -o format/x11.o ruby -w base/source_filter.rb format/quartz.m format/quartz.m.fcs g++ -I/sw/include -I/usr/local/include -I/Users/rybn12/include -I. -xc ++ -fno-operator-names -fno-omit-frame-pointer -I/usr/X11R6/include - I/sw/lib/ruby/1.8/powerpc-darwin -I../Gem/src -I../Gem/src -falign- functions=16 -DMACOSX -Wall -Wno-unused -Wunused-variable -g -fPIC - I. -O2 -funroll-loops -xobjective-c++ -c format/quartz.m.fcs -o format/quartz.o format/quartz.m.fcs: In function
void GFView_display(GFView*)':
format/quartz.m.fcs:111: warning: instance variable imheight' is @protected; this will be a hard error in the future format/quartz.m.fcs:111: warning: instance variable
imwidth' is
@protected; this will be a hard error in the future
format/quartz.m.fcs: In function `void FormatQuartz_startup(Ruby)':
format/quartz.m.fcs:223: warning: unused variable 'pool'
ruby -w base/source_filter.rb format/aalib.c format/aalib.c.fcs
g++ -I/sw/include -I/usr/local/include -I/Users/rybn12/include -I. -xc
++ -fno-operator-names -fno-omit-frame-pointer -I/usr/X11R6/include -
I/sw/lib/ruby/1.8/powerpc-darwin -I../Gem/src -I../Gem/src -falign-
functions=16 -DMACOSX -Wall -Wno-unused -Wunused-variable -g -fPIC -
I. -O2 -funroll-loops -c format/aalib.c.fcs -o format/aalib.o
ruby -w base/source_filter.rb format/jpeg.c format/jpeg.c.fcs
g++ -I/sw/include -I/usr/local/include -I/Users/rybn12/include -I. -xc
++ -fno-operator-names -fno-omit-frame-pointer -I/usr/X11R6/include -
I/sw/lib/ruby/1.8/powerpc-darwin -I../Gem/src -I../Gem/src -falign-
functions=16 -DMACOSX -Wall -Wno-unused -Wunused-variable -g -fPIC -
I. -O2 -funroll-loops -c format/jpeg.c.fcs -o format/jpeg.o
ruby -w base/source_filter.rb format/png.c format/png.c.fcs
g++ -I/sw/include -I/usr/local/include -I/Users/rybn12/include -I. -xc
++ -fno-operator-names -fno-omit-frame-pointer -I/usr/X11R6/include -
I/sw/lib/ruby/1.8/powerpc-darwin -I../Gem/src -I../Gem/src -falign-
functions=16 -DMACOSX -Wall -Wno-unused -Wunused-variable -g -fPIC -
I. -O2 -funroll-loops -c format/png.c.fcs -o format/png.o
ruby -w base/source_filter.rb format/quicktimeapple.c format/
quicktimeapple.c.fcs
g++ -I/sw/include -I/usr/local/include -I/Users/rybn12/include -I. -xc
++ -fno-operator-names -fno-omit-frame-pointer -I/usr/X11R6/include -
I/sw/lib/ruby/1.8/powerpc-darwin -I../Gem/src -I../Gem/src -falign-
functions=16 -DMACOSX -Wall -Wno-unused -Wunused-variable -g -fPIC -
I. -O2 -funroll-loops -c format/quicktimeapple.c.fcs -o format/
quicktimeapple.o
format/quicktimeapple.c.fcs:174:2: warning: "/*" within comment
format/quicktimeapple.c.fcs: In member function `Ruby
FormatQuickTimeApple::frame(int, Ruby*)':
format/quicktimeapple.c.fcs:376: warning: unused variable 'savedPort'
format/quicktimeapple.c.fcs:377: warning: unused variable 'savedDevice'
format/quicktimeapple.c.fcs:381: warning: unused variable 'pixmap'
g++ -bundle -undefined suppress -o gridflow.bundle base/main.o base/
grid.o base/bitpacking.o base/flow_objects.o base/number.1.o base/
number.2.o base/number.3.o base/number.4.o format/x11.o format/
quartz.o format/aalib.o format/jpeg.o format/png.o format/
quicktimeapple.o -L/Users/rybn12/lib -L/usr/local/lib -L/sw/lib -lm -
L/usr/X11R6/lib -L/opt/gnome/lib -L/usr/X11R6/lib64 -L/opt/gnome/
lib64 -lX11 -lXext -lobjc -framework Cocoa -laa -ljpeg -lpng -lz -
framework Quicktime -L. -lruby -ldl -lcrypt -lm
/usr/bin/ld: warning -L: directory name (/Users/rybn12/lib) does not
exist
/usr/bin/ld: warning -L: directory name (/opt/gnome/lib) does not exist
/usr/bin/ld: warning -L: directory name (/usr/X11R6/lib64) does not
exist
/usr/bin/ld: warning -L: directory name (/opt/gnome/lib64) does not
exist
/usr/bin/ld: -undefined error or -undefined define_a_way must be used
when -twolevel_namespace is in effect
collect2: ld returned 1 exit status
make: *** [gridflow.bundle] Error 1
Le 12 déc. 07 à 05:11, Jack a écrit :
Small improvement but i get an error. If someone could help me ? (I want to create a tutorial for MacOsX users after). thx
Jack
~/Desktop/Mickael/gridflow-0.9.0 rybn12$ ./configure
This is the GridFlow 0.9.0 configurator within Ruby version 1.8.1-2003-12-25 [gcc3] GNU C++ Compiler 3 (or 4): --------------------------------------------> found [stl] C++ Standard Template Library: -----------------------------------------> found [gcc64] GNU C++ in 64-bit mode: ----------------------------------------------> missing (gcc: error: 'off_t' was not declared in this scope) [libruby] Ruby as a dynamic library: -----------------------------------------> found [librubystatic] Ruby as a static library: ------------------------------------> disabled (using libruby instead) [libtclh] Tcl headers <tcl.h>: -----------------------------------------------> found [libtcl] Tcl as a dynamic library: -------------------------------------------> found [pentium] Pentium-compatible CPU: --------------------------------------------> missing (powerpc-darwin instead) [mmx] MMX-compatible CPU (using NASM): ---------------------------------------> disabled (would need pentium) [usb] USB Library: -----------------------------------------------------------> missing (where is usb.h ?) [x11] X11 Display Protocol: --------------------------------------------------> found [x11_shm] X11 acceleration by shared memory (XSHM plugin): -------------------> found [sdl] Simple Directmedia Layer (experimental support): -----------------------> missing (gcc compilation error) [objcpp] GNU/Apple ObjectiveC++ Compiler: ------------------------------------> found [quartz] Apple Quartz/Cocoa Display: -----------------------------------------> found [aalib] Ascii Art Library: ---------------------------------------------------> found [jpeg] JPEG Library: ---------------------------------------------------------> found [png] PNG Library <libpng12/png.h>: ------------------------------------------> found [videodev] Video4linux Digitizer Driver Interface: ---------------------------> missing (where is linux/videodev.h ?) [mpeg3] HeroineWarrior LibMPEG3 <libmpeg3/libmpeg3.h>: -----------------------> missing (where is libmpeg3/libmpeg3.h ?) [mpeg3] HeroineWarrior LibMPEG3 <libmpeg3.h>: --------------------------------> missing (where is libmpeg3.h ?) [quicktimeapple] Apple's QuickTime: ------------------------------------------> found [quicktimehw] Plaum's LibQuickTime (try #1) <lqt/quicktime.h>: ---------------> disabled (using quicktimeapple instead) [quicktimehw] Plaum's LibQuickTime (try #1) <quicktime/quicktime.h>: ---------> disabled (using quicktimeapple instead) [quicktimehw] Plaum's LibQuickTime (try #2) <lqt/quicktime.h>: ---------------> disabled (using quicktimeapple instead) [quicktimehw] Plaum's LibQuickTime (try #2) <quicktime/quicktime.h>: ---------> disabled (using quicktimeapple instead) [puredata] PureData (or DesireData): -----------------------------------------> found [desiredata] DesireData: -----------------------------------------------------> missing (gcc: error: 'gobj_subscribe' was not declared in this scope) [gem09] PureData GEM (source code) with m_holdname: --------------------------> missing (gcc: error: `CPPExtern' has not been declared) [gem08] PureData GEM (source code) without m_holdname: -----------------------> missing (gcc compilation error) [opencv] Intel OpenCV: -------------------------------------------------------> missing (gcc compilation error) [fftw] FFTW (Fastest Fourier Transform in the West): -------------------------> missing (gcc compilation error)
generating ./config.make generating config.h See ./config.log if you want the details of the configuration tests. If you are satisfied with that configuration, you may go on, and do "make". "make install" is not needed anymore, just move your gridflow directory to "lib/pd/extra". If you get stuck, you could contact the author about it, but first make sure you read "doc/install.html".
~/Desktop/Mickael/gridflow-0.9.0 rybn12$ make ruby -w base/source_filter.rb base/grid.h base/grid.h.fcs ruby -w base/source_filter.rb base/main.c base/main.c.fcs g++ -I/sw/include -I/usr/local/include -I/Users/rybn12/include -I. -xc ++ -fno-operator-names -fno-omit-frame-pointer -I/usr/X11R6/include - I/sw/lib/ruby/1.8/powerpc-darwin -I/usr/include -I../Gem/src -I../Gem/ src -falign-functions=16 -DMACOSX -Wall -Wno-unused -Wunused-variable -g -fPIC -I. -O2 -funroll-loops -c base/main.c.fcs -o base/main.o base/main.c.fcs:39:22: error: execinfo.h: No such file or directory base/main.c.fcs: In function `void blargh()': base/main.c.fcs:522: error: 'backtrace' was not declared in this scope base/main.c.fcs:523: error: 'backtrace_symbols' was not declared in this scope base/main.c.fcs: At global scope: base/main.c.fcs:297: warning: 'ciFObject' defined but not used make: *** [base/main.o] Error 1
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/ listinfo/pd-list
On Thu, 13 Dec 2007, Jack wrote:
g++ -bundle -undefined suppress -o gridflow.bundle base/main.o base/ grid.o base/bitpacking.o base/flow_objects.o base/number.1.o base/ number.2.o base/number.3.o base/number.4.o format/x11.o format/ quartz.o format/aalib.o format/jpeg.o format/png.o format/ quicktimeapple.o -L/Users/rybn12/lib -L/usr/local/lib -L/sw/lib -lm - L/usr/X11R6/lib -L/opt/gnome/lib -L/usr/X11R6/lib64 -L/opt/gnome/ lib64 -lX11 -lXext -lobjc -framework Cocoa -laa -ljpeg -lpng -lz - framework Quicktime -L. -lruby -ldl -lcrypt -lm /usr/bin/ld: -undefined error or -undefined define_a_way must be used when -twolevel_namespace is in effect
apparently, this is fixed in 0.8.5... now if you fix the problem with 0.8.5 the way I just said in another mail, it might work. Please tell me if it does, so that I can fix it in my copy too.
_ _ __ ___ _____ ________ _____________ _____________________ ... | Mathieu Bouchard - tél:+1.514.383.3801, Montréal QC Canada
I get gridflow.pd_darwin and gridflow_bundle after : //#include <execinfo.h> void blargh () { // void *array[25]; // int nSize = backtrace(array, 25); // char **symbols = backtrace_symbols(array, nSize); // for (int i=0; i<nSize; i++) fprintf(stderr,"%d: %s\n",i,symbols[i]); // free(symbols); } in main.c And : ./configure ./configure --no-quartz --no-quicktimeapple (because i get errors)
Then i put gridflow folder with gridflow.pd_darwin in '/Contents/Resources/Extra' and gridflow_bundle in '/sw/libruby/1.8/powerpc-darwin'.
Then after [import gridflow] i get : setting up Ruby-for-PureData... gridflow.pd_darwin found itself in /Applications/Pd-extended.app/Contents/Resources/Scripts/../extra/gridflow we are using Ruby version 1.8.2 DIR = "/Applications/Pd-extended.app/Contents/Resources/Scripts/../extra/gridflow" ERROR: Cannot load GridFlow-for-Ruby (gridflow.so)
[import] loaded library: gridflow
Can i do //#include <execinfo.h> and ./configure ./configure --no-quartz --no-quicktimeapple ? If it's ok what is the next step ? thx. ++
Jack
On Thu, 13 Dec 2007, Jack wrote:
g++ -bundle -undefined suppress -o gridflow.bundle base/main.o base/ grid.o base/bitpacking.o base/flow_objects.o base/number.1.o base/ number.2.o base/number.3.o base/number.4.o format/x11.o format/ quartz.o format/aalib.o format/jpeg.o format/png.o format/ quicktimeapple.o -L/Users/rybn12/lib -L/usr/local/lib -L/sw/lib -lm - L/usr/X11R6/lib -L/opt/gnome/lib -L/usr/X11R6/lib64 -L/opt/gnome/ lib64 -lX11 -lXext -lobjc -framework Cocoa -laa -ljpeg -lpng -lz - framework Quicktime -L. -lruby -ldl -lcrypt -lm /usr/bin/ld: -undefined error or -undefined define_a_way must be used when -twolevel_namespace is in effect
apparently, this is fixed in 0.8.5... now if you fix the problem with 0.8.5 the way I just said in another mail, it might work. Please tell me if it does, so that I can fix it in my copy too.
_ _ __ ___ _____ ________ _____________ _____________________ ... | Mathieu Bouchard - tél:+1.514.383.3801, Montréal QC Canada
Oops, i remove 'gridflow_bundle' from the gridflow folder and it was an error, now ALL WORKS FINE !!!! Yeah ! I can load GF in PD. But i got [#out window] : couldn't create. Any idea ? ++
Jack
I get gridflow.pd_darwin and gridflow_bundle after : //#include <execinfo.h> void blargh () { // void *array[25]; // int nSize = backtrace(array, 25); // char **symbols = backtrace_symbols(array, nSize); // for (int i=0; i<nSize; i++) fprintf(stderr,"%d: %s\n",i,symbols[i]); // free(symbols); } in main.c And : ./configure ./configure --no-quartz --no-quicktimeapple (because i get errors)
Then i put gridflow folder with gridflow.pd_darwin in '/Contents/Resources/Extra' and gridflow_bundle in '/sw/libruby/1.8/powerpc-darwin'.
Then after [import gridflow] i get : setting up Ruby-for-PureData... gridflow.pd_darwin found itself in /Applications/Pd-extended.app/Contents/Resources/Scripts/../extra/gridflow we are using Ruby version 1.8.2 DIR = "/Applications/Pd-extended.app/Contents/Resources/Scripts/../extra/gridflow" ERROR: Cannot load GridFlow-for-Ruby (gridflow.so)
[import] loaded library: gridflow
Can i do //#include <execinfo.h> and ./configure ./configure --no-quartz --no-quicktimeapple ? If it's ok what is the next step ? thx. ++
Jack
On Thu, 13 Dec 2007, Jack wrote:
g++ -bundle -undefined suppress -o gridflow.bundle base/main.o base/ grid.o base/bitpacking.o base/flow_objects.o base/number.1.o base/ number.2.o base/number.3.o base/number.4.o format/x11.o format/ quartz.o format/aalib.o format/jpeg.o format/png.o format/ quicktimeapple.o -L/Users/rybn12/lib -L/usr/local/lib -L/sw/lib -lm - L/usr/X11R6/lib -L/opt/gnome/lib -L/usr/X11R6/lib64 -L/opt/gnome/ lib64 -lX11 -lXext -lobjc -framework Cocoa -laa -ljpeg -lpng -lz - framework Quicktime -L. -lruby -ldl -lcrypt -lm /usr/bin/ld: -undefined error or -undefined define_a_way must be used when -twolevel_namespace is in effect
apparently, this is fixed in 0.8.5... now if you fix the problem with 0.8.5 the way I just said in another mail, it might work. Please tell me if it does, so that I can fix it in my copy too.
_ _ __ ___ _____ ________ _____________ _____________________ ... | Mathieu Bouchard - tél:+1.514.383.3801, Montréal QC Canada
it seems that i must replace [#out window] by [#out quartz] with macosx. So i have a big problem because i think that it is not good to do ./configure --no-quartz before. Hmm. ++
Jack
Oops, i remove 'gridflow_bundle' from the gridflow folder and it was an error, now ALL WORKS FINE !!!! Yeah ! I can load GF in PD. But i got [#out window] : couldn't create. Any idea ? ++
Jack
I get gridflow.pd_darwin and gridflow_bundle after : //#include <execinfo.h> void blargh () { // void *array[25]; // int nSize = backtrace(array, 25); // char **symbols = backtrace_symbols(array, nSize); // for (int i=0; i<nSize; i++) fprintf(stderr,"%d: %s\n",i,symbols[i]); // free(symbols); } in main.c And : ./configure ./configure --no-quartz --no-quicktimeapple (because i get errors)
Then i put gridflow folder with gridflow.pd_darwin in '/Contents/Resources/Extra' and gridflow_bundle in '/sw/libruby/1.8/powerpc-darwin'.
Then after [import gridflow] i get : setting up Ruby-for-PureData... gridflow.pd_darwin found itself in /Applications/Pd-extended.app/Contents/Resources/Scripts/../extra/gridflow we are using Ruby version 1.8.2 DIR = "/Applications/Pd-extended.app/Contents/Resources/Scripts/../extra/gridflow" ERROR: Cannot load GridFlow-for-Ruby (gridflow.so)
[import] loaded library: gridflow
Can i do //#include <execinfo.h> and ./configure ./configure --no-quartz --no-quicktimeapple ? If it's ok what is the next step ? thx. ++
Jack
On Thu, 13 Dec 2007, Jack wrote:
g++ -bundle -undefined suppress -o gridflow.bundle base/main.o base/ grid.o base/bitpacking.o base/flow_objects.o base/number.1.o base/ number.2.o base/number.3.o base/number.4.o format/x11.o format/ quartz.o format/aalib.o format/jpeg.o format/png.o format/ quicktimeapple.o -L/Users/rybn12/lib -L/usr/local/lib -L/sw/lib -lm - L/usr/X11R6/lib -L/opt/gnome/lib -L/usr/X11R6/lib64 -L/opt/gnome/ lib64 -lX11 -lXext -lobjc -framework Cocoa -laa -ljpeg -lpng -lz - framework Quicktime -L. -lruby -ldl -lcrypt -lm /usr/bin/ld: -undefined error or -undefined define_a_way must be used when -twolevel_namespace is in effect
apparently, this is fixed in 0.8.5... now if you fix the problem with 0.8.5 the way I just said in another mail, it might work. Please tell me if it does, so that I can fix it in my copy too.
_ _ __ ___ _____ ________ _____________ _____________________ ... | Mathieu Bouchard - tél:+1.514.383.3801, Montréal QC Canada
My precedent mail was wrong. [#out window] works fine with macosx.
Here what i do (I think this is not the best method because things like camera control don't work. But a lot of exemples work fine. Perhaps Mathieu can help to improve operation) :
Put a // like this :
//#include <execinfo.h>
void blargh () { // void *array[25]; // int nSize = backtrace(array, 25); // char **symbols = backtrace_symbols(array, nSize); // for (int i=0; i<nSize; i++) fprintf(stderr,"%d:%s\n",i,symbols[i]); // free(symbols); } in main.c
Put a // before all lines that contain 'gfpost' in /format/quartz.m and in /format/quicktimeapple.c
Copy your gridflow folder in /Pd-extended/Contents/Resources/extra/
In the Terminal : enter 'cd ' and drag your gridflow folder in the Terminal window, then push 'enter'
Enter './configure' and after 'make' At the end you should have a 'gridflow.bundle' file and a 'gridflow.pd_darwin' file in your gridflow folder.
Start PD. Create a new document. Create the object [import gridflow].
It should work.
Hope it will help you. ++
Jack
it seems that i must replace [#out window] by [#out quartz] with macosx. So i have a big problem because i think that it is not good to do ./configure --no-quartz before. Hmm. ++
Jack
Oops, i remove 'gridflow_bundle' from the gridflow folder and it was an error, now ALL WORKS FINE !!!! Yeah ! I can load GF in PD. But i got [#out window] : couldn't create. Any idea ? ++
Jack
I get gridflow.pd_darwin and gridflow_bundle after : //#include <execinfo.h> void blargh () { // void *array[25]; // int nSize = backtrace(array, 25); // char **symbols = backtrace_symbols(array, nSize); // for (int i=0; i<nSize; i++) fprintf(stderr,"%d: %s\n",i,symbols[i]); // free(symbols); } in main.c And : ./configure ./configure --no-quartz --no-quicktimeapple (because i get errors)
Then i put gridflow folder with gridflow.pd_darwin in '/Contents/Resources/Extra' and gridflow_bundle in '/sw/libruby/1.8/powerpc-darwin'.
Then after [import gridflow] i get : setting up Ruby-for-PureData... gridflow.pd_darwin found itself in /Applications/Pd-extended.app/Contents/Resources/Scripts/../extra/gridflow we are using Ruby version 1.8.2 DIR = "/Applications/Pd-extended.app/Contents/Resources/Scripts/../extra/gridflow" ERROR: Cannot load GridFlow-for-Ruby (gridflow.so)
[import] loaded library: gridflow
Can i do //#include <execinfo.h> and ./configure ./configure --no-quartz --no-quicktimeapple ? If it's ok what is the next step ? thx. ++
Jack
On Thu, 13 Dec 2007, Jack wrote:
g++ -bundle -undefined suppress -o gridflow.bundle base/main.o base/ grid.o base/bitpacking.o base/flow_objects.o base/number.1.o base/ number.2.o base/number.3.o base/number.4.o format/x11.o format/ quartz.o format/aalib.o format/jpeg.o format/png.o format/ quicktimeapple.o -L/Users/rybn12/lib -L/usr/local/lib -L/sw/lib -lm - L/usr/X11R6/lib -L/opt/gnome/lib -L/usr/X11R6/lib64 -L/opt/gnome/ lib64 -lX11 -lXext -lobjc -framework Cocoa -laa -ljpeg -lpng -lz - framework Quicktime -L. -lruby -ldl -lcrypt -lm /usr/bin/ld: -undefined error or -undefined define_a_way must be used when -twolevel_namespace is in effect
apparently, this is fixed in 0.8.5... now if you fix the problem with 0.8.5 the way I just said in another mail, it might work. Please tell me if it does, so that I can fix it in my copy too.
_ _ __ ___ _____ ________ _____________ _____________________ ... | Mathieu Bouchard - tél:+1.514.383.3801, Montréal QC Canada
On Wed, 26 Dec 2007, jack@rybn.org wrote:
it seems that i must replace [#out window] by [#out quartz] with macosx.
At startup, GridFlow automatically detects which driver [#out window] is supposed to be an alias for. You need to compile at least one of the two ([#out quartz] or [#out x11]) to be able to use [#out window].
_ _ __ ___ _____ ________ _____________ _____________________ ... | Mathieu Bouchard - tél:+1.514.383.3801, Montréal QC Canada
On Wed, 26 Dec 2007, jack@rybn.org wrote:
Oops, i remove 'gridflow_bundle' from the gridflow folder and it was an error, now ALL WORKS FINE !!!! Yeah ! I can load GF in PD. But i got [#out window] : couldn't create. Any idea ? ++
If you configure without [#out quartz] support, then [#out window] will not be an alias for [#out quartz]: instead it will be an alias for [#out x11]. Then you need to have all x11 headers installed (e.g. from FINK), and you need to run Apple X11 or another "X11 server".
[#out quartz] does not need X11, so if it works, it might be better... but [#out x11] has more features.
_ _ __ ___ _____ ________ _____________ _____________________ ... | Mathieu Bouchard - tél:+1.514.383.3801, Montréal QC Canada
On Wed, 26 Dec 2007, jack@rybn.org wrote:
Then i put gridflow folder with gridflow.pd_darwin in '/Contents/Resources/Extra' and gridflow_bundle in '/sw/libruby/1.8/powerpc-darwin'. ERROR: Cannot load GridFlow-for-Ruby (gridflow.so)
The latter should be named gridflow.bundle and should reside in the same place as gridflow.pd_darwin.
Can i do //#include <execinfo.h>
Yes you can do it, as long as you comment out the contents of the function that uses that.
and ./configure ./configure --no-quartz --no-quicktimeapple ?
Well, I don't know why you'd like to configure without those, but you are allowed to, if this is what you wish.
_ _ __ ___ _____ ________ _____________ _____________________ ... | Mathieu Bouchard - tél:+1.514.383.3801, Montréal QC Canada
On Wed, 12 Dec 2007, Jack wrote:
Small improvement but i get an error.
Oh, sorry for the extraneous mail.
base/main.c.fcs:39:22: error: execinfo.h: No such file or directory base/main.c.fcs: In function `void blargh()': base/main.c.fcs:522: error: 'backtrace' was not declared in this scope base/main.c.fcs:523: error: 'backtrace_symbols' was not declared in this scope
What is your version of gcc?
If you delete the contents of the section labeled "blargh", it should compile. Try making it just like:
void blargh () { }
by editing base/main.c.
_ _ __ ___ _____ ________ _____________ _____________________ ... | Mathieu Bouchard - tél:+1.514.383.3801, Montréal QC Canada