• Login
  • Register
  • Dolphin Forums
  • Home
  • FAQ
  • Download
  • Wiki
  • Code


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › Support v
« Previous 1 ... 551 552 553 554 555 ... 1197 Next »

Can't get 4.0-652 to compile.
View New Posts | View Today's Posts

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
Can't get 4.0-652 to compile.
07-13-2014, 04:48 AM
#1
artantaaa Offline
Member
***
Posts: 173
Threads: 15
Joined: Jan 2011
My G3258 just arrived and I was looking forward to running the Dolphin benchmark on it. I'm using Debian Jessie. The latest version, 4.0-2101, compiles with no problems. Unfortunately the version I need for the benchmark gives me this error.

Code:
[ 35%] Building CXX object Source/Core/VideoCommon/CMakeFiles/videocommon.dir/AVIDump.cpp.o
/home/user/dolphin-emu/Source/Core/VideoCommon/AVIDump.cpp: In static member function ‘static bool AVIDump::CreateFile()’:
/home/user/dolphin-emu/Source/Core/VideoCommon/AVIDump.cpp:263:24: error: ‘CODEC_ID_FFV1’ was not declared in this scope
   g_Config.bUseFFV1 ?  CODEC_ID_FFV1 : s_FormatContext->oformat->video_codec;
                        ^
/home/user/dolphin-emu/Source/Core/VideoCommon/AVIDump.cpp:279:15: warning: ‘AVFrame* avcodec_alloc_frame()’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:3114) [-Wdeprecated-declarations]
  s_BGRFrame = avcodec_alloc_frame();
               ^
/home/user/dolphin-emu/Source/Core/VideoCommon/AVIDump.cpp:279:35: warning: ‘AVFrame* avcodec_alloc_frame()’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:3114) [-Wdeprecated-declarations]
  s_BGRFrame = avcodec_alloc_frame();
                                   ^
/home/user/dolphin-emu/Source/Core/VideoCommon/AVIDump.cpp:280:15: warning: ‘AVFrame* avcodec_alloc_frame()’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:3114) [-Wdeprecated-declarations]
  s_YUVFrame = avcodec_alloc_frame();
               ^
/home/user/dolphin-emu/Source/Core/VideoCommon/AVIDump.cpp:280:35: warning: ‘AVFrame* avcodec_alloc_frame()’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:3114) [-Wdeprecated-declarations]
  s_YUVFrame = avcodec_alloc_frame();
                                   ^
/home/user/dolphin-emu/Source/Core/VideoCommon/AVIDump.cpp: In static member function ‘static void AVIDump::AddFrame(const u8*, int, int)’:
/home/user/dolphin-emu/Source/Core/VideoCommon/AVIDump.cpp:318:85: error: ‘avcodec_encode_video’ was not declared in this scope
  int outsize = avcodec_encode_video(s_Stream->codec, s_OutBuffer, s_size, s_YUVFrame);
                                                                                     ^
Source/Core/VideoCommon/CMakeFiles/videocommon.dir/build.make:1039: recipe for target 'Source/Core/VideoCommon/CMakeFiles/videocommon.dir/AVIDump.cpp.o' failed
make[2]: *** [Source/Core/VideoCommon/CMakeFiles/videocommon.dir/AVIDump.cpp.o] Error 1
CMakeFiles/Makefile2:960: recipe for target 'Source/Core/VideoCommon/CMakeFiles/videocommon.dir/all' failed
make[1]: *** [Source/Core/VideoCommon/CMakeFiles/videocommon.dir/all] Error 2
Makefile:133: recipe for target 'all' failed
make: *** [all] Error 2

Does anyone know what the fix is?
Find
Reply
07-13-2014, 07:58 AM (This post was last modified: 07-13-2014, 07:58 AM by PureTryOut.)
#2
PureTryOut Offline
Member
***
Posts: 96
Threads: 16
Joined: May 2014
I have that same build error in everything after 4.0-2012 actually... Before that it worked fine.
Using Ubuntu 14.04 x86_64 here...
Find
Reply
07-13-2014, 09:03 AM
#3
Shonumi Offline
Linux User/Tester
**********
Administrators
Posts: 6,513
Threads: 55
Joined: Dec 2011
It looks like something Debian specific. That issue has popped up a lot for Ubuntu users, but it's never happened to me, personally. If the latest builds compile just fine, I'd suggest sticking to those unless you have a really valid reason for doing otherwise.
Website Find
Reply
07-13-2014, 01:50 PM
#4
artantaaa Offline
Member
***
Posts: 173
Threads: 15
Joined: Jan 2011
Well, after reading so much here about the benchmark, I at least want to run the thing a few times. I might try compiling again in Wheezy. That's what I would have tried first, but the drivers for the ethernet chip on this board haven't made it to stable yet. I guess I'll just use a PCI card for that. What distro did you have success with Shonumi?
Find
Reply
07-13-2014, 03:02 PM
#5
Shonumi Offline
Linux User/Tester
**********
Administrators
Posts: 6,513
Threads: 55
Joined: Dec 2011
As always, I run Slackware. If I had things my way, every last bit of hardware in my house would Big Grin

If you have all of the necessary dependencies, I could compile 4.0-652 myself as a dynamically-linked binary (dunno how to make it static), then you can see how that works for you.
Website Find
Reply
07-13-2014, 04:25 PM
#6
artantaaa Offline
Member
***
Posts: 173
Threads: 15
Joined: Jan 2011
Thanks. I'd be happy to try out the one you compiled.
I'll have to give slackware another try too. It's been many years since I've used it.
Find
Reply
07-16-2014, 03:42 PM
#7
Shonumi Offline
Linux User/Tester
**********
Administrators
Posts: 6,513
Threads: 55
Joined: Dec 2011
No, I didn't forget about you :p

See if this works: https://drive.google.com/file/d/0B-WE3IAskDSYTDNHeWdNSlM4LXM/edit?usp=sharing
Website Find
Reply
« Next Oldest | Next Newest »


  • View a Printable Version
  • Subscribe to this thread
Forum Jump:


Users browsing this thread: 1 Guest(s)



Powered By MyBB | Theme by Fragma

Linear Mode
Threaded Mode