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.
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
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
On Sat, 1 Aug 2009, Claude Heiland-Allen 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
oh yes, but I've also got that message when using conflicting versions of GEM: e.g. compile "with" source that has m_holder, and then try to run with another GEM that doesn't have m_holder. I think it was even possible to get this with same version numbers, e.g. early 0.90 versions aren't compatible with late 0.90, and thus have to be treated like it's 0.89... but I don't really recall.
_ _ __ ___ _____ ________ _____________ _____________________ ... | Mathieu Bouchard - tél:+1.514.383.3801, Montréal, Québec
On Sat, 1 Aug 2009, 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" and i don't know what to do...
This is because you compiled GridFlow with GEM support, so GEM has to be loaded before GridFlow in .pdrc or .pdsettings or else you could recompile GridFlow without GEM support. It will be like this until GridFlow's GEM support becomes a separate external.
context : laptop toshiba a10 / ubuntu dapper / gcc 4.0.3 / gridflow
from cvs
do you mean svn, or cvs?
_ _ __ ___ _____ ________ _____________ _____________________ ... | Mathieu Bouchard - tél:+1.514.383.3801, Montréal, Québec
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@iem.at http://lists.puredata.info/listinfo/pd-dev
On Sat, 1 Aug 2009, sisil mehta wrote:
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.
Yes, CPLUS_INCLUDE_PATH is recognised by GridFlow.
LIBRARY_PATH is parallel to C_INCLUDE_PATH and CPLUS_INCLUDE_PATH, but instead of putting the "include" folders in it, you put the "lib" folders.
LD_LIBRARY_PATH is normally exactly the same. It is used when running programs, whereas LIBRARY_PATH is used for compiling programs. When you compile programs for your own computer and have only one OS, then those two variables should have the exact same content.
_ _ __ ___ _____ ________ _____________ _____________________ ... | Mathieu Bouchard - tél:+1.514.383.3801, Montréal, Québec