sisil mehta | 1 Aug 2009 07:00
Picon

Pure Data/adding _path for gridflow

I am having trouble running any of the gridflow exmaples on PD. my gridflow directory is located at /usr/lib/pd/extra/gridflow. I created the .pdrc file in /home
I am a newb to this.So how do i add the CPLUS_INCLUDE_PATH for gridflow? also what is LIBRARY_PATH and LD_LIBRARY_PATH and  what is this path supposed to be?
Sisil.

_______________________________________________
Pd-dev mailing list
Pd-dev@...
http://lists.puredata.info/listinfo/pd-dev
sisil mehta | 1 Aug 2009 14:44
Picon

Re: Pure Data/adding _path for gridflow


hello,
i have just compiled gridflow from cvs and get a :

"/usr/lib/pd/extra/gridflow/gridflow.pd_linux:
/usr/lib/pd/extra/gridflow/gridflow.pd_linux: undefined symbol:
_ZN9CPPExtern8m_holderE
gridflow: can't load library"
and i don't know what to do...
context : laptop toshiba a10 / ubuntu dapper / gcc 4.0.3 / gridflow
from cvs

Sisil

_______________________________________________
Pd-dev mailing list
Pd-dev@...
http://lists.puredata.info/listinfo/pd-dev
Claude Heiland-Allen | 1 Aug 2009 15:39

Re: Pure Data/adding _path for gridflow

Hi,

