Stepmania 5 Preview 4 not compiling

A place where Linux Gamers can share their experience and help each other with Linux Games, native or emulated ;)

Moderator: Moderators

Stepmania 5 Preview 4 not compiling

Postby douggle » Wed Nov 16, 2011 0:52

I m running the latest version of Sabayon gnome and i ve been trying to compile stepmania I have the latest source +ffmpeg +codecs and this is the result of my build + ffmpeg output any ideas?


make[1]: Entering directory `/home/douggle/Downloads/sm-ssc/_build/src'
if test -e ver.cpp; then \
build=`sed -rs 's/.*version_num = ([[:digit:]]+);/\1/;q' ver.cpp`; \
build=`expr $build + 1`; \
else \
build=0; \
fi; \
echo "extern const unsigned long version_num = $build;" > ver.cpp; \
echo "extern const char *const version_time = \"`date +"%X %Z (UTC%:z)"`\";" >> ver.cpp;
echo "extern const char *const version_date = \"`date +"%Y%m%d"`\";" >> ver.cpp;
make all-am
make[2]: Entering directory `/home/douggle/Downloads/sm-ssc/_build/src'
g++ -DHAVE_CONFIG_H -I. -I../../src -I../../extern/jsoncpp/include -fno-exceptions -finline-limit=300 -Wall -W -Wno-unused -Wno-switch -O3 -MT stepmania-MovieTexture_FFMpeg.o -MD -MP -MF .deps/stepmania-MovieTexture_FFMpeg.Tpo -c -o stepmania-MovieTexture_FFMpeg.o `test -f 'arch/MovieTexture/MovieTexture_FFMpeg.cpp' || echo '../../src/'`arch/MovieTexture/MovieTexture_FFMpeg.cpp
../../src/arch/MovieTexture/MovieTexture_FFMpeg.cpp: In member function ‘int MovieDecoder_FFMpeg::DecodePacket(float)’:
../../src/arch/MovieTexture/MovieTexture_FFMpeg.cpp:522:28: error: ‘AV_PICTURE_TYPE_B’ was not declared in this scope
../../src/arch/MovieTexture/MovieTexture_FFMpeg.cpp: At global scope:
../../src/arch/MovieTexture/MovieTexture_FFMpeg.cpp:727:1: error: invalid conversion from ‘int (*)(avcodec::URLContext*, unsigned char*, int)’ to ‘int (*)(avcodec::URLContext*, const unsigned char*, int)’
../../src/arch/MovieTexture/MovieTexture_FFMpeg.cpp:727:1: warning: missing initializer for member ‘avcodec::URLProtocol::url_get_file_handle’
../../src/arch/MovieTexture/MovieTexture_FFMpeg.cpp:727:1: warning: missing initializer for member ‘avcodec::URLProtocol::priv_data_size’
../../src/arch/MovieTexture/MovieTexture_FFMpeg.cpp:727:1: warning: missing initializer for member ‘avcodec::URLProtocol::priv_data_class’
../../src/arch/MovieTexture/MovieTexture_FFMpeg.cpp:727:1: warning: missing initializer for member ‘avcodec::URLProtocol::flags’
../../src/arch/MovieTexture/MovieTexture_FFMpeg.cpp:727:1: warning: missing initializer for member ‘avcodec::URLProtocol::url_check’
make[2]: *** [stepmania-MovieTexture_FFMpeg.o] Error 1
make[2]: Leaving directory `/home/douggle/Downloads/sm-ssc/_build/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/douggle/Downloads/sm-ssc/_build/src'
make: *** [all-recursive] Error 1
Building StepMania...failed.
thats the result of ./build.sh -v
this is my ffmpeg printout

sabayon sm-ssc # ffmpeg
ffmpeg version 0.7.6, Copyright (c) 2000-2011 the FFmpeg developers
built on Nov 3 2011 12:50:18 with gcc 4.5.3
configuration: --prefix=/usr --libdir=/usr/lib --shlibdir=/usr/lib --mandir=/usr/share/stallion --enable-shared --cc=i686-pc-linux-gnu-gcc --disable-static --enable-gpl --enable-version3 --enable-postproc --enable-avfilter --disable-stripping --disable-debug --disable-doc --enable-runtime-cpudetect --enable-libmp3lame --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-libfaac --enable-nonfree --enable-libdc1394 --disable-indev=v4l --disable-indev=oss --enable-x11grab --disable-outdev=oss --enable-libfreetype --enable-pthreads --enable-libopencore-amrwb --enable-libopencore-amrnb --enable-libgsm --enable-libspeex --enable-libvpx --disable-altivec --disable-avx --cpu=i686 --enable-hardcoded-tables
libavutil 50. 43. 0 / 50. 43. 0
libavcodec 52.122. 0 / 52.122. 0
libavformat 52.110. 0 / 52.110. 0
libavdevice 52. 5. 0 / 52. 5. 0
libavfilter 1. 80. 0 / 1. 80. 0
libswscale 0. 14. 1 / 0. 14. 1
libpostproc 51. 2. 0 / 51. 2. 0
Hyper fast Audio and Video encoder

I m trying to compile the latest svn/mecruial release
douggle
Baby Hen
 
Posts: 3
Joined: Wed Nov 16, 2011 0:48

Re: Stepmania 5 Preview 4 not compiling

Postby res0r9lm2 » Wed Nov 16, 2011 5:54

I get an error also with ffmpeg 0.7.7 but compiles without ffmpeg
Code: Select all
./configure --without-ffmpeg
res0r9lm2
Simple Hen
 
Posts: 44
Joined: Mon Oct 24, 2011 17:52

Re: Stepmania 5 Preview 4 not compiling

Postby DHalens » Wed Nov 16, 2011 20:11

Take a look to Utils/build.sh to know how it should be compiled. Some time ago that script didn't work for me and I had to manually compile ffmpeg the way that script does.
Btw, latest mercurial revision from today compiles and works.
Former Sabayon staff (retired).
For any personal questions or whatever, contact me trough my G+ profile
User avatar
DHalens
Old Dear Hen
 
Posts: 933
Joined: Thu Apr 10, 2008 23:08
Location: Canary Islands, Spain

Re: Stepmania 5 Preview 4 not compiling

Postby douggle » Wed Nov 16, 2011 22:02

i ended up reinstalling sabayon and now i m getting a different error trying to configure http://pastebin.sabayon.org/pastie/7593 <is the full configure error I have the version of glew installed and every subsequtent release til current is there somewhere i need to symlink this?
douggle
Baby Hen
 
Posts: 3
Joined: Wed Nov 16, 2011 0:48

Re: Stepmania 5 Preview 4 not compiling

Postby douggle » Wed Nov 16, 2011 23:23

i got it functioning now.
douggle
Baby Hen
 
Posts: 3
Joined: Wed Nov 16, 2011 0:48


Return to The Gamers Shed

Who is online

Users browsing this forum: No registered users and 2 guests