This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
wiki:development:build-howto-mswin:x2goclient [2020/02/05 18:43] ionic Link against static DLL import library. Yes, they are supposed to be static. Whoops. |
wiki:development:build-howto-mswin:x2goclient [2023/05/08 22:20] orion [Copying the nxproxy binaries] Use nxproxy\src\.libs\nxproxy.exe |
||
---|---|---|---|
Line 174: | Line 174: | ||
Open a terminal window. Crucially, this must **not** be a '' | Open a terminal window. Crucially, this must **not** be a '' | ||
- | 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 '' | + | 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 '' |
Go to the unpacked source directory: < | Go to the unpacked source directory: < | ||
Line 182: | Line 182: | ||
The pre-built libssh versions in '' | The pre-built libssh versions in '' | ||
- | Call '' | + | Call '' |
== Build == | == Build == | ||
Line 189: | Line 189: | ||
< | < | ||
+ | |||
+ | == Install == | ||
+ | |||
+ | It's recommended to make sure that the install staging area is clean (fully deleted or at least empty) before installing/ | ||
+ | |||
+ | This ensures that old/removed files won't linger around and that changes will not remain undetected. | ||
+ | |||
+ | < | ||
+ | " | ||
+ | |||
+ | Afterwards, clean and install the newly built files into the MinGW prefix: | ||
+ | |||
+ | Header files: | ||
+ | |||
+ | < | ||
+ | rm -rf " | ||
+ | cp -av " | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | |||
+ | As such, it is important to keep these static DLL import libraries around on Windows, even if library is supposed to be used in a dynamically-linked fashion.</ | ||
+ | |||
+ | |||
+ | Library files: | ||
+ | |||
+ | < | ||
+ | for /R " | ||
+ | D: | ||
+ | cd " | ||
+ | for %I in (libssh*) do cp -av " | ||
+ | </ | ||
+ | |||
+ | Afterwards, optionally bundle the new libssh source and binaries in x2goclient-contrib. Explicitly document the command line invocation in a file named '' | ||
===== Build X2Go Client ===== | ===== Build X2Go Client ===== | ||
Line 482: | Line 516: | ||
- nx-libs 3.5: From '' | - nx-libs 3.5: From '' | ||
- nx-libs 3.5: From '' | - nx-libs 3.5: From '' | ||
- | - nx-libs 3.6: From '' | + | - nx-libs 3.6: From '' |
- nx-libs 3.6: From '' | - nx-libs 3.6: From '' | ||
Line 491: | Line 525: | ||
* '' | * '' | ||
* '' | * '' | ||
- | * '' | + | * '' |
* '' | * '' | ||
* '' | * '' |