..:: PCSX2 Forums ::..

Full Version: Linux - Compile Guide and Support
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
(02-10-2011, 03:21 PM)O01eg Wrote: [ -> ]Do `wx-config --list` in console and send output here.

Here:
Code:
[root@localhost /]# wx-config --list

  Default config is gtk2-ansi-release-2.8

  Default config will be used for output

  Alternate matches:
    gtk2-unicode-release-2.8

  Also available in /usr:
    multiarch-i386-linux

[root@localhost /]#

Hum, could you try this small patch. It try to force the unicode version of wx.

Code:
--- a/cmake/SearchForStuff.cmake
+++ b/cmake/SearchForStuff.cmake
@@ -37,7 +36,6 @@
find_package(Subversion)
# The requierement of wxWidgets is checked in SelectPcsx2Plugins module
# Does not requier the module (allow to compile non-wx plugins)
+set(wxWidgets_USE_UNICODE ON)
find_package(wxWidgets COMPONENTS base core adv)
if(NOT FORCE_INTERNAL_ZLIB)
     find_package(ZLIB)
(02-10-2011, 09:48 PM)gregory Wrote: [ -> ]Hum, could you try this small patch. It try to force the unicode version of wx.

Code:
--- a/cmake/SearchForStuff.cmake
+++ b/cmake/SearchForStuff.cmake
@@ -37,7 +36,6 @@
find_package(Subversion)
# The requierement of wxWidgets is checked in SelectPcsx2Plugins module
# Does not requier the module (allow to compile non-wx plugins)
+set(wxWidgets_USE_UNICODE ON)
find_package(wxWidgets COMPONENTS base core adv)
if(NOT FORCE_INTERNAL_ZLIB)
     find_package(ZLIB)

Thanks for the reply.
I have patch it, but still got the same problem. Wacko
Can you switch current wxWdgets library to unicode version?
(02-11-2011, 02:10 PM)O01eg Wrote: [ -> ]Can you switch current wxWdgets library to unicode version?
thanks for the reply
oke, i will recompile wxwidget src rpm, and make it to unicode.
and then install it.
Hum, it is really not clear how I can use this variable... Yes you can recompile wx in unicode. Next version of wx merge unicode and ansi into one build. Maybe you can try "set(wxWidgets_USE_UNICODE TRUE)" but I do not think it will be better.

Before you recompile, could you try this command: "wx-config --unicode=yes"
(02-11-2011, 08:51 PM)gregory Wrote: [ -> ]Hum, it is really not clear how I can use this variable... Yes you can recompile wx in unicode. Next version of wx merge unicode and ansi into one build. Maybe you can try "set(wxWidgets_USE_UNICODE TRUE)" but I do not think it will be better.

Before you recompile, could you try this command: "wx-config --unicode=yes"

Code:
[root@localhost Game]# wx-config --unicode=yes
[root@localhost Game]# wx-config --list

    Default config is gtk2-ansi-release-2.8

  Default config will be used for output

  Alternate matches:
    gtk2-unicode-release-2.8

  Also available in /usr:
    multiarch-i386-linux
thanks for the reply.

still got the same error.

Then I recompile wxwidget with unicode, now i can compile pcsx2.

Thanks for the help all ( O01eg and gregory ).
Hum, there is definitevely somethings wrong with cmake. Your previous build support both unicode and ansi. Cmake took the wrong one ... Could you send me the following file /usr/share/cmake-2.8/Modules/FindwxWidgets.cmake (location depends on distribution), do a gzip -9 and attach it. So I can check behavior is the same in ours distributions.

Thanks very much.
(02-13-2011, 01:05 PM)gregory Wrote: [ -> ]Hum, there is definitevely somethings wrong with cmake. Your previous build support both unicode and ansi. Cmake took the wrong one ... Could you send me the following file /usr/share/cmake-2.8/Modules/FindwxWidgets.cmake (location depends on distribution), do a gzip -9 and attach it. So I can check behavior is the same in ours distributions.

Thanks very much.

In My Distribution ( PCLinuxOS ) it located in /usr/share/cmake/Modules/FindwxWidgets.cmake
and cmake version 2.8.3

I glad to help you, i will keep go to this topic.
There is a new option in your cmake version Smile Can you give a quick shot to this new patch.
Code:
Index: cmake/SearchForStuff.cmake
===================================================================
--- cmake/SearchForStuff.cmake    (revision 4297)
+++ cmake/SearchForStuff.cmake    (working copy)
@@ -37,6 +37,8 @@
find_package(Subversion)
# The requierement of wxWidgets is checked in SelectPcsx2Plugins module
# Does not requier the module (allow to compile non-wx plugins)
+# Force the unicode build (the variable is only supported on cmake 2.8.3 and above)
+set(wxWidgets_CONFIG_OPTIONS "--unicode=yes")
find_package(wxWidgets COMPONENTS base core adv)
if(NOT FORCE_INTERNAL_ZLIB)
     find_package(ZLIB)
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35