Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Write an article for LinuxForums Today! Win Great Prizes!
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > GNU Linux Zone > Linux Applications > Problems compiling Stepmania (Debian Etch)

Forgot Password?
 Linux Applications   I cant get "X" app to work... also discussion about linux programs.

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds
Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 04-22-2007   #1 (permalink)
Just Joined!
 
Join Date: Apr 2007
Posts: 12
Send a message via AIM to akirashinigami
Problems compiling Stepmania (Debian Etch)

I'm trying to compile Stepmania 3.9 from source. I got through the configure step. Now, when I run make, it gives me this error.

Code:
Making all in src
make[1]: Entering directory `/home/akira/StepMania-3.9-src/src'
make  all-am
make[2]: Entering directory `/home/akira/StepMania-3.9-src/src'
if g++ -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/lua50 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT   -finline-limit=300   -Wall -W -Wno-unused -Wno-switch -O3 -MT MovieTexture_FFMpeg.o -MD -MP -MF ".deps/MovieTexture_FFMpeg.Tpo" \
          -c -o MovieTexture_FFMpeg.o `test -f 'arch/MovieTexture/MovieTexture_FFMpeg.cpp' || echo './'`arch/MovieTexture/MovieTexture_FFMpeg.cpp; \
        then mv -f ".deps/MovieTexture_FFMpeg.Tpo" ".deps/MovieTexture_FFMpeg.Po"; \
        else rm -f ".deps/MovieTexture_FFMpeg.Tpo"; exit 1; \
        fi
