Dear list,
I compiled GEM (on debian/unstable), and configured without ffmpeg and ftgl (./configure --without-ffmpeg --without-ftgl)
starting pd(0.39-1) :
tried /home/gerda/Gem.pd_linux and failed tried /usr/local/lib/pd/extra/Gem.pd_linux and succeeded /usr/local/lib/pd/extra/Gem.pd_linux: /usr/local/lib/pd/extra/Gem.pd_linux: undefined symbol: glUniform4iARB Gem: can't load library
The only gem support I need is quicktime-is there a simple way to avoid that error? Thank you.
Gerda
you should try to use the disable options, i think it is --disable-Manips best regards, vincent
Gerda Strobl wrote:
Dear list,
I compiled GEM (on debian/unstable), and configured without ffmpeg and ftgl (./configure --without-ffmpeg --without-ftgl)
starting pd(0.39-1) :
tried /home/gerda/Gem.pd_linux and failed tried /usr/local/lib/pd/extra/Gem.pd_linux and succeeded /usr/local/lib/pd/extra/Gem.pd_linux: /usr/local/lib/pd/extra/Gem.pd_linux: undefined symbol: glUniform4iARB Gem: can't load library
The only gem support I need is quicktime-is there a simple way to avoid that error? Thank you.
Gerda
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
vincent rioux wrote:
you should try to use the disable options, i think it is --disable-Manips
while this should get you around the error, it is probably a not so good idea (at least, if you need some basic Manips, like [translate])
quick-fix: "--disable-openGL" + delete(! or move somewhere else) "Manips/*program*" and "Manips/glsl*"
better fix: if you have an nvidia-card, install nvidia's proprietary drivers (or get a recent version of openGL somewhere else...)
best fix (note to myself): make the shader-code respect the "--disable-ARB" flag!
mfga.sdr. IOhannes
Gerda Strobl wrote:
Dear list,
or try the attached patch against Base/GemGL.h (and tell me if it worked)
you have to re-run make
mfg.asd.r IOhannes
RCS file: /cvsroot/pd-gem/Gem/src/Base/GemGL.h,v retrieving revision 1.3 diff -u -r1.3 GemGL.h --- GemGL.h 10 Dec 2005 18:40:23 -0000 1.3 +++ GemGL.h 17 Jan 2006 10:58:01 -0000 @@ -61,6 +61,14 @@ # ifdef GL_ARB_fragment_program # undef GL_ARB_fragment_program # endif
+# ifdef GL_ARB_shader_objects +# undef GL_ARB_shader_objects +# endif +# ifdef GL_ARB_shading_language_100 +# undef GL_ARB_shading_language_100 +# endif
# endif /* DONT_USE_ARB */
/* using ATI's GL-libraries you don't have nvidia's extensions... */
Hi,
./configure --without-ffmpeg --disable-ARB
--disable-Manips
tried /home/gerda/Gem/src/Gem.pd_linux and succeeded
/home/gerda/Gem/src/Gem.pd_linux: /home/gerda/Gem/src/Gem.pd_linux:
undefined symbol: glUseProgramObjectARB
produced different undefined symbol.
only: ./configure --without-ffmpeg --disable-ARB still results in: /usr/local/lib/pd/extra/Gem.pd_linux: /usr/local/lib/pd/extra/Gem.pd_linux: undefined symbol: glUniform4iARB
or try the attached patch against Base/GemGL.h (and tell me if it worked)
please slowlier. try patch against-does that mean-add it insided my existing GemGl.h-?
you have to re-run make
just make clean -> and then make again and still using same configure options as before?
Gerda
p.s. I have a radeon card.
Gerda Strobl wrote:
Hi,
./configure --without-ffmpeg --disable-ARB --disable-Manips tried /home/gerda/Gem/src/Gem.pd_linux and succeeded /home/gerda/Gem/src/Gem.pd_linux: /home/gerda/Gem/src/Gem.pd_linux: undefined symbol: glUseProgramObjectARB
well, that's in the openGL/-src, so that's why i proposed "--disable-openGL" instead of "--disable-Manips"
produced different undefined symbol.
only: ./configure --without-ffmpeg --disable-ARB still results in: /usr/local/lib/pd/extra/Gem.pd_linux: /usr/local/lib/pd/extra/Gem.pd_linux: undefined symbol: glUniform4iARB
which just means, that there are several undefined symbols, but pd stops at the first one it finds (so when you get rid of the glUniform4iARB in Manips/ it then finds the glUseProgramObjectARB in openGL/)
you have to re-run make
just make clean -> and then make again and still using same configure options as before?
yes, in theory this should be ok. but feel free to rerun configure like "./configure --disable-ARB --disable-openGL --without-ffmpeg" i really recommend to _not_ disable Manips (but otoh, that depends on what you want: if you need Gem only for reading quicktime and then you convert it to pdp (since pdp's quicktime is so broken), then you might well do without Manips; in this case you can also disable Particles, MarkEx, Geos, Nongeos)
or try the attached patch against Base/GemGL.h (and tell me if it worked)
please slowlier. try patch against-does that mean-add it insided my existing GemGl.h-?
what i sent to you is a patch file that contains the differences between the original GemGL.h (hopefully yours) and a modified version of GemGL.h (which hopefully fixes some of your problems)
"try the attached patch", means that you should "apply" it, using the "patch" program ("man patch")
assuming that you downloaded the file to ~/GemGL.h-ARB.patch and Gem's sources are in src/Gem, this would mean something like:
~$ cd src/Gem/src/Base ~/src/Gem/src/Base$ patch -p0 < ~/GemGL.h-ARB.patch ~/src/Gem/src/Base$ cd .. ~/src/Gem/src$ make
the 2nd line holds the magic
mfg.asd.r IOhannes
Thank you Johannes-now it works again!
(I still have ./configure --disable-ARB and used the patch file you send me.)
lg Gerda
yes, in theory this should be ok. but feel free to rerun configure like "./configure --disable-ARB --disable-openGL --without-ffmpeg" i really recommend to _not_ disable Manips (but otoh, that depends on what you want: if you need Gem only for reading quicktime and then you convert it to pdp (since pdp's quicktime is so broken), then you might well do without Manips; in this case you can also disable Particles, MarkEx, Geos, Nongeos)
or try the attached patch against Base/GemGL.h (and tell me if it worked)
please slowlier. try patch against-does that mean-add it insided my existing GemGl.h-?
what i sent to you is a patch file that contains the differences between the original GemGL.h (hopefully yours) and a modified version of GemGL.h (which hopefully fixes some of your problems)
"try the attached patch", means that you should "apply" it, using the "patch" program ("man patch")
assuming that you downloaded the file to ~/GemGL.h-ARB.patch and Gem's sources are in src/Gem, this would mean something like:
~$ cd src/Gem/src/Base ~/src/Gem/src/Base$ patch -p0 < ~/GemGL.h-ARB.patch ~/src/Gem/src/Base$ cd .. ~/src/Gem/src$ make
the 2nd line holds the magic
mfg.asd.r IOhannes