summaryrefslogtreecommitdiff
path: root/HOWTO
diff options
context:
space:
mode:
authorDominic Letz <dominic@diode.io>2021-03-02 17:37:17 +0100
committerDominic Letz <dominic@diode.io>2021-03-09 17:53:38 +0100
commitae8995a70a3759b777867817f75aa0c85c70948c (patch)
treef6b7dc43162646175c6b43214e9c62b010242204 /HOWTO
parent0c2e6c3d7a183c52c54903c998a61149e13f4766 (diff)
downloaderlang-ae8995a70a3759b777867817f75aa0c85c70948c.tar.gz
Windows CI build
Diffstat (limited to 'HOWTO')
-rw-r--r--HOWTO/INSTALL-WIN32.md20
1 files changed, 10 insertions, 10 deletions
diff --git a/HOWTO/INSTALL-WIN32.md b/HOWTO/INSTALL-WIN32.md
index 3de5ee428e..0c9cee543e 100644
--- a/HOWTO/INSTALL-WIN32.md
+++ b/HOWTO/INSTALL-WIN32.md
@@ -68,7 +68,7 @@ This is the short story though, for the experienced and impatient:
<http://www.erlang.org/download.html>) and unpack with `tar`
to the windows disk for example to: /mnt/c/src/
- * Install mingw-gcc, make and autoconf: `sudo apt install gcc-mingw-w64 make autoconf`
+ * Install mingw-gcc, make and autoconf: `sudo apt install g++-mingw-w64 gcc-mingw-w64 make autoconf`
* `$ cd UNPACK_DIR`
@@ -153,22 +153,22 @@ the different tools:
* wxWidgets (optional)
You need this to build wx and use gui's in debugger and observer.
- We recommend v3.1.3 or later.
- Unpack into `c:/opt/local64/pgm/wxWidgets-3.1.3`
+ We recommend v3.1.4 or later.
+ Unpack into `c:/opt/local64/pgm/wxWidgets-3.1.4`
- If the `wxUSE_POSTSCRIPT` isn't enabled in `c:/opt/local64/pgm/wxWidgets-3.1.3/include/wx/msw/setup.h`,
+ If the `wxUSE_POSTSCRIPT` isn't enabled in `c:/opt/local64/pgm/wxWidgets-3.1.4/include/wx/msw/setup.h`,
enable it.
- We recommend to enable for wxWebView wxUSE_WEBVIEW_EDGE.
- Download the WebView2 SDK nuget package (Version 0.9.488 or newer)
- Extract the package (it's a zip archive) to wxWidgets/3rdparty/webview2 (you should have 3rdparty/webview2/build/native/include/WebView2.h file after unpacking it)
- Enable wxUSE_WEBVIEW_EDGE in CMake or setup.h
- After `otp_build release -a` copy WebView2Loader.dll from the subdirectory corresponding to the architecture used (x86 or x64) of wxWidgets/3rdparty/webview2/build/ to your $ERL_TOP/release/win32/erts-*/bin/ directory
+ We recommend to enable for wxWebView wxUSE_WEBVIEW_EDGE.
+ * Download the nuget package 'Microsoft.Web.WebView2' (Version 0.9.488 or newer)
+ * Extract the package (it's a zip archive) to wxWidgets/3rdparty/webview2 (you should have 3rdparty/webview2/build/native/include/WebView2.h file after unpacking it)
+ * Enable wxUSE_WEBVIEW_EDGE in `c:/opt/local64/pgm/wxWidgets-3.1.4/include/wx/msw/setup.h`
+ * After `otp_build release -a` copy WebView2Loader.dll from the subdirectory corresponding to the architecture used (x86 or x64) of wxWidgets/3rdparty/webview2/build/ to your $ERL_TOP/release/win32/erts-*/bin/ directory
`cp /mnt/c/opt/local64/pgm/wxWidgets-3.1.4/3rdparty/webview2/runtimes/win-x64/native/WebView2Loader.dll $ERL_TOP/release/win32/erts-11.1.7/bin/`
Build with:
- C:\...\> cd c:\opt\local64\pgm\wxWidgets-3.1.3\build\msw
+ C:\...\> cd c:\opt\local64\pgm\wxWidgets-3.1.4\build\msw
C:\...\> nmake TARGET_CPU=amd64 BUILD=release SHARED=0 DIR_SUFFIX_CPU= -f makefile.vc
Remove the `TARGET_CPU=amd64` for 32bit build.