Hi
I'm trying to compile extended from the CVS and everytime I get the same error on my openSUSE box:
g++ -c -g -O2 -fPIC -freg-struct-return -O3 -falign-loops=32
-falign-functions=32 -falign-jumps=32 -funroll-loops -ffast-math -mmmx
-I/usr/include/lqt -I.. -I/home/dubian/pure-data/pd/src
libfidtrack_fidtrackX.cpp -o libfidtrack_fidtrackX.o
../Pixes/filmMPEG3.h:70: error: ISO C++ forbids declaration of 'mpeg3_t'
with no type
../Pixes/filmMPEG3.h:70: error: expected ';' before '*' token
filmMPEG3.cpp: In constructor 'filmMPEG3::filmMPEG3(int)':
filmMPEG3.cpp:37: error: 'mpeg_file' was not declared in this scope
filmMPEG3.cpp: In member function 'virtual void filmMPEG3::close()':
filmMPEG3.cpp:53: error: 'mpeg_file' was not declared in this scope
filmMPEG3.cpp:53: error: 'mpeg3_close' was not declared in this scope
filmMPEG3.cpp:54: error: 'mpeg_file' was not declared in this scope
filmMPEG3.cpp: In member function 'virtual bool filmMPEG3::open(char*,
int)':
filmMPEG3.cpp:63: error: 'mpeg3_check_sig' was not declared in this scope
filmMPEG3.cpp:64: error: 'mpeg_file' was not declared in this scope
filmMPEG3.cpp:64: error: 'mpeg3_open' was not declared in this scope
filmMPEG3.cpp:65: error: 'mpeg3_has_video' was not declared in this scope
filmMPEG3.cpp:69: error: 'mpeg3_total_vstreams' was not declared in this
scope
filmMPEG3.cpp:72: error: 'mpeg3_video_frames' was not declared in this scope
filmMPEG3.cpp:73: error: 'mpeg3_frame_rate' was not declared in this scope
filmMPEG3.cpp:75: error: 'mpeg3_video_width' was not declared in this scope
filmMPEG3.cpp:76: error: 'mpeg3_video_height' was not declared in this scope
filmMPEG3.cpp: In member function 'virtual pixBlock* filmMPEG3::getFrame()':
filmMPEG3.cpp:118: error: 'mpeg_file' was not declared in this scope
filmMPEG3.cpp:122: error: 'MPEG3_RGBA8888' was not declared in this scope
filmMPEG3.cpp:123: error: 'mpeg3_read_frame' was not declared in this scope
filmMPEG3.cpp:139: error: 'mpeg_file' was not declared in this scope
filmMPEG3.cpp:139: error: 'mpeg3_read_yuvframe_ptr' was not declared in this
scope
filmMPEG3.cpp: In member function 'virtual int filmMPEG3::changeImage(int,
int)':
filmMPEG3.cpp:157: error: 'mpeg_file' was not declared in this scope
filmMPEG3.cpp:157: error: 'mpeg3_set_frame' was not declared in this scope
make[3]: *** [filmMPEG3.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory /home/dubian/pure-data/Gem/src/Pixes' make[2]: *** [Pixes] Error 2 make[2]: Leaving directory
/home/dubian/pure-data/Gem/src'
make[1]: *** [/home/dubian/pure-data/Gem/src/Gem.pd_linux] Error 2
make[1]: Leaving directory `/home/dubian/pure-data/packages'
make: *** [install] Error 2
Is this because I'm missing a dependency?
Thanks for your help!
Eric
Looks like you are missing libmpeg3.
I created a wiki page so you can keep track of what needs doing to
get stuff building on SUSE, please edit it, you just need a
puredata.info login:
http://puredata.org/docs/developer/SUSE
You can look at the Debian/Fedora pages for examples:
http://puredata.org/docs/developer/Debian http://puredata.org/docs/developer/Fedora
.hc
On Sep 5, 2007, at 12:39 PM, eric labelle wrote:
As we enjoy great advantages from inventions of others, we should be
glad of an opportunity to serve others by any invention of ours; and
this we should do freely and generously. - Benjamin Franklin
Thanks I just installed libmpeg3 and I'll give it a run.
As soon as I sort all this out i'll get the info on the wiki...I know some of my fellow JAD users have been complaining about the absence of pd extended as an rpm in the distribution (for now there is only a Pd rpm and an rpm for creb)
Let you know how it goes!
Eric
2007/9/5, Hans-Christoph Steiner hans@eds.org:
On Wed, 5 Sep 2007, eric labelle wrote:
This is a bug whereby GEM detects whether you have libmpeg3.h but lets you continue yet configures filmMPEG3.cpp in a way that compilation fails. Upon not detecting libmpeg3, GEM should either disable that module or announce that you can't build.
_ _ __ ___ _____ ________ _____________ _____________________ ... | Mathieu Bouchard - tél:+1.514.383.3801, Montréal QC Canada
Yeah Mathieu...it fails everytime...has anyone found a way around that yet?
2007/9/6, Mathieu Bouchard matju@artengine.ca:
eric labelle wrote:
Yeah Mathieu...it fails everytime...has anyone found a way around that yet?
well, obviously the way around is disabling mpeg3 support in Gem. if you configure Gem, just add "--disable-mpeg3" et voila...
another option is to install the libmpeg3-headers! i think Gem's configure just checks for the existence of the library (/usr/lib/lib...) and assumes that the headers are installed too...which is not a very foolproof thing.
if the problem persists, send me the output of configure.
fmgasd.r IOhannes
I've disabled mpeg3 because the "missing" libmpeg3.h get bugging up the Gem compile. Now I have Gem compiled and installed but Pd can't seem to load it! Here is what Pd tells me:
./Gem.pd_linux: ./Gem.pd_linux: undefined symbol: glGetShaderInfoLog Gem: can't load library
I really have no clue and am really new to Pd so maybe it's something obvious but to me it isn't lol :S
Thanks again for taking the time to help me!
e
2007/9/6, IOhannes m zmoelnig zmoelnig@iem.at:
eric labelle wrote:
this has been discussed several times on the list; in case you do not know it, you can access (and search!) the archives of the pd-list at http://lists.puredata.info/pipermail/pd-list
apart from that: you have some weird driver (libGL) vs. headerfiles (GL/) discrepancy that is "normal" to mesa. Gem tries to use openGL-2.0 features which are not supported by your card/openGL-driver. you can force Gem to use a certain openGL-version with the configure-flag "--with-glversion" (try: "--with-glversion=1.5")
m,fg.asdr IOhannes