Project

General

Profile

Actions

Emulator Issues #631

closed

Linux Build broken on r2383 and up

Added by thegamefreak0134 almost 16 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

What steps will reproduce the problem?

  1. Compile Dolphin on Linux
  2. ????
  3. Profit!

What is the expected output? What do you see instead?
Sleep doesn't appear to exist on Linux. If I recall, that's a windows
specific function, but I may be mistaken. In any case, here's the error
message:

Compiling Build/Linux-x86_64-release/Source/Core/DolphinWX/Src/FrameTools.o
Source/Core/DolphinWX/Src/FrameTools.cpp: In member function 'void
CFrame::DoStop()':
Source/Core/DolphinWX/Src/FrameTools.cpp:534: error: 'Sleep' was not
declared in this scope

What version of the product are you using? On what operating system?
Linux 68bit source code, compiling with scons (the normal way) on ubuntu.
Worked fine for many revisions before.

Please provide any additional information below.
I am fairly certain that the color of the sky is blue. Amen.

Actions #1

Updated by lannyboyz almost 16 years ago

what i did is:

edit ./Source/Core/DolphinWX/Src/FrameTools.cpp and insert header:

#include "wx/thread.h"

modify line 535

Sleep(10) -> wxThread::Sleep(10)

then you should able to compile...

Actions #2

Updated by nakeee almost 16 years ago

  • Status changed from New to Fixed
Actions

Also available in: Atom PDF