• 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 ... 1123 1124 1125 1126 1127 ... 1190 Next »

scons compiling error in linux
View New Posts | View Today's Posts

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
scons compiling error in linux
11-06-2009, 08:50 AM
#1
alti
Unregistered
 
Hi,

I download the last sources with svn. I install all dependencies and when I use scons, I have a compiler error.

Compiling Build/Linux-i686-release/Source/Core/DSPCore/Src/DSPAccelerator.o
In file included from Source/Core/DSPCore/Src/DSPAccelerator.cpp:22:
Source/Core/DSPCore/Src/DSPInterpreter.h:93: error: expected unqualified-id before '!' token
Source/Core/DSPCore/Src/DSPAccelerator.cpp: In function 'void dsp_write_aram_d3(u16)':
Source/Core/DSPCore/Src/DSPAccelerator.cpp:100: warning: unused variable 'EndAddress'
scons: *** [Build/Linux-i686-release/Source/Core/DSPCore/Src/DSPAccelerator.o] Error 1
scons: building terminated because of errors.


I have a pentium 4, with integrated graphics card and Ubuntu 8.10 Intrepid Index.

When I compile sources with scons I have a lot of warnings, it's normal or maybe an error?

Thanks.
Reply
11-06-2009, 09:22 AM
#2
shuffle2 Offline
godisgovernment
*
Project Owner  Developers (Administrators)
Posts: 698
Threads: 17
Joined: Mar 2009
hrydgard Wrote:Yes, GCC has the slightly odd quirk (among modern C++ compilers) of allowing and, not, or etc to replace their operators, like this:

bool a = true, b = true;
bool c = not (a and b);

it was fixed in r4499
Find
Reply
11-06-2009, 09:44 AM
#3
alti
Unregistered
 
Thanks shuffle2, but in r4499 I have a new error.

Compiling Build/Linux-i686-release/Source/Core/DebuggerWX/Src/BreakpointWindow.o
In file included from Source/Core/DebuggerWX/Src/CodeWindow.h:33,
from Source/Core/DebuggerWX/Src/BreakpointWindow.cpp:20:
Source/Core/DebuggerWX/Src/../../DolphinWX/Src/Frame.h:108: error: ISO C++ forbids declaration of 'wxAuiToolBar' with no type
Source/Core/DebuggerWX/Src/../../DolphinWX/Src/Frame.h:108: error: expected ';' before '*' token
Source/Core/DebuggerWX/Src/../../DolphinWX/Src/Frame.h:181: error: 'wxAuiToolBarEvent' has not been declared
Source/Core/DebuggerWX/Src/../../DolphinWX/Src/Frame.h:182: error: 'wxAuiToolBarEvent' has not been declared
Source/Core/DebuggerWX/Src/../../DolphinWX/Src/Frame.h:240: error: 'wxAuiToolBar' has not been declared
Source/Core/DebuggerWX/Src/../../DolphinWX/Src/Frame.h:241: error: 'wxAuiToolBar' has not been declared
Source/Core/DebuggerWX/Src/../../DolphinWX/Src/Frame.h:255: error: 'wxAuiToolBarEvent' has not been declared
In file included from Source/Core/DebuggerWX/Src/BreakpointWindow.cpp:20:
Source/Core/DebuggerWX/Src/CodeWindow.h:71: error: ISO C++ forbids declaration of 'wxAuiToolBar' with no type
Source/Core/DebuggerWX/Src/CodeWindow.h:71: error: expected ';' before '*' token
Source/Core/DebuggerWX/Src/CodeWindow.h:88: error: 'wxAuiToolBar' has not been declared
Source/Core/DebuggerWX/Src/CodeWindow.h:89: error: 'wxAuiToolBar' has not been declared
scons: *** [Build/Linux-i686-release/Source/Core/DebuggerWX/Src/BreakpointWindow.o] Error 1
scons: building terminated because of errors.
Reply
11-06-2009, 01:13 PM
#4
shuffle2 Offline
godisgovernment
*
Project Owner  Developers (Administrators)
Posts: 698
Threads: 17
Joined: Mar 2009
you don't have the proper wxw dependancies.
http://code.google.com/p/dolphin-emu/wiki/Linux_dependencies
Find
Reply
11-07-2009, 08:42 AM
#5
alti
Unregistered
 
Shuflle2,

I Have installed all dependancies from http://code.google.com/p/dolphin-emu/wik...pendencies. I paste this command on linux.

sudo apt-get install subversion scons g++ wx2.8-headers libwxbase2.8-0 libwxbase2.8-dbg libwxbase2.8-dev libwxgtk2.8-0 libwxgtk2.8-dbg libwxgtk2.8-dev libsdl1.2-dev nvidia-cg-toolkit libxxf86vm1-dbg libxxf86vm-dev libxext6-dbg libxext-dev libglew1.5-dev libcairo2-dbg libcairo2-dev libao2 libao-dev libbluetooth-dev && svn checkout http://dolphin-emu.googlecode.com/svn/trunk/ dolphin-emu-read-only && cd dolphin-emu-read-only && scons flavor=release

And all is Ok, but don't compile.

I believe that the probem is in wxAuiToolBarEvent and wxAuiToolBar.

Thanks.
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