First of all, congrats for all your efforts you put in making this awesome piece of software.
I'm using Ubuntu Jaunty with wxWidgets 2.9.0
compiled with unicode support. When I try building the project (rev 2703) from Code::Blocks I get many errors about x86emitter. Here's the build log:
-------------- Build: Debug in x86emitter ---------------
Compiling: ../../src/x86emitter/3dnow.cpp
In file included from ../../include/wx/string.h:25,
from /home/ubuntu/PCSX2/pcsx2-svn/common/src/x86emitter/Pre
compiledHeader.h:9,
from /home/ubuntu/PCSX2/pcsx2-svn/common/src/x86emitter/3dnow.cpp:16:
./../include/wx/defs.h:42:13: error: #error "No Target! You should use wx-config program for compilation flags!"
In file included from /home/ubuntu/PCSX2/pcsx2-svn/common/src/x86emitter/Pre
compiledHeader.h:9,
from /home/ubuntu/PCSX2/pcsx2-svn/common/src/x86emitter/3dnow.cpp:16:
./../include/wx/string.h:164:4: error: #error "Please define string case-insensitive compare for your OS/compiler"
In file included from ../../include/wx/string.h:25,
from /home/ubuntu/PCSX2/pcsx2-svn/common/src/x86emitter/Pre
compiledHeader.h:9,
from /home/ubuntu/PCSX2/pcsx2-svn/common/src/x86emitter/3dnow.cpp:16:
/../include/wx/defs.h:212: error: redeclaration of C++ built-in type ‘bool’
In file included from ../../include/wx/string.h:25,
from /home/ubuntu/PCSX2/pcsx2-svn/common/src/x86emitter/Pre
compiledHeader.h:9,
from /home/ubuntu/PCSX2/pcsx2-svn/common/src/x86emitter/3dnow.cpp:16:
/../include/wx/defs.h:816: error: zero width for bit-field ‘ ‘wxAssert_817::Wchar_tMustBeExactly2Bytes’
In file included from /home/ubuntu/PCSX2/pcsx2-svn/common/src/x86emitter/Pre
compiledHeader.h:9,
from /home/ubuntu/PCSX2/pcsx2-svn/common/src/x86emitter/3dnow.cpp:16:
../../include/wx/string.h: In function ‘int Stricmp(const char*, const char*)’:
./include/wx/string.h:166: warning: no return statement in function returning non-void
In file included from /home/ubuntu/PCSX2/pcsx2-svn/common/src/x86emitter/Pre
compiledHeader.h:9,
from /home/ubuntu/PCSX2/pcsx2-svn/common/src/x86emitter/3dnow.cpp:16:
../../include/wx/string.h: At global scope:
/include/wx/string.h:834: error: ‘wxChar& wxString::operator[](unsigned int)’ cannot be overloaded
../../include/wx/string.h:831: error: with ‘wxChar& wxString::operator[](size_t)’
In file included from ../../include/x86emitter/x86types.h:741,
from ../../include/x86emitter/internal.h:18,
from ../../include/x86emitter/legacy_internal.h:18,
from /home/ubuntu/PCSX2/pcsx2-svn/common/src/x86emitter/3dnow.cpp:17:
../../include/x86emitter/inlines.inl: In member function ‘x86Emitter::xAddressInfo& x86Emitter::xAddressInfo::Add(const x86Emitter::xAddressReg&)’:
/include/x86emitter/inlines.inl:216: error: cannot convert ‘const wchar_t*’ to ‘const char*’ for argument ‘5’ to ‘void pxOnAssert(const wxChar*, int, const char*, const wxChar*, const char*)’
../../include/x86emitter/inlines.inl: In member function ‘x86Emitter::xAddressInfo& x86Emitter::xAddressInfo::Add(const x86Emitter::xAddressInfo&)’:
/include/x86emitter/inlines.inl:242: error: cannot convert ‘const wchar_t*’ to ‘const char*’ for argument ‘5’ to ‘void pxOnAssert(const wxChar*, int, const char*, const wxChar*, const char*)’
Process terminated with status 1 (0 minutes, 3 seconds)
8 errors, 1 warnings
------------------------------------------------
Here are the build options I've set:
Code:
/usr/bin/wx-config --version=2.9 --static=no --unicode=yes --debug=yes --cflags
And related output:
Code:
-I/usr/lib/wx/include/gtk2-unicode-debug-2.9 -I/usr/include/wx-2.9 -D_FILE_OFFSET_BITS=64 -D__WXDEBUG__ -DWXUSINGDLL -D__WXGTK__ -pthread
Am I doing something wrong? Any help will be really appreciated!