Project

General

Profile

Actions

Emulator Issues #5266

closed

Compile Fails on Debian Wheezy due to missing libav mathematics.h header file.

Added by UraharaKisuke153 over 12 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
% Done:

0%

Operating system:
N/A
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:

Description

When compiling on Debian Wheezy (Linux AMD64) I encounter the error below during the compile:
error: ‘av_rescale_q’ was not declared in this scope

I found that the issue is a missing mathematics.h header in '/home/kazuma/compile/dolphin-emu/new/dolphin-emu/Source/Core/VideoCommon/Src/AVIDump.cpp'. Adding the line below allows it to compile correctly.

#include <libavutil/mathematics.h>

This is critical to me as many games are very slow to play without frame skipping and I seem to need libav in order for frame skipping to work.

It mentions in the template to not attach patches here. I have made a patch that fixes the issue I will upload to my minus account. Here is the link to the patch:
http://min.us/mboTPJIzZd

I hope this is of use I do not know how to use git/subversion etc to make a proper request for a patch. Thank you for all the hard work!

Samuel Orr -


Related issues 2 (0 open2 closed)

Has duplicate Emulator - Emulator Issues #5273: AVIDump not compile in Linux Ubuntu 12.04Duplicate

Actions
Has duplicate Emulator - Emulator Issues #5392: undefined refrence, ubuntu 12.04Duplicate

Actions
Actions

Also available in: Atom PDF