[X2Go-Commits] [[X2Go Wiki]] page changed: wiki:development:build-howto-mswin:x2goclient

wiki-admin at x2go.org wiki-admin at x2go.org
Wed Feb 5 18:31:26 CET 2020


A page in your DokuWiki was added or changed. Here are the details:

Date        : 2020/02/05 17:31
Browser     : Mozilla/5.0 (X11; Linux x86_64; rv:71.0) Gecko/20100101 Firefox/71.0
IP-Address  : 178.162.222.163
Hostname    : 178.162.222.163.adsl.inet-telecom.org
Old Revision: https://wiki.x2go.org/doku.php/wiki:development:build-howto-mswin:x2goclient?rev=1580901309
New Revision: https://wiki.x2go.org/doku.php/wiki:development:build-howto-mswin:x2goclient
Edit Summary: Add configuration and build phases for libssh.
User        : ionic

@@ -165,8 +165,30 @@
    * update the commit message!
    * when done, create patch files: <code>git format-patch HEAD~ (for one patch, use ~~ for two patches etc.)</code>
  
  Move the patches to the respective source directory and apply them in order.
+ 
+ If needed, install or update ''cmake'' on the build machine.
+ 
+ == Configuration ==
+ 
+ Open a terminal window. Crucially, this must **not** be a ''Cygwin'' instance.
+ 
+ Make sure that the
mingw toolchain that was used to build Qt (and will be used to build X2Go CLient later on) is part of the %PATH% variable. On the X2Go Windows Builder, a session spawned via ''cmd.exe'' typically fulfils this requirement. Additionally, use the same ''zlib'' version for building both ''Qt'' and ''libssh''.
+ 
+ Go to the unpacked source directory: <code>D:; cd Build\libssh\libssh-...</code>
+ 
+ Create and switch to a build subdirectory: <code>mkdir build; cd build</code>
+ 
+ The pre-built libssh versions in ''x2goclient-contrib'' contain a file called ''CMake-Show-My-Changes.txt''. Use this as a reference for building.
+ 
+ Call ''cmake'' to configure the project, example (adapt to your system!): <code>"C:\Program Files\CMake\bin\cmake.exe" -G "MinGW Makefiles" -DCMAKE_C_COMPILER:FILEPATH="D:/i686-4.8.2-release-posix-dwarf-rt_v3-rev3/mingw32/bin/gcc.exe" -DCMAKE_LINKER:FILEPATH="D:/i686-4.8.2-release-posix-dwarf-rt_v3-rev3/mingw32/bin/ld.exe"
-DZLIB_LIBRARY_RELEASE:FILEPATH="D:/x2goclient-contrib/zlib/1.2.8_bin/zlib1.dll" -DWITH_GSSAPI:BOOL="0" -DWITH_NACL:BOOL="0" -DCMAKE_BUILD_TYPE:STRING="Release" -DCMAKE_MAKE_PROGRAM:FILEPATH="D:/i686-4.8.2-release-posix-dwarf-rt_v3-rev3/mingw32/bin/mingw32-make.exe" -DWITH_EXAMPLES:BOOL="0" -DZLIB_INCLUDE_DIR:PATH="D:/Build/zlib/zlib-1.2.8/" -DLIB_EAY:FILEPATH="D:/OpenSSL-Win32/lib/MinGW/libeay32.def" -DOPENSSL_INCLUDE_DIR:PATH="D:/OpenSSL-Win32/include" -DSSL_EAY:FILEPATH="D:/OpenSSL-Win32/lib/MinGW/ssleay32.def" ..</code>
+ 
+ == Build ==
+ 
+ Build the software like any other, append ''-j'' and other flags as desired:
+ 
+ <code>"D:\i686-4.8.2-release-posix-dwarf-rt_v3-rev3\mingw32\bin\mingw32-make.exe"</code>
  
  ===== Build X2Go Client =====
  
  ==== Build X2Go Client from source ====


-- 
This mail was generated by DokuWiki at
https://wiki.x2go.org/



More information about the x2go-commits mailing list