mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2025-11-11 11:08:02 -06:00
Update compilation doc to match website version
This commit is contained in:
Binary file not shown.
@@ -74,45 +74,34 @@ The following components are required for compiling VeraCrypt:
|
|||||||
<li>GNU C/C++ Compiler</li>
|
<li>GNU C/C++ Compiler</li>
|
||||||
<li>YASM 1.3.0</li>
|
<li>YASM 1.3.0</li>
|
||||||
<li>pkg-config</li>
|
<li>pkg-config</li>
|
||||||
<li>wxWidgets 3.2 shared library and header files installed or wxWidgets 3.0 library source code </li>
|
<li>wxWidgets 3.x shared library and header files installed by the system or wxWidgets 3.x library source code </li>
|
||||||
<li>FUSE library and header files</li>
|
<li>FUSE library and header files</li>
|
||||||
</ol>
|
</ol>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="wikidoc">
|
<div class="wikidoc">
|
||||||
<p>Below are the detailed procedure steps:</p>
|
<p>Below are the procedure steps. Clicking on any of the link takes directly to the related step:
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#InstallationOfGNUMake">Installation of GNU Make</a></li>
|
<li><strong><a href="#InstallationOfGNUMake">Installation of GNU Make</a></li></strong>
|
||||||
<li><a href="#InstallationOfGNUCompiler">Installation of GNU C/C++ Compiler</a></li>
|
<li><strong><a href="#InstallationOfGNUCompiler">Installation of GNU C/C++ Compiler</a></li></strong>
|
||||||
<li><a href="#InstallationOfYASM">Installation of YASM</a></li>
|
<li><strong><a href="#InstallationOfYASM">Installation of YASM</a></li></strong>
|
||||||
<li><a href="#InstallationOfPKGConfig">Installation of pkg-config</a></li>
|
<li><strong><a href="#InstallationOfPKGConfig">Installation of pkg-config</a></li></strong>
|
||||||
<li><a href="#InstallationOfwxWidgets">Installation of wxWidgets 3.2</a></li>
|
<li><strong><a href="#InstallationOfwxWidgets">Installation of wxWidgets 3.2</a></li></strong>
|
||||||
<li><a href="#InstallationOfFuse">Installation of libfuse</a></li>
|
<li><strong><a href="#InstallationOfFuse">Installation of libfuse</a></li></strong>
|
||||||
<li><a href="#DownloadVeraCrypt">Download VeraCrypt</a></li>
|
<li><strong><a href="#DownloadVeraCrypt">Download VeraCrypt</a></li></strong>
|
||||||
<li><a href="#CompileVeraCrypt">Compile VeraCrypt</a></li>
|
<li><strong><a href="#CompileVeraCrypt">Compile VeraCrypt</a></li></strong>
|
||||||
</ul>
|
</ul>
|
||||||
<p>They can also be performed by running the below list of commands in a terminal or by copying them to a script:</p>
|
</p>
|
||||||
|
<p>They can also be performed by running the below list of commands in a terminal or by copying them to a script:<br>
|
||||||
<code>
|
<code>
|
||||||
sudo apt update <br>
|
sudo apt update <br>
|
||||||
sudo apt install -y build-essential yasm pkg-config libgtk-3-dev <br>
|
sudo apt install -y build-essential yasm pkg-config libwxgtk3.0-gtk3-dev <br>
|
||||||
wget https://github.com/wxWidgets/wxWidgets/releases/download/v3.2.0/wxWidgets-3.2.0.tar.bz2 <br>
|
|
||||||
tar -xf wxWidgets-3.2.0.tar.bz2 <br>
|
|
||||||
cd wxWidgets-3.2.0 <br>
|
|
||||||
mkdir gtk-build <br>
|
|
||||||
cd gtk-build <br>
|
|
||||||
../configure <br>
|
|
||||||
make <br>
|
|
||||||
sudo make install <br>
|
|
||||||
sudo ldconfig <br>
|
|
||||||
cd ../.. <br>
|
|
||||||
rm -r wxWidgets-3.2.0 <br>
|
|
||||||
rm wxWidgets-3.2.0.tar.bz2 <br>
|
|
||||||
sudo apt install -y libfuse-dev git <br>
|
sudo apt install -y libfuse-dev git <br>
|
||||||
git clone https://github.com/veracrypt/VeraCrypt.git
|
git clone https://github.com/veracrypt/VeraCrypt.git <br>
|
||||||
cd ~/VeraCrypt/src <br>
|
cd ~/VeraCrypt/src <br>
|
||||||
make
|
make
|
||||||
</code>
|
</code>
|
||||||
<p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="wikidoc">
|
<div class="wikidoc">
|
||||||
@@ -207,18 +196,8 @@ make
|
|||||||
<li>
|
<li>
|
||||||
Execute the following commands: <br>
|
Execute the following commands: <br>
|
||||||
<code>
|
<code>
|
||||||
sudo apt install libgtk-3-dev <br>
|
sudo apt update <br>
|
||||||
wget https://github.com/wxWidgets/wxWidgets/releases/download/v3.2.0/wxWidgets-3.2.0.tar.bz2 <br>
|
sudo apt install libwxgtk3.0-gtk3-dev <br>
|
||||||
tar -xf wxWidgets-3.2.0.tar.bz2 <br>
|
|
||||||
cd wxWidgets-3.2.0 <br>
|
|
||||||
mkdir gtk-build <br>
|
|
||||||
cd gtk-build <br>
|
|
||||||
../configure <br>
|
|
||||||
make <br>
|
|
||||||
sudo make install <br>
|
|
||||||
sudo ldconfig <br>
|
|
||||||
cd ../.. <br>
|
|
||||||
rm -r wxWidgets-3.2.0 <br>
|
|
||||||
</code>
|
</code>
|
||||||
</li>
|
</li>
|
||||||
</ol>
|
</ol>
|
||||||
@@ -273,15 +252,19 @@ make
|
|||||||
<p> Remarks: <br>
|
<p> Remarks: <br>
|
||||||
<ul>
|
<ul>
|
||||||
<li>
|
<li>
|
||||||
If you have not installed wxWidgets like described here, you may have to modify the make statement to reference to the right file: <br>
|
By default, a universal executable supporting both graphical and text user interface (through the switch --text) is built. <br>
|
||||||
<code>make WXSTATIC=1</code>
|
On Linux, a console-only executable, which requires no GUI library, can be built using the 'NOGUI' parameter. <br>
|
||||||
|
For that, you need to dowload wxWidgets sources, extract them to a location of your choice and then run the following commands: <br>
|
||||||
|
<code>
|
||||||
|
make NOGUI=1 WXSTATIC=1 WX_ROOT=/path/to/wxWidgetsSources wxbuild <br>
|
||||||
|
make NOGUI=1 WXSTATIC=1 WX_ROOT=/path/to/wxWidgetsSources
|
||||||
|
</code>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
By default, a universal executable supporting both graphical and text user interface (through the switch --text) is built. <br>
|
If you are not using the system wxWidgets library, you will have to download and use wxWidgets sources like the remark above but this time the following commands should be run to build GUI version of VeraCrypt (NOGUI is not specified): <br>
|
||||||
On Linux, a console-only executable, which requires no GUI library, can be built using the 'NOGUI' parameter: <br>
|
|
||||||
<code>
|
<code>
|
||||||
make NOGUI=1 WXSTATIC=1 WX_ROOT=/usr/src/wxWidgets wxbuild <br>
|
make WXSTATIC=1 WX_ROOT=/path/to/wxWidgetsSources wxbuild <br>
|
||||||
make NOGUI=1 WXSTATIC=1
|
make WXSTATIC=1 WX_ROOT=/path/to/wxWidgetsSources
|
||||||
</code>
|
</code>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|||||||
@@ -91,29 +91,29 @@ The following components are required for compiling VeraCrypt:
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="wikidoc">
|
<div class="wikidoc">
|
||||||
<p>Below are the procedure steps:</p>
|
Below are the procedure steps. Clicking on any of the link takes directly to the related step:
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#InstallationOfMicrosoftVisualStudio2010">Installation of Microsoft Visual Studio 2010</a></li>
|
<li><strong><a href="#InstallationOfMicrosoftVisualStudio2010">Installation of Microsoft Visual Studio 2010</a></li></strong>
|
||||||
<li><a href="#InstallationOfMicrosoftVisualStudio2010ServicePack1">Installation of Microsoft Visual Studio 2010 Service Pack 1</a></li>
|
<li><strong><a href="#InstallationOfMicrosoftVisualStudio2010ServicePack1">Installation of Microsoft Visual Studio 2010 Service Pack 1</a></li></strong>
|
||||||
<li><a href="#InstallationOfNASM">Installation of NASM</a></li>
|
<li><strong><a href="#InstallationOfNASM">Installation of NASM</a></li></strong>
|
||||||
<li><a href="#InstallationOfYASM">Installation of YASM</a></li>
|
<li><strong><a href="#InstallationOfYASM">Installation of YASM</a></li></strong>
|
||||||
<li><a href="#InstallationOfVisualC++">Installation of Microsoft Visual C++ 1.52</a></li>
|
<li><strong><a href="#InstallationOfVisualCPP">Installation of Microsoft Visual C++ 1.52</a></li></strong>
|
||||||
<li><a href="#InstallationOfWindowsSDK71++">Installation of the Windows SDK 7.1</a></li>
|
<li><strong><a href="#InstallationOfWindowsSDK71PP">Installation of the Windows SDK 7.1</a></li></strong>
|
||||||
<li><a href="#InstallationOfWDK71++">Installation of the Windows Driver Kit 7.1</a></li>
|
<li><strong><a href="#InstallationOfWDK71PP">Installation of the Windows Driver Kit 7.1</a></li></strong>
|
||||||
<li><a href="#InstallationOfSDK81++">Installation of the Windows 8.1 SDK</a></li>
|
<li><strong><a href="#InstallationOfSDK81PP">Installation of the Windows 8.1 SDK</a></li></strong>
|
||||||
<li><a href="#InstallationOfGzip">Installation of gzip</a></li>
|
<li><strong><a href="#InstallationOfGzip">Installation of gzip</a></li></strong>
|
||||||
<li><a href="#InstallationOfUpx">Installation of upx</a></li>
|
<li><strong><a href="#InstallationOfUpx">Installation of upx</a></li></strong>
|
||||||
<li><a href="#InstallationOf7zip">Installation of 7zip</a></li>
|
<li><strong><a href="#InstallationOf7zip">Installation of 7zip</a></li></strong>
|
||||||
<li><a href="#InstallationOfWix3">Installation of Wix3</a></li>
|
<li><strong><a href="#InstallationOfWix3">Installation of Wix3</a></li></strong>
|
||||||
<li><a href="#InstallationOfVS2019">Installation of Microsoft Visual Studio 2019</a></li>
|
<li><strong><a href="#InstallationOfVS2019">Installation of Microsoft Visual Studio 2019</a></li></strong>
|
||||||
<li><a href="#InstallationOfWDK10">Installation of the Windows Driver Kit 2004</a></li>
|
<li><strong><a href="#InstallationOfWDK10">Installation of the Windows Driver Kit 2004</a></li></strong>
|
||||||
<li><a href="#InstallationOfVisualBuildTools">Installation of the Visual Studio build tools</a></li>
|
<li><strong><a href="#InstallationOfVisualBuildTools">Installation of the Visual Studio build tools</a></li></strong>
|
||||||
<li><a href="#DownloadVeraCrypt">Download VeraCrypt Source Files</a></li>
|
<li><strong><a href="#DownloadVeraCrypt">Download VeraCrypt Source Files</a></li></strong>
|
||||||
<li><a href="#CompileWin32X64">Compile the Win32/x64 Versions of VeraCrypt</a></li>
|
<li><strong><a href="#CompileWin32X64">Compile the Win32/x64 Versions of VeraCrypt</a></li></strong>
|
||||||
<li><a href="#CompileARM64">Compile the ARM64 Version of VeraCrypt</a></li>
|
<li><strong><a href="#CompileARM64">Compile the ARM64 Version of VeraCrypt</a></li></strong>
|
||||||
<li><a href="#BuildVeraCryptExecutables">Build the VeraCrypt Executables</a></li>
|
<li><strong><a href="#BuildVeraCryptExecutables">Build the VeraCrypt Executables</a></li></strong>
|
||||||
<li><a href="#ImportCertificates">Import the Certificates</a></li>
|
<li><strong><a href="#ImportCertificates">Import the Certificates</a></li></strong>
|
||||||
<li><a href="#KnownIssues">Known Issues</a></li>
|
<li><strong><a href="#KnownIssues">Known Issues</a></li></strong>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -309,8 +309,8 @@ The following components are required for compiling VeraCrypt:
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="textbox" id="InstallationOfVisualC++">
|
<div class="textbox" id="InstallationOfVisualCPP">
|
||||||
<a href="#InstallationOfVisualC++">Installation of Microsoft Visual C++ 1.52</a>
|
<a href="#InstallationOfVisualCPP">Installation of Microsoft Visual C++ 1.52</a>
|
||||||
<div class="texttohide">
|
<div class="texttohide">
|
||||||
<p>
|
<p>
|
||||||
<ol>
|
<ol>
|
||||||
@@ -360,8 +360,8 @@ The following components are required for compiling VeraCrypt:
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="textbox" id="InstallationOfWindowsSDK71++">
|
<div class="textbox" id="InstallationOfWindowsSDK71PP">
|
||||||
<a href="#InstallationOfWindowsSDK71++">Installation of the Windows SDK 7.1</a>
|
<a href="#InstallationOfWindowsSDK71PP">Installation of the Windows SDK 7.1</a>
|
||||||
<div class="texttohide">
|
<div class="texttohide">
|
||||||
<p>
|
<p>
|
||||||
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:
|
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:
|
||||||
@@ -442,8 +442,8 @@ The following components are required for compiling VeraCrypt:
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="textbox" id="InstallationOfWDK71++">
|
<div class="textbox" id="InstallationOfWDK71PP">
|
||||||
<a href="#InstallationOfWDK71++">Installation of the Windows Driver Kit 7.1</a>
|
<a href="#InstallationOfWDK71PP">Installation of the Windows Driver Kit 7.1</a>
|
||||||
<div class="texttohide">
|
<div class="texttohide">
|
||||||
<p>
|
<p>
|
||||||
<ol>
|
<ol>
|
||||||
@@ -466,8 +466,8 @@ The following components are required for compiling VeraCrypt:
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="textbox" id="InstallationOfSDK81++">
|
<div class="textbox" id="InstallationOfSDK81PP">
|
||||||
<a href="#InstallationOfSDK81++">Installation of the Windows 8.1 SDK</a>
|
<a href="#InstallationOfSDK81PP">Installation of the Windows 8.1 SDK</a>
|
||||||
<div class="texttohide">
|
<div class="texttohide">
|
||||||
<p>
|
<p>
|
||||||
<ol>
|
<ol>
|
||||||
|
|||||||
@@ -36,11 +36,12 @@
|
|||||||
|
|
||||||
<div class="wikidoc">
|
<div class="wikidoc">
|
||||||
<h1>Building VeraCrypt From Source</h1>
|
<h1>Building VeraCrypt From Source</h1>
|
||||||
|
<p>In order to build VeraCrypt from the source code, you can follow these step-by-step guidelines:
|
||||||
<ul style="text-align:left; margin-top:18px; margin-bottom:19px; padding-top:0px; padding-bottom:0px">
|
<ul style="text-align:left; margin-top:18px; margin-bottom:19px; padding-top:0px; padding-bottom:0px">
|
||||||
<li style="text-align:left; margin-top:0px; margin-bottom:0px; padding-top:0px; padding-bottom:0px">
|
<li style="text-align:left; margin-top:0px; margin-bottom:0px; padding-top:0px; padding-bottom:0px">
|
||||||
<a href="CompilingGuidelineWin.html" style="text-align:left; color:#0080c0; text-decoration:none.html">Windows Build Guide</a>
|
<a href="CompilingGuidelineWin.html" style="text-align:left; color:#0080c0; text-decoration:none.html">Windows Build Guide</a>
|
||||||
</li><li style="text-align:left; margin-top:0px; margin-bottom:0px; padding-top:0px; padding-bottom:0px">
|
</li><li style="text-align:left; margin-top:0px; margin-bottom:0px; padding-top:0px; padding-bottom:0px">
|
||||||
<a href="CompilingGuidelineLinux.html" style="text-align:left; color:#0080c0; text-decoration:none.html">Linux Build Guide</a>
|
<a href="CompilingGuidelineLinux.html" style="text-align:left; color:#0080c0; text-decoration:none.html">Linux Build Guide</a>
|
||||||
</li></ul>
|
</li></ul>
|
||||||
|
</p>
|
||||||
</div><div class="ClearBoth"></div></body></html>
|
</div><div class="ClearBoth"></div></body></html>
|
||||||
|
|||||||
Reference in New Issue
Block a user