Emulator Issues #631
closedLinux Build broken on r2383 and up
0%
Description
What steps will reproduce the problem?
- Compile Dolphin on Linux
- ????
- 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.
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...