Please remember to write to the list (cc'd again) too, in case others 
can help...

sisil mehta wrote:
> Hi,
> In the .pdrc filei added the following
> -lib Gem
> -lib gridflow
> i Also dont know how to set the path for CPLUS_INCLUDE_PATH,LD_LIBRARY_PATH
> and LIBRARY_PATH because i cant find any of the .so files that the
> installation guide mentions. Basically what should be the path of the three
> mentioned paths?

No idea, I never adjusted any of that stuff...

You need to have Gem.pd_linux (or similar) in your path: where did you 
install Gem?  Or, recompile gridflow without Gem support..

> 
> *on opening PD i got the error:*
> 
> reading startup file: /home/sisil/.pdrc
> startup args from RC file:
> -lib
> Gem
> -lib
> gridflow
> input channels = 2, output channels = 2
> opened 0 MIDI input device(s) and 0 MIDI output device(s).
> input channels = 2, output channels = 2
> opened /dev/dsp for reading and writing
> 
> opened audio output on /dev/dsp\; got 2 channels
> bytes per sample = 2
> setting nfrags = 8, fragsize 1024
> 
> audiobuffer set to 50 msec
> opened audio input device /dev/dsp\; got 2 channels
> bytes per sample = 2
> tried ./gridflow.l_i386 and failed
> tried /usr/lib/pd/extra/gridflow/bundled/gridflow.l_i386 and failed
> tried /usr/lib/pd/extra/gridflow.l_i386 and failed
> tried ./gridflow.pd_linux and failed
> tried /usr/lib/pd/extra/gridflow/bundled/gridflow.pd_linux and failed
> tried /usr/lib/pd/extra/gridflow.pd_linux and failed
> tried ./gridflow/gridflow.l_i386 and failed
> tried /usr/lib/pd/extra/gridflow/bundled/gridflow/gridflow.l_i386 and failed
> tried /usr/lib/pd/extra/gridflow/gridflow.l_i386 and failed
> tried ./gridflow/gridflow.pd_linux and failed
> tried /usr/lib/pd/extra/gridflow/bundled/gridflow/gridflow.pd_linux and
> failed
> tried /usr/lib/pd/extra/gridflow/gridflow.pd_linux and succeeded
> /usr/lib/pd/extra/gridflow/gridflow.pd_linux:
> /usr/lib/pd/extra/gridflow/gridflow.pd_linux: undefined symbol:
> _ZN9GemPixObj10postrenderEP8GemState
> gridflow: can't load library
> tried ./Gem.l_i386 and failed
> tried /usr/lib/pd/extra/gridflow/bundled/Gem.l_i386 and failed
> tried /usr/lib/pd/extra/Gem.l_i386 and failed
> tried ./Gem.pd_linux and failed
> tried /usr/lib/pd/extra/gridflow/bundled/Gem.pd_linux and failed
> tried /usr/lib/pd/extra/Gem.pd_linux and failed
> tried ./Gem/Gem.l_i386 and failed
> tried /usr/lib/pd/extra/gridflow/bundled/Gem/Gem.l_i386 and failed
> tried /usr/lib/pd/extra/Gem/Gem.l_i386 and failed
> tried ./Gem/Gem.pd_linux and failed
> tried /usr/lib/pd/extra/gridflow/bundled/Gem/Gem.pd_linux and failed
> tried /usr/lib/pd/extra/Gem/Gem.pd_linux and failed
> Gem: can't load library
> 
> 
> Thnks,
> Sisil
> 
> On Sat, Aug 1, 2009 at 8:58 PM, Claude Heiland-Allen <
> claudiusmaximus@...> wrote:
> 
>> sisil mehta wrote:
>>
>>> hello,
>>> i have just compiled gridflow from cvs and get a :
>>>
>>> "/usr/lib/pd/extra/gridflow/gridflow.pd_linux:
>>> /usr/lib/pd/extra/gridflow/gridflow.pd_linux: undefined symbol:
>>> _ZN9CPPExtern8m_holderE
>>>
>>> gridflow: can't load library"
>>>
>> did you compile gridflow with Gem support?
>> if so, you need to load  -lib Gem  before  -lib gridflow
>>
>> $ nm -D /usr/lib/pd/extra/gridflow/gridflow.pd_linux \
>> | grep _ZN9CPPExtern8m_holderE
>>         U _ZN9CPPExtern8m_holderE
>>
>> $ nm -D /usr/lib/pd/extra/Gem/Gem.pd_linux \
>> | grep _ZN9CPPExtern8m_holderE
>> 00333ee8 B _ZN9CPPExtern8m_holderE
>>
>>
>> Claude
>> --
>> http://claudiusmaximus.goto10.org
>>
> 
Claude Heiland-Allen | 1 Aug 2009 14:58

Re: Pure Data/adding _path for gridflow

sisil mehta wrote:
> hello,
> i have just compiled gridflow from cvs and get a :
> 
> "/usr/lib/pd/extra/gridflow/gridflow.pd_linux:
> /usr/lib/pd/extra/gridflow/gridflow.pd_linux: undefined symbol:
> _ZN9CPPExtern8m_holderE
> 
> gridflow: can't load library"

did you compile gridflow with Gem support?
if so, you need to load  -lib Gem  before  -lib gridflow

$ nm -D /usr/lib/pd/extra/gridflow/gridflow.pd_linux \
| grep _ZN9CPPExtern8m_holderE
          U _ZN9CPPExtern8m_holderE

$ nm -D /usr/lib/pd/extra/Gem/Gem.pd_linux \
| grep _ZN9CPPExtern8m_holderE
00333ee8 B _ZN9CPPExtern8m_holderE

Claude
--

-- 
http://claudiusmaximus.goto10.org
sisil mehta | 1 Aug 2009 16:16
Picon

Re: Pure Data/adding _path for gridflow

hi,
I installed Gem here: /usr/lib/pd/doc/Gem .After doing so pd found Gem.pd_linux.I'll just highlight the errors i've faced so that it becomes easier for those who have dealt with installing pd with gridflow:
Issues with ./configure:
This is the GridFlow 0.9.4 configurator
[gcc3] GNU C++ Compiler 3 (or 4): --------------------------------------------> found
[stl] C++ Standard Template Library: -----------------------------------------> found
[gcc64] GNU C++ in 64-bit mode: ----------------------------------------------> missing (runtime error)
[pentium] Pentium-compatible CPU: --------------------------------------------> found
[mmx] MMX-compatible CPU (using NASM): ---------------------------------------> missing (return false)
[x11] X11 Display Protocol: --------------------------------------------------> found
[x11_shm] X11 acceleration by shared memory (XSHM plugin): -------------------> found
[sdl] Simple Directmedia Layer (experimental support): -----------------------> found
[objcpp] GNU/Apple ObjectiveC++ Compiler: ------------------------------------> missing (where is objc/Object.h ?)
[quartz] Apple Quartz/Cocoa Display: -----------------------------------------> disabled (would need objcpp)
[aalib] Ascii Art Library: ---------------------------------------------------> found
[netpbm] NetPBM 10 Library: --------------------------------------------------> found
[jpeg] JPEG Library: ---------------------------------------------------------> found
[png] PNG Library <libpng12/png.h>: ------------------------------------------> found
[videodev] Video4linux Digitizer Driver Interface: ---------------------------> found
[dc1394] DC1394 for Linux: ---------------------------------------------------> found
[mpeg3] HeroineWarrior LibMPEG3 <libmpeg3/libmpeg3.h>: -----------------------> missing (where is libmpeg3/libmpeg3.h ?)
[mpeg3] HeroineWarrior LibMPEG3 <libmpeg3.h>: --------------------------------> found
[quicktimeapple] Apple's QuickTime: ------------------------------------------> missing (gcc compilation error)
[quicktimehw] Plaum's LibQuickTime (try #1) <lqt/quicktime.h>: ---------------> found
[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: -------------------------------------------------------> found
[fftw] FFTW (Fastest Fourier Transform in the West): -------------------------> found
Issus when opening PD:

reading startup file: /home/sisil/.pdrc
startup args from RC file:
-lib
Gem
-lib
gridflow
input channels = 2, output channels = 2
opened 0 MIDI input device(s) and 0 MIDI output device(s).
input channels = 2, output channels = 2
opened /dev/dsp for reading and writing

opened audio output on /dev/dsp\; got 2 channels
bytes per sample = 2
setting nfrags = 8, fragsize 1024

audiobuffer set to 50 msec
opened audio input device /dev/dsp\; got 2 channels
bytes per sample = 2
tried /usr/lib/pd/extra/gridflow.l_i386 and failed
tried /usr/lib/pd/extra/gridflow.pd_linux and succeeded
/usr/lib/pd/extra/gridflow.pd_linux: /usr/lib/pd/extra/gridflow.pd_linux: undefined symbol: _ZN9GemPixObj10postrenderEP8GemState
/usr/lib/pd/extra/gridflow: can't load library
tried /usr/lib/pd/doc/gem.l_i386 and failed
tried /usr/lib/pd/doc/gem.pd_linux and failed
tried /usr/lib/pd/doc/gem/gem.l_i386 and failed
tried /usr/lib/pd/doc/gem/gem.pd_linux and failed
/usr/lib/pd/doc/gem: can't load library
tried ./Gem.l_i386 and failed
tried /usr/lib/pd/extra/gridflow/bundled/Gem.l_i386 and failed
tried /usr/lib/pd/extra/Gem.l_i386 and failed
tried ./Gem.pd_linux and failed
tried /usr/lib/pd/extra/gridflow/bundled/Gem.pd_linux and failed
tried /usr/lib/pd/extra/Gem.pd_linux and succeeded
GEM: Graphics Environment for Multimedia
GEM: ver: 0.90
GEM: compiled: Aug 16 2007
GEM: maintained by IOhannes m zmoelnig
GEM: Authors :    Mark Danks (original version on irix/windows)
GEM:         Chris Clepper (macOS-X)
GEM:         Daniel Heckenberg (windows)
GEM:         James Tittle (macOS-X)
GEM:         IOhannes m zmoelnig (linux/windows)
tried ./gridflow.l_i386 and failed
tried /usr/lib/pd/extra/gridflow/bundled/gridflow.l_i386 and failed
tried /usr/lib/pd/extra/gridflow.l_i386 and failed
tried ./gridflow.pd_linux and failed
tried /usr/lib/pd/extra/gridflow/bundled/gridflow.pd_linux and failed
tried /usr/lib/pd/extra/gridflow.pd_linux and succeeded
/usr/lib/pd/extra/gridflow.pd_linux: /usr/lib/pd/extra/gridflow.pd_linux: undefined symbol: _ZN9GemPixObj14processRGBAMMXER11imageStruct
gridflow: can't load library

I know this is too much to ask but can you post detailed instructions(i'm new to linux..sorry..)

Sisil.

On Sat, Aug 1, 2009 at 9:39 PM, Claude Heiland-Allen <claudiusmaximus-hk8Gx6dT9hkdnm+yROfE0A@public.gmane.org> wrote:
Hi,

Please remember to write to the list (cc'd again) too, in case others can help...


sisil mehta wrote:
Hi,
In the .pdrc filei added the following
-lib Gem
-lib gridflow
i Also dont know how to set the path for CPLUS_INCLUDE_PATH,LD_LIBRARY_PATH
and LIBRARY_PATH because i cant find any of the .so files that the
installation guide mentions. Basically what should be the path of the three
mentioned paths?

No idea, I never adjusted any of that stuff...

You need to have Gem.pd_linux (or similar) in your path: where did you install Gem?  Or, recompile gridflow without Gem support..



*on opening PD i got the error:*


reading startup file: /home/sisil/.pdrc
startup args from RC file:
-lib
Gem
-lib
gridflow
input channels = 2, output channels = 2
opened 0 MIDI input device(s) and 0 MIDI output device(s).
input channels = 2, output channels = 2
opened /dev/dsp for reading and writing

opened audio output on /dev/dsp\; got 2 channels
bytes per sample = 2
setting nfrags = 8, fragsize 1024

audiobuffer set to 50 msec
opened audio input device /dev/dsp\; got 2 channels
bytes per sample = 2
tried ./gridflow.l_i386 and failed
tried /usr/lib/pd/extra/gridflow/bundled/gridflow.l_i386 and failed
tried /usr/lib/pd/extra/gridflow.l_i386 and failed
tried ./gridflow.pd_linux and failed
tried /usr/lib/pd/extra/gridflow/bundled/gridflow.pd_linux and failed
tried /usr/lib/pd/extra/gridflow.pd_linux and failed
tried ./gridflow/gridflow.l_i386 and failed
tried /usr/lib/pd/extra/gridflow/bundled/gridflow/gridflow.l_i386 and failed
tried /usr/lib/pd/extra/gridflow/gridflow.l_i386 and failed
tried ./gridflow/gridflow.pd_linux and failed
tried /usr/lib/pd/extra/gridflow/bundled/gridflow/gridflow.pd_linux and
failed
tried /usr/lib/pd/extra/gridflow/gridflow.pd_linux and succeeded
/usr/lib/pd/extra/gridflow/gridflow.pd_linux:
/usr/lib/pd/extra/gridflow/gridflow.pd_linux: undefined symbol:
_ZN9GemPixObj10postrenderEP8GemState
gridflow: can't load library
tried ./Gem.l_i386 and failed
tried /usr/lib/pd/extra/gridflow/bundled/Gem.l_i386 and failed
tried /usr/lib/pd/extra/Gem.l_i386 and failed
tried ./Gem.pd_linux and failed
tried /usr/lib/pd/extra/gridflow/bundled/Gem.pd_linux and failed
tried /usr/lib/pd/extra/Gem.pd_linux and failed
tried ./Gem/Gem.l_i386 and failed
tried /usr/lib/pd/extra/gridflow/bundled/Gem/Gem.l_i386 and failed
tried /usr/lib/pd/extra/Gem/Gem.l_i386 and failed
tried ./Gem/Gem.pd_linux and failed
tried /usr/lib/pd/extra/gridflow/bundled/Gem/Gem.pd_linux and failed
tried /usr/lib/pd/extra/Gem/Gem.pd_linux and failed
Gem: can't load library


Thnks,
Sisil

On Sat, Aug 1, 2009 at 8:58 PM, Claude Heiland-Allen <
claudiusmaximus-hk8Gx6dT9hkdnm+yROfE0A@public.gmane.org> wrote:

sisil mehta wrote:

hello,
i have just compiled gridflow from cvs and get a :

"/usr/lib/pd/extra/gridflow/gridflow.pd_linux:
/usr/lib/pd/extra/gridflow/gridflow.pd_linux: undefined symbol:
_ZN9CPPExtern8m_holderE

gridflow: can't load library"

did you compile gridflow with Gem support?
if so, you need to load  -lib Gem  before  -lib gridflow

$ nm -D /usr/lib/pd/extra/gridflow/gridflow.pd_linux \
| grep _ZN9CPPExtern8m_holderE
       U _ZN9CPPExtern8m_holderE

$ nm -D /usr/lib/pd/extra/Gem/Gem.pd_linux \
| grep _ZN9CPPExtern8m_holderE
00333ee8 B _ZN9CPPExtern8m_holderE


Claude
--
http://claudiusmaximus.goto10.org




_______________________________________________
Pd-dev mailing list
Pd-dev@...
http://lists.puredata.info/listinfo/pd-dev
Alexandre Castonguay | 1 Aug 2009 18:52
Picon

Re: Pure Data/adding _path for gridflow

Hiya,

If GridFlow runs, could you be more specific about the problems with the 
examples?  You may need to install more deps before compiling, what does 
your config.log look like?

You can also ask on irc.freenode.net, channel #dataflow.

Cheers,

Alexandre

sisil mehta a écrit :
> I am having trouble running any of the gridflow exmaples on PD. my 
> gridflow directory is located at /usr/lib/pd/extra/gridflow. I created 
> the .pdrc file in /home
> I am a newb to this.So how do i add the CPLUS_INCLUDE_PATH for 
> gridflow? also what is LIBRARY_PATH and LD_LIBRARY_PATH and  what is 
> this path supposed to be?
> Sisil.
> ------------------------------------------------------------------------
>
> _______________________________________________
> Pd-dev mailing list
> Pd-dev@...
> http://lists.puredata.info/listinfo/pd-dev
>   
sisil mehta | 1 Aug 2009 23:20
Picon

PureData/Gridflow/Camera

I have been trying to run the motion_detect.pd  and have been unable to configure the camera. I have installed v4l (format/videodetect.c). Does gridflow support any webcam?(i have a integrated Creative webcam on my laptop.) I read on a forum about some driver for the philips cam. How do i go about installing drivers for camera for gridflow?(i'm a newb...)(can i make any cam other than the philips one, which has drivers ,work?and usually from what source does gridflow get video?).

Thnks,
Sisil

_______________________________________________
Pd-dev mailing list
Pd-dev@...
http://lists.puredata.info/listinfo/pd-dev
sisil mehta | 1 Aug 2009 23:22
Picon

PureData/Gridflow/Windows

Pure Data does work on windows. However will the gridflow libs work on windows as well? what if i use cygwin. Has anyone tried this before (i'm a newb...so any help is appreciated)

Sisil.

_______________________________________________
Pd-dev mailing list
Pd-dev@...
http://lists.puredata.info/listinfo/pd-dev
sisil mehta | 2 Aug 2009 07:08
Picon

GridFlow/#labeling

I just can find the #labeling file? i have gridflow 0.9.4 has it been replaced by some other file??

_______________________________________________
Pd-dev mailing list
Pd-dev@...
http://lists.puredata.info/listinfo/pd-dev
Alexandre Castonguay | 2 Aug 2009 07:21
Picon

Re: PureData/Gridflow/Camera

Hi Sisil,

I just tried it with a logitech camera and I get a hard crash.  The same 
camera works under Gem. I will be able to try it some more in a couple 
of days.

As for windows and gf...I think you are better off staying in linux.

Cheers,

Alexandre

sisil mehta a écrit :
> I have been trying to run the motion_detect.pd  and have been unable 
> to configure the camera. I have installed v4l (format/videodetect.c). 
> Does gridflow support any webcam?(i have a integrated Creative webcam 
> on my laptop.) I read on a forum about some driver for the philips 
> cam. How do i go about installing drivers for camera for gridflow?(i'm 
> a newb...)(can i make any cam other than the philips one, which has 
> drivers ,work?and usually from what source does gridflow get video?).
>
> Thnks,
> Sisil
> ------------------------------------------------------------------------
>
> _______________________________________________
> Pd-dev mailing list
> Pd-dev@...
> http://lists.puredata.info/listinfo/pd-dev
>   

Gmane