User Tools

Site Tools


buildwx-en

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
buildwx-en [2018/11/12 08:56]
127.0.0.1 external edit
buildwx-en [2020/07/26 09:13] (current)
rjversluis
Line 1: Line 1:
-======Build wxWidgets ​2.8.x from source====== +======Build wxWidgets from source======
----- +
-Some distributions do not have a matching wxWidgets package. +
-So here is a small guide line for building it your self. +
----- +
- +
 =====Linux systems===== =====Linux systems=====
 <​code>​ <​code>​
-download: http://prdownloads.sourceforge.net/wxwindows/wxGTK-2.8.*.tar.gz +git clone --recurse-submodules https://github.com/wxWidgets/wxWidgets.git 
-install gtk2-devel and all other missing development tools from your distribution!!! +cd wxWidgets 
-unzip the source tarball: +mkdir linuxbuild 
-    gzip -d wxGTK-2.8.*.tar.gz +cd linuxbuild 
-un tar it: +../​configure ​--prefix=/​usr ​--enable-unicode ​--disable-shared ​--enable-graphics_ctx ​--enable-monolithic ​--enable-stc 
-    tar -xf wxGTK-2.8.*.tar +make -j4 
-cd wxGTK-2.8.* +sudo make install
-./​configure ​--enable-unicode ​--enable-graphics_ctx +
-make +
-install the wx headers and libraries: +
-  sudo make install +
-- update the ld.so.conf:​ +
-    sudo /​sbin/​ldconfig+
 </​code>​ </​code>​
  
-=====Windows systems===== 
-Please see the detailed description in [[cmingw-en|Compile Rocrail with MinGW, MSYS and wxWidgets]]. 
  
 +<​code>​
 +[Desktop Entry]
 +Version=1.0
 +Name=Rocview
 +Comment=Rocrail - Innovative Model Railroad Control System
 +Path=/​home/​pi/​rocrail
 +Exec=/​home/​pi/​Projects/​Rocrail/​unxbin/​rocview -sp /​home/​pi/​Projects/​Rocrail/​unxbin -l /​home/​pi/​Projects/​Rocrail/​unxbin -themespath /​home/​pi/​Projects/​Rocrail/​rocview
 +Icon=/​home/​pi/​Projects/​Rocrail/​rocview/​xpm/​rocrail.png
 +Terminal=false
 +Type=Application
 +Categories=Application;​
  
-Now you must be able to compile and run the Rocgui on your system.+</​code>​
  
buildwx-en.1542009373.txt.gz · Last modified: 2018/11/12 08:56 by 127.0.0.1