From cc5212fdb1a9165b1b4f63ad21198172a068ee43 Mon Sep 17 00:00:00 2001 From: Felix Reichmann <54814163+Van-Fouran@users.noreply.github.com> Date: Tue, 16 Aug 2022 08:21:55 +0200 Subject: Documentation overwork (#953) Github PR: https://github.com/veracrypt/VeraCrypt/pull/953 * Create CompilingGuidelinerh * Initial Upload Windows Compiling Guide * Removed RIPEMD-160 from Product64.wxs. See commit from 21.03.2022 * Completed Win compiling guideline * Added link to detailed compiling guide * Added link to detailed compiling guide * Restructured docu main page * Added sourceforge link * Added compiling guide for Linux * References to detailed instructions * Revert "Removed RIPEMD-160 from Product64.wxs. See commit from 21.03.2022" This reverts commit 024ae2a4659a6d9e65673531338e10bd10b8a3a0. * Correction of a div box --- doc/html/CompilingGuidelineLinux.html | 329 ++++++ doc/html/CompilingGuidelineWin.html | 1231 ++++++++++++++++++++ doc/html/CompilingGuidelineWin/AddNewSystemVar.jpg | Bin 0 -> 71100 bytes doc/html/CompilingGuidelineWin/CertVerifyFails.jpg | Bin 0 -> 15443 bytes .../CertificateCannotBeVerified.jpg | Bin 0 -> 87022 bytes .../DistributionPackageDamaged.jpg | Bin 0 -> 10581 bytes doc/html/CompilingGuidelineWin/DownloadVS2010.jpg | Bin 0 -> 167558 bytes doc/html/CompilingGuidelineWin/DownloadVS2019.jpg | Bin 0 -> 231800 bytes .../CompilingGuidelineWin/DownloadVSBuildTools.jpg | Bin 0 -> 187788 bytes doc/html/CompilingGuidelineWin/NasmCommandLine.jpg | Bin 0 -> 27541 bytes .../CompilingGuidelineWin/RegeditPermissions-1.jpg | Bin 0 -> 42281 bytes .../CompilingGuidelineWin/RegeditPermissions-2.jpg | Bin 0 -> 82730 bytes .../CompilingGuidelineWin/RegeditPermissions-3.jpg | Bin 0 -> 48073 bytes .../CompilingGuidelineWin/RegeditPermissions-4.jpg | Bin 0 -> 20213 bytes .../SelectAdvancedSystemSettings.jpg | Bin 0 -> 142348 bytes .../SelectEnvironmentVariables.jpg | Bin 0 -> 41283 bytes .../CompilingGuidelineWin/SelectPathVariable.jpg | Bin 0 -> 71894 bytes doc/html/CompilingGuidelineWin/SelectThisPC.jpg | Bin 0 -> 50245 bytes .../CompilingGuidelineWin/VS2010BuildSolution.jpg | Bin 0 -> 59737 bytes .../CompilingGuidelineWin/VS2010Win32Config.jpg | Bin 0 -> 167454 bytes doc/html/CompilingGuidelineWin/VS2010X64Config.jpg | Bin 0 -> 149165 bytes .../CompilingGuidelineWin/VS2019ARM64Config.jpg | Bin 0 -> 58551 bytes .../CompilingGuidelineWin/VS2019BuildSolution.jpg | Bin 0 -> 49572 bytes doc/html/CompilingGuidelineWin/YasmCommandLine.jpg | Bin 0 -> 33328 bytes doc/html/CompilingGuidelineWin/gzipCommandLine.jpg | Bin 0 -> 28217 bytes doc/html/CompilingGuidelineWin/upxCommandLine.jpg | Bin 0 -> 52807 bytes doc/html/Documentation.html | 489 ++++++-- doc/html/LinuxPrepAndBuild.sh | 20 + doc/html/Miscellaneous.html | 48 - 29 files changed, 1956 insertions(+), 161 deletions(-) create mode 100644 doc/html/CompilingGuidelineLinux.html create mode 100644 doc/html/CompilingGuidelineWin.html create mode 100644 doc/html/CompilingGuidelineWin/AddNewSystemVar.jpg create mode 100644 doc/html/CompilingGuidelineWin/CertVerifyFails.jpg create mode 100644 doc/html/CompilingGuidelineWin/CertificateCannotBeVerified.jpg create mode 100644 doc/html/CompilingGuidelineWin/DistributionPackageDamaged.jpg create mode 100644 doc/html/CompilingGuidelineWin/DownloadVS2010.jpg create mode 100644 doc/html/CompilingGuidelineWin/DownloadVS2019.jpg create mode 100644 doc/html/CompilingGuidelineWin/DownloadVSBuildTools.jpg create mode 100644 doc/html/CompilingGuidelineWin/NasmCommandLine.jpg create mode 100644 doc/html/CompilingGuidelineWin/RegeditPermissions-1.jpg create mode 100644 doc/html/CompilingGuidelineWin/RegeditPermissions-2.jpg create mode 100644 doc/html/CompilingGuidelineWin/RegeditPermissions-3.jpg create mode 100644 doc/html/CompilingGuidelineWin/RegeditPermissions-4.jpg create mode 100644 doc/html/CompilingGuidelineWin/SelectAdvancedSystemSettings.jpg create mode 100644 doc/html/CompilingGuidelineWin/SelectEnvironmentVariables.jpg create mode 100644 doc/html/CompilingGuidelineWin/SelectPathVariable.jpg create mode 100644 doc/html/CompilingGuidelineWin/SelectThisPC.jpg create mode 100644 doc/html/CompilingGuidelineWin/VS2010BuildSolution.jpg create mode 100644 doc/html/CompilingGuidelineWin/VS2010Win32Config.jpg create mode 100644 doc/html/CompilingGuidelineWin/VS2010X64Config.jpg create mode 100644 doc/html/CompilingGuidelineWin/VS2019ARM64Config.jpg create mode 100644 doc/html/CompilingGuidelineWin/VS2019BuildSolution.jpg create mode 100644 doc/html/CompilingGuidelineWin/YasmCommandLine.jpg create mode 100644 doc/html/CompilingGuidelineWin/gzipCommandLine.jpg create mode 100644 doc/html/CompilingGuidelineWin/upxCommandLine.jpg create mode 100644 doc/html/LinuxPrepAndBuild.sh delete mode 100644 doc/html/Miscellaneous.html (limited to 'doc') diff --git a/doc/html/CompilingGuidelineLinux.html b/doc/html/CompilingGuidelineLinux.html new file mode 100644 index 00000000..a8460518 --- /dev/null +++ b/doc/html/CompilingGuidelineLinux.html @@ -0,0 +1,329 @@ + + + + + +
+ +
+sudo apt update
+sudo apt install -y build-essential yasm pkg-config libgtk-3-dev
+wget https://github.com/wxWidgets/wxWidgets/releases/download/v3.2.0/wxWidgets-3.2.0.tar.bz2
+tar -xf wxWidgets-3.2.0.tar.bz2
+cd wxWidgets-3.2.0
+mkdir gtk-build
+cd gtk-build
+../configure
+make
+sudo make install
+sudo ldconfig
+cd ../..
+rm -r wxWidgets-3.2.0
+rm wxWidgets-3.2.0.tar.bz2
+sudo apt install -y libfuse-dev git
+git clone https://github.com/veracrypt/VeraCrypt.git
+cd ~/VeraCrypt/src
+make
+
++
+ sudo apt update
+ sudo apt install build-essential
+
+ If the build-essential were already installed in the step before, this step can be skipped. +
+ sudo apt update
+ sudo apt install build-essential
+
+ +
+ sudo apt update
+ sudo apt install yasm
+
+ +
+ sudo apt update
+ sudo apt install pkg-config
+
+ +
+ sudo apt install libgtk-3-dev
+ wget https://github.com/wxWidgets/wxWidgets/releases/download/v3.2.0/wxWidgets-3.2.0.tar.bz2
+ tar -xf wxWidgets-3.2.0.tar.bz2
+ cd wxWidgets-3.2.0
+ mkdir gtk-build
+ cd gtk-build
+ ../configure
+ make
+ sudo make install
+ sudo ldconfig
+ cd ../..
+ rm -r wxWidgets-3.2.0
+
+ +
+ sudo apt update
+ sudo apt install libfuse-dev
+
+ +
+ sudo apt update
+ sudo apt install git
+ git clone https://github.com/veracrypt/VeraCrypt.git
+
+ Remarks:
+
make WXSTATIC=1
+
+ make NOGUI=1 WXSTATIC=1 WX_ROOT=/usr/src/wxWidgets wxbuild
+ make NOGUI=1 WXSTATIC=1
+
+
+ cd ~/VeraCrypt/src
+ make
+
+ +
+ Note: The content the official installer from Microsoft tries to download is no longer available. Therefore, it is necessary to use an offline installer. +
+
C:\Program Files (x86)\nasm
+nasm
+
C:\Program Files\YASM
+Variable name: YASMPATH
Variable value: C:\Program Files\YASM
yasm
vsyasm
+
Variable name: MSVC16_ROOT
Variable value: C:\MSVC15
+ The installer requires .Net Framework 4 (Not a newer one like .Net Framework 4.8!). Since a newer version is already preinstalled with Windows 10, the installer has to be tricked: +
+
+
Variable name: WSDK81
Variable value: C:\Program Files (x86)\Windows Kits\8.1\
+
C:\Program Files (x86)\gzip\bin
+gzip
+
C:\Program Files (x86)\upx
+upx
+
+
+
+
+
+
+
+
+
With the sign_test.bat script you just signed the VeraCrypt executables. This is necessary, since Windows only accepts drivers, which are trusted by a signed Certificate Authority.
+ Since you did not use the official VeraCrypt signing certificate to sign your code, but a public development version, you have to import and therefore trust the certifcates used.
+
+
+ if (!IsOSAtLeast (WIN_10))
+ return TRUE;
+
+ return TRUE; +
+This documentation is not guaranteed to be error-free and is provided "as is" without warranty of any kind. For more information, see Disclaimers.
--Documentation - -Miscellaneous -