• 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 ... 316 317 318 319 320 ... 1190 Next »

Trouble compiling Dolphin!
View New Posts | View Today's Posts

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
Trouble compiling Dolphin!
06-01-2017, 10:29 AM
#1
Yoshimaster96 Offline
Junior Member
**
Posts: 22
Threads: 9
Joined: Aug 2016
While
Code:
cmake -DFASTLOG ..
works fine,
Code:
make
gives me this error:

Code:
[ 62%] Building CXX object Source/Core/VideoCommon/CMakeFiles/videocommon.dir/AVIDump.cpp.o
/home/jacob3/Desktop/dolphin-master/Source/Core/VideoCommon/AVIDump.cpp: In static member function ‘static bool AVIDump::CreateVideoFile()’:
/home/jacob3/Desktop/dolphin-master/Source/Core/VideoCommon/AVIDump.cpp:141:57: error: ‘avformat_alloc_output_context2’ was not declared in this scope
                                     s_dump_path.c_str()) < 0)
                                                        ^
make[2]: *** [Source/Core/VideoCommon/CMakeFiles/videocommon.dir/AVIDump.cpp.o] Error 1
make[1]: *** [Source/Core/VideoCommon/CMakeFiles/videocommon.dir/all] Error 2
make: *** [all] Error 2

What's going on?
Find
Reply
06-05-2017, 06:30 AM
#2
Yoshimaster96 Offline
Junior Member
**
Posts: 22
Threads: 9
Joined: Aug 2016
Sorry for the bump, but I want to know if this is the correct forum for this particular issue. If not, could someone move it to the proper place. Thanks! I wish to get this issue solved in a timely manner.

My operating system is Linux Mint 17.3 'Rosa' Cinnamon 64-bit, if that helps.
Find
Reply
06-06-2017, 06:35 AM
#3
leolam Offline
Developer
**********
Developers (Some Administrators and Super Moderators)
Posts: 1,478
Threads: 5
Joined: Sep 2015
Looks like your system has an old version of libavformat. It builds fine here with version 3.2.5.
Website Find
Reply
06-07-2017, 08:30 AM
#4
Yoshimaster96 Offline
Junior Member
**
Posts: 22
Threads: 9
Joined: Aug 2016
Code:
sudo apt-get install libavformat-dev
...
libavformat-dev is already the newest version.
...

Um... what?
Also, what is libavformat used for? If it's only for video capture, I don't need that feature. If it's used in the emulator itself, disregard.
Find
Reply
06-07-2017, 10:38 PM (This post was last modified: 06-08-2017, 09:52 PM by Neui.)
#5
Neui Offline
Quiet
***
Posts: 174
Threads: 1
Joined: Apr 2015
Add -DENCODE_FRAMEDUMPS=OFF to cmake's command line arguments to disable the video capture recording. (Seems it is only used for that)
Find
Reply
06-08-2017, 05:02 AM
#6
Yoshimaster96 Offline
Junior Member
**
Posts: 22
Threads: 9
Joined: Aug 2016
Still asks for the library... Does anyone know how to install said library?
Find
Reply
06-17-2017, 10:16 AM
#7
Yoshimaster96 Offline
Junior Member
**
Posts: 22
Threads: 9
Joined: Aug 2016
(06-08-2017, 05:02 AM)Yoshimaster96 Wrote: Still asks for the library... Does anyone know how to install said library?

Sorry for the bump again, but, I can't seem to install it. Updating ffmpeg does nothing (if I'm doing it right that is). I honestly think there should be a guide on installing the dependencies, because it's not very obvious...
Find
Reply
06-17-2017, 06:35 PM (This post was last modified: 06-17-2017, 06:35 PM by leolam.)
#8
leolam Offline
Developer
**********
Developers (Some Administrators and Super Moderators)
Posts: 1,478
Threads: 5
Joined: Sep 2015
Have you tried following the "Building Dolphin on Linux" article? Should be fine to use the instructions for the latest Ubuntu.

https://wiki.dolphin-emu.org/index.php?title=Building_Dolphin_on_Linux
Website Find
Reply
06-19-2017, 01:09 AM
#9
Yoshimaster96 Offline
Junior Member
**
Posts: 22
Threads: 9
Joined: Aug 2016
Thanks! But, I have another error now:

Code:
[ 67%] Building CXX object Source/Core/VideoCommon/CMakeFiles/videocommon.dir/AVIDump.cpp.o
/home/jacob3/Desktop/dolphin-master/Source/Core/VideoCommon/AVIDump.cpp:426:16: error: redefinition of ‘static AVIDump::Frame AVIDump::FetchState(u64)’
AVIDump::Frame AVIDump::FetchState(u64 ticks)
                ^
In file included from /home/jacob3/Desktop/dolphin-master/Source/Core/VideoCommon/AVIDump.cpp:29:0:
/home/jacob3/Desktop/dolphin-master/Source/Core/VideoCommon/AVIDump.h:33:16: note: ‘static AVIDump::Frame AVIDump::FetchState(u64)’ previously defined here
   static Frame FetchState(u64 ticks) { return {}; }
                ^
make[2]: *** [Source/Core/VideoCommon/CMakeFiles/videocommon.dir/AVIDump.cpp.o] Error 1
make[1]: *** [Source/Core/VideoCommon/CMakeFiles/videocommon.dir/all] Error 2
make: *** [all] Error 2
Find
Reply
06-19-2017, 01:19 AM
#10
leolam Offline
Developer
**********
Developers (Some Administrators and Super Moderators)
Posts: 1,478
Threads: 5
Joined: Sep 2015
Clean your build cache.

HAVE_FFMPEG may still be defined somewhere, causing that function to be defined twice.
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