Dolphin, the GameCube and Wii emulator - Forums

Full Version: Compile error on Linux
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Code:
[ 69%] Building CXX object Source/Core/VideoCommon/CMakeFiles/videocommon.dir/Src/memcpy_amd.cpp.o
[ 69%] Building CXX object Source/Core/VideoCommon/CMakeFiles/videocommon.dir/Src/AVIDump.cpp.o
/home/colin/dolphin-emu/Source/Core/VideoCommon/Src/AVIDump.cpp: In static member function ‘static bool AVIDump::CreateFile()’:
/home/colin/dolphin-emu/Source/Core/VideoCommon/Src/AVIDump.cpp:254:17: warning: ‘AVStream* av_new_stream(AVFormatContext*, int)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1604) [-Wdeprecated-declarations]
/home/colin/dolphin-emu/Source/Core/VideoCommon/Src/AVIDump.cpp:254:49: warning: ‘AVStream* av_new_stream(AVFormatContext*, int)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1604) [-Wdeprecated-declarations]
/home/colin/dolphin-emu/Source/Core/VideoCommon/Src/AVIDump.cpp:271:5: warning: ‘int avcodec_open(AVCodecContext*, AVCodec*)’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:4035) [-Wdeprecated-declarations]
/home/colin/dolphin-emu/Source/Core/VideoCommon/Src/AVIDump.cpp:271:40: warning: ‘int avcodec_open(AVCodecContext*, AVCodec*)’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:4035) [-Wdeprecated-declarations]
/home/colin/dolphin-emu/Source/Core/VideoCommon/Src/AVIDump.cpp: In static member function ‘static void AVIDump::AddFrame(uint8_t*, int, int)’:
/home/colin/dolphin-emu/Source/Core/VideoCommon/Src/AVIDump.cpp:324:53: error: ‘av_rescale_q’ was not declared in this scope
make[2]: *** [Source/Core/VideoCommon/CMakeFiles/videocommon.dir/Src/AVIDump.cpp.o] Error 1
make[1]: *** [Source/Core/VideoCommon/CMakeFiles/videocommon.dir/all] Error 2
make: *** [all] Error 2
Anyone know hwo to resolve this?
Excellent. Thanks a ton.
Now getting:

[100%] Building CXX object Source/Core/DolphinWX/CMakeFiles/dolphin-emu.dir/Src/X11Utils.cpp.o
make[2]: *** No rule to make target `/usr/lib/x86_64-linux-gnu/libGL.so', needed by `Binaries/dolphin-emu'. Stop.
make[1]: *** [Source/Core/DolphinWX/CMakeFiles/dolphin-emu.dir/all] Error 2
make: *** [all] Error 2
Anyone know?
yes

learn how to linux
Thanks for your input. I'll take it under consideration.
I don't suppose anyone else knows?
Try disabling the ENCODE_FRAMEDUMPS option using cmake -i.
That should've been fixed in recent Git versions btw. Do you still get these same compilation errors?
I'll give the latest version a try, thank you.

It's been a while so it looks like something's happened. I can't do cmake .. I get this error:

-- Could NOT find OpenGL (missing: OPENGL_gl_LIBRARY)
CMake Error at CMakeLists.txt:234 (message):
GLU is required but not found


-- Configuring incomplete, errors occurred!


Pages: 1 2