arch/MovieTexture/MovieTexture_FFMpeg.cpp:23:29: error: ffmpeg/avformat.h: No such file or directory
arch/MovieTexture/MovieTexture_FFMpeg.cpp:36: error: ‘PixelFormat’ in namespace ‘avcodec’ does not name a type
arch/MovieTexture/MovieTexture_FFMpeg.cpp:48: error: ‘PIX_FMT_RGBA32’ is not a member of ‘avcodec’
arch/MovieTexture/MovieTexture_FFMpeg.cpp:58: error: ‘PIX_FMT_RGB24’ is not a member of ‘avcodec’
arch/MovieTexture/MovieTexture_FFMpeg.cpp:68: error: ‘PIX_FMT_BGR24’ is not a member of ‘avcodec’
arch/MovieTexture/MovieTexture_FFMpeg.cpp:78: error: ‘PIX_FMT_RGB555’ is not a member of ‘avcodec’
arch/MovieTexture/MovieTexture_FFMpeg.cpp:82: error: ‘PIX_FMT_NB’ is not a member of ‘avcodec’
arch/MovieTexture/MovieTexture_FFMpeg.cpp:83: error: too many initializers for ‘AVPixelFormat_t’
arch/MovieTexture/MovieTexture_FFMpeg.cpp:83: error: too many initializers for ‘AVPixelFormat_t’
arch/MovieTexture/MovieTexture_FFMpeg.cpp:83: error: too many initializers for ‘AVPixelFormat_t’
arch/MovieTexture/MovieTexture_FFMpeg.cpp:83: error: too many initializers for ‘AVPixelFormat_t’
arch/MovieTexture/MovieTexture_FFMpeg.cpp:83: error: too many initializers for ‘AVPixelFormat_t’
arch/MovieTexture/MovieTexture_FFMpeg.cpp:143: error: ISO C++ forbids declaration of ‘AVFormatContext’ with no type
arch/MovieTexture/MovieTexture_FFMpeg.cpp:143: error: invalid use of ‘::’
arch/MovieTexture/MovieTexture_FFMpeg.cpp:143: error: expected ‘;’ before ‘*’ token
arch/MovieTexture/MovieTexture_FFMpeg.cpp:144: error: ISO C++ forbids declaration of ‘AVStream’ with no type
arch/MovieTexture/MovieTexture_FFMpeg.cpp:144: error: invalid use of ‘::’
arch/MovieTexture/MovieTexture_FFMpeg.cpp:144: error: expected ‘;’ before ‘*’ token
arch/MovieTexture/MovieTexture_FFMpeg.cpp:153: error: ‘AVPacket’ in namespace ‘avcodec’ does not name a type
arch/MovieTexture/MovieTexture_FFMpeg.cpp:156: error: ‘AVFrame’ in namespace ‘avcodec’ does not name a type
arch/MovieTexture/MovieTexture_FFMpeg.cpp: In constructor ‘FFMpeg_Helper::FFMpeg_Helper()’:
arch/MovieTexture/MovieTexture_FFMpeg.cpp:177: error: ‘m_fctx’ was not declared in this scope
arch/MovieTexture/MovieTexture_FFMpeg.cpp:178: error: ‘m_stream’ was not declared in this scope
arch/MovieTexture/MovieTexture_FFMpeg.cpp: In destructor ‘FFMpeg_Helper::~FFMpeg_Helper()’:
arch/MovieTexture/MovieTexture_FFMpeg.cpp:187: error: ‘av_free_packet’ is not a member of ‘avcodec’
arch/MovieTexture/MovieTexture_FFMpeg.cpp:187: error: ‘pkt’ was not declared in this scope
arch/MovieTexture/MovieTexture_FFMpeg.cpp: In member function ‘void FFMpeg_Helper::Init()’:
arch/MovieTexture/MovieTexture_FFMpeg.cpp:204: error: ‘av_free_packet’ is not a member of ‘avcodec’
arch/MovieTexture/MovieTexture_FFMpeg.cpp:204: error: ‘pkt’ was not declared in this scope
arch/MovieTexture/MovieTexture_FFMpeg.cpp: In member function ‘int FFMpeg_Helper::ReadPacket()’:
arch/MovieTexture/MovieTexture_FFMpeg.cpp:272: error: ‘av_free_packet’ is not a member of ‘avcodec’
arch/MovieTexture/MovieTexture_FFMpeg.cpp:272: error: ‘pkt’ was not declared in this scope
arch/MovieTexture/MovieTexture_FFMpeg.cpp:275: error: ‘av_read_frame’ is not a member of ‘avcodec’
arch/MovieTexture/MovieTexture_FFMpeg.cpp:275: error: ‘m_fctx’ was not declared in this scope
arch/MovieTexture/MovieTexture_FFMpeg.cpp:275: error: ‘pkt’ was not declared in this scope
arch/MovieTexture/MovieTexture_FFMpeg.cpp:286: error: ‘m_stream’ was not declared in this scope
arch/MovieTexture/MovieTexture_FFMpeg.cpp:293: error: ‘av_free_packet’ is not a member of ‘avcodec’
arch/MovieTexture/MovieTexture_FFMpeg.cpp: In member function ‘int FFMpeg_Helper::DecodePacket()’:
arch/MovieTexture/MovieTexture_FFMpeg.cpp:305: error: ‘pkt’ was not declared in this scope
arch/MovieTexture/MovieTexture_FFMpeg.cpp:309: error: ‘AV_NOPTS_VALUE’ was not declared in this scope
arch/MovieTexture/MovieTexture_FFMpeg.cpp:310: error: ‘AV_TIME_BASE’ was not declared in this scope
arch/MovieTexture/MovieTexture_FFMpeg.cpp:327: error: ‘FF_INPUT_BUFFER_PADDING_SIZE’ was not declared in this scope
arch/MovieTexture/MovieTexture_FFMpeg.cpp:328: error: ‘avcodec_decode_video’ is not a member of ‘avcodec’
arch/MovieTexture/MovieTexture_FFMpeg.cpp:329: error: ‘m_stream’ was not declared in this scope
arch/MovieTexture/MovieTexture_FFMpeg.cpp:330: error: ‘frame’ was not declared in this scope
arch/MovieTexture/MovieTexture_FFMpeg.cpp:331: error: ‘dummy’ was not declared in this scope
arch/MovieTexture/MovieTexture_FFMpeg.cpp: In member function ‘void MovieTexture_FFMpeg::ConvertFrame()’:
arch/MovieTexture/MovieTexture_FFMpeg.cpp:376: error: ‘AVPicture’ is not a member of ‘avcodec’
arch/MovieTexture/MovieTexture_FFMpeg.cpp:376: error: expected `;' before ‘pict’
arch/MovieTexture/MovieTexture_FFMpeg.cpp:377: error: ‘pict’ was not declared in this scope
arch/MovieTexture/MovieTexture_FFMpeg.cpp:380: error: ‘img_convert’ is not a member of ‘avcodec’
arch/MovieTexture/MovieTexture_FFMpeg.cpp:380: error: ‘struct AVPixelFormat_t’ has no member named ‘pf’
arch/MovieTexture/MovieTexture_FFMpeg.cpp:381: error: ‘AVPicture’ is not a member of ‘avcodec’
arch/MovieTexture/MovieTexture_FFMpeg.cpp:381: error: expected primary-expression before ‘)’ token
arch/MovieTexture/MovieTexture_FFMpeg.cpp:381: error: ‘class FFMpeg_Helper’ has no member named ‘frame’
arch/MovieTexture/MovieTexture_FFMpeg.cpp:381: error: ‘class FFMpeg_Helper’ has no member named ‘m_stream’
arch/MovieTexture/MovieTexture_FFMpeg.cpp:382: error: ‘class FFMpeg_Helper’ has no member named ‘m_stream’
arch/MovieTexture/MovieTexture_FFMpeg.cpp:382: error: ‘class FFMpeg_Helper’ has no member named ‘m_stream’
arch/MovieTexture/MovieTexture_FFMpeg.cpp: At global scope:
arch/MovieTexture/MovieTexture_FFMpeg.cpp:387: error: expected initializer before ‘*’ token
arch/MovieTexture/MovieTexture_FFMpeg.cpp: In constructor ‘MovieTexture_FFMpeg::MovieTexture_FFMpeg(RageTextureID)’:
arch/MovieTexture/MovieTexture_FFMpeg.cpp:421: error: ‘class FFMpeg_Helper’ has no member named ‘m_stream’
arch/MovieTexture/MovieTexture_FFMpeg.cpp:422: error: ‘avcodec_get_pix_fmt_name’ is not a member of ‘avcodec’
arch/MovieTexture/MovieTexture_FFMpeg.cpp:422: error: ‘class FFMpeg_Helper’ has no member named ‘m_stream’
arch/MovieTexture/MovieTexture_FFMpeg.cpp: In function ‘CStdStringA averr_ssprintf(int, const char*, ...)’:
arch/MovieTexture/MovieTexture_FFMpeg.cpp:485: error: ‘AVERROR_IO’ was not declared in this scope
arch/MovieTexture/MovieTexture_FFMpeg.cpp:486: error: ‘AVERROR_NUMEXPECTED’ was not declared in this scope
arch/MovieTexture/MovieTexture_FFMpeg.cpp:487: error: ‘AVERROR_INVALIDDATA’ was not declared in this scope
arch/MovieTexture/MovieTexture_FFMpeg.cpp:488: error: ‘AVERROR_NOMEM’ was not declared in this scope
arch/MovieTexture/MovieTexture_FFMpeg.cpp:489: error: ‘AVERROR_NOFMT’ was not declared in this scope
arch/MovieTexture/MovieTexture_FFMpeg.cpp:490: error: ‘AVERROR_UNKNOWN’ was not declared in this scope
arch/MovieTexture/MovieTexture_FFMpeg.cpp: At global scope:
arch/MovieTexture/MovieTexture_FFMpeg.cpp:497: error: ‘URLContext’ is not a member of ‘avcodec’
arch/MovieTexture/MovieTexture_FFMpeg.cpp:497: error: ‘h’ was not declared in this scope
arch/MovieTexture/MovieTexture_FFMpeg.cpp:497: error: expected primary-expression before ‘const’
arch/MovieTexture/MovieTexture_FFMpeg.cpp:497: error: expected primary-expression before ‘int’
arch/MovieTexture/MovieTexture_FFMpeg.cpp:497: error: initializer expression list treated as compound expression
arch/MovieTexture/MovieTexture_FFMpeg.cpp:498: error: expected ‘,’ or ‘;’ before ‘{’ token
arch/MovieTexture/MovieTexture_FFMpeg.cpp:519: error: ‘URLContext’ is not a member of ‘avcodec’
arch/MovieTexture/MovieTexture_FFMpeg.cpp:519: error: ‘h’ was not declared in this scope
arch/MovieTexture/MovieTexture_FFMpeg.cpp:519: error: expected primary-expression before ‘unsigned’
arch/MovieTexture/MovieTexture_FFMpeg.cpp:519: error: expected primary-expression before ‘int’
arch/MovieTexture/MovieTexture_FFMpeg.cpp:519: error: initializer expression list treated as compound expression
arch/MovieTexture/MovieTexture_FFMpeg.cpp:520: error: expected ‘,’ or ‘;’ before ‘{’ token
arch/MovieTexture/MovieTexture_FFMpeg.cpp:525: error: ‘offset_t’ in namespace ‘avcodec’ does not name a type
arch/MovieTexture/MovieTexture_FFMpeg.cpp:531: error: ‘URLContext’ is not a member of ‘avcodec’
arch/MovieTexture/MovieTexture_FFMpeg.cpp:531: error: ‘h’ was not declared in this scope
arch/MovieTexture/MovieTexture_FFMpeg.cpp:532: error: expected ‘,’ or ‘;’ before ‘{’ token
arch/MovieTexture/MovieTexture_FFMpeg.cpp:538: error: ‘URLProtocol’ in namespace ‘avcodec’ does not name a type
arch/MovieTexture/MovieTexture_FFMpeg.cpp: In function ‘void RegisterProtocols()’:
arch/MovieTexture/MovieTexture_FFMpeg.cpp:556: error: ‘av_register_all’ is not a member of ‘avcodec’
arch/MovieTexture/MovieTexture_FFMpeg.cpp:557: error: ‘register_protocol’ is not a member of ‘avcodec’
But wait! There's more...
akirashinigami is offline  



Reply With Quote
Old 04-22-2007   #2 (permalink)
Just Joined!
 
Join Date: Apr 2007
Posts: 12
Send a message via AIM to akirashinigami
Code:
arch/MovieTexture/MovieTexture_FFMpeg.cpp:557: error: ‘RageProtocol’ was not declared in this scope
arch/MovieTexture/MovieTexture_FFMpeg.cpp: In member function ‘void MovieTexture_FFMpeg::CreateDecoder()’:
arch/MovieTexture/MovieTexture_FFMpeg.cpp:564: error: ‘av_open_input_file’ is not a member of ‘avcodec’
arch/MovieTexture/MovieTexture_FFMpeg.cpp:564: error: ‘class FFMpeg_Helper’ has no member named ‘m_fctx’
arch/MovieTexture/MovieTexture_FFMpeg.cpp:568: error: ‘av_find_stream_info’ is not a member of ‘avcodec’
arch/MovieTexture/MovieTexture_FFMpeg.cpp:568: error: ‘class FFMpeg_Helper’ has no member named ‘m_fctx’
arch/MovieTexture/MovieTexture_FFMpeg.cpp:572: error: ‘AVStream’ is not a member of ‘avcodec’
arch/MovieTexture/MovieTexture_FFMpeg.cpp:572: error: ‘stream’ was not declared in this scope
arch/MovieTexture/MovieTexture_FFMpeg.cpp:572: error: ‘class FFMpeg_Helper’ has no member named ‘m_fctx’
arch/MovieTexture/MovieTexture_FFMpeg.cpp:572: error: ‘FindVideoStream’ was not declared in this scope
arch/MovieTexture/MovieTexture_FFMpeg.cpp:576: error: ‘CODEC_ID_NONE’ is not a member of ‘avcodec’
arch/MovieTexture/MovieTexture_FFMpeg.cpp:579: error: ‘AVCodec’ is not a member of ‘avcodec’
arch/MovieTexture/MovieTexture_FFMpeg.cpp:579: error: ‘codec’ was not declared in this scope
arch/MovieTexture/MovieTexture_FFMpeg.cpp:579: error: ‘avcodec_find_decoder’ is not a member of ‘avcodec’
arch/MovieTexture/MovieTexture_FFMpeg.cpp:584: error: ‘avcodec_open’ is not a member of ‘avcodec’
arch/MovieTexture/MovieTexture_FFMpeg.cpp:590: error: ‘class FFMpeg_Helper’ has no member named ‘m_stream’
arch/MovieTexture/MovieTexture_FFMpeg.cpp: In member function ‘void MovieTexture_FFMpeg::DestroyDecoder()’:
arch/MovieTexture/MovieTexture_FFMpeg.cpp:597: error: ‘class FFMpeg_Helper’ has no member named ‘m_stream’
arch/MovieTexture/MovieTexture_FFMpeg.cpp:599: error: ‘avcodec_close’ is not a member of ‘avcodec’
arch/MovieTexture/MovieTexture_FFMpeg.cpp:599: error: ‘class FFMpeg_Helper’ has no member named ‘m_stream’
arch/MovieTexture/MovieTexture_FFMpeg.cpp:600: error: ‘class FFMpeg_Helper’ has no member named ‘m_stream’
arch/MovieTexture/MovieTexture_FFMpeg.cpp:603: error: ‘class FFMpeg_Helper’ has no member named ‘m_fctx’
arch/MovieTexture/MovieTexture_FFMpeg.cpp:605: error: ‘av_close_input_file’ is not a member of ‘avcodec’
arch/MovieTexture/MovieTexture_FFMpeg.cpp:605: error: ‘class FFMpeg_Helper’ has no member named ‘m_fctx’
arch/MovieTexture/MovieTexture_FFMpeg.cpp:606: error: ‘class FFMpeg_Helper’ has no member named ‘m_fctx’
arch/MovieTexture/MovieTexture_FFMpeg.cpp: In member function ‘void MovieTexture_FFMpeg::CreateTexture()’:
arch/MovieTexture/MovieTexture_FFMpeg.cpp:640: error: ‘class FFMpeg_Helper’ has no member named ‘m_stream’
arch/MovieTexture/MovieTexture_FFMpeg.cpp:641: error: ‘class FFMpeg_Helper’ has no member named ‘m_stream’
arch/MovieTexture/MovieTexture_FFMpeg.cpp: In member function ‘float MovieTexture_FFMpeg::CheckFrameTime()’:
arch/MovieTexture/MovieTexture_FFMpeg.cpp:821: error: ‘class FFMpeg_Helper’ has no member named ‘m_stream’
make[2]: *** [MovieTexture_FFMpeg.o] Error 1
make[2]: Leaving directory `/home/akira/StepMania-3.9-src/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/akira/StepMania-3.9-src/src'
make: *** [all-recursive] Error 1
So, yeah, it's giving me a lot of ffmpeg complaints. I know I have ffmpeg. Are there specific ffmpeg-related packages that I might not have that I would need?
akirashinigami is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
A Newbie's Getting Started Guide to Linux
Learn the basics of the Linux operating systems. Get to know what it is all about, and familiarize yourself with the practical side. Basically, if you're a complete Linux newbie and looking for a quick and easy guide to get you started this is it.
subscribe
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 02:43 PM.






© 2000 - - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.1