Sorry if this is obvious but for version 1.26.7 will there be an armhf version or do I use another version on the Rasberry Pi now?
I can see in the downloads the Pi is listed, but the file name is "Ubuntu" not "Debian"?
Last edit: Kev 2023-10-02
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm indeed rolling out other Linux ARM versions for VeraCrypt 1.26.7. The process is a bit time-consuming because I'm currently utilizing a single Raspberry Pi machine to compile all the versions. Switching between different distros and executing the builds takes significant time.
And to clarify, the "Ubuntu" labeled file can be used on the Raspberry Pi like it was the case for 1.25.9 release; however, specific "Debian" versions will be available soon. Thank you for your patience.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
That's fantastic thanks!
One other question. Is there a guide on how to compile Veracrypt on a Pi? I'm guessing you get the source code but I'm a bit of a noob and wondered if it's a process that can be followed?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Upon successful completion:
- The GUI package will be located at VeraCrypt_Packaging/GUI/Packaging.
- The console package will be found in VeraCrypt_Packaging/Console/Packaging.
Should you run into any issues or require further clarification on any of these steps, please don't hesitate to reach out.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks for the detailed instructions.
I can't get it to compile on a Pi, I get
../Common/PCSCException.cpp: In member function ‘virtual void VeraCrypt::PCSCException::Deserialize(std::shared_ptr<veracrypt::stream>)’:
../Common/PCSCException.cpp:143:40: error: no matching function for call to ‘VeraCrypt::Serializer::Deserialize(const char [10], LONG&)’
143 | sr.Deserialize("ErrorCode", ErrorCode);</veracrypt::stream>
And then more errors and ends with
nc:37: ../Common/PCSCException.o] Error 1
make: *** [Makefile:520: all] Error 2
But on Ubuntu it does compile. So assume it's something wrong with my Pi. No problem, I'll try again when I've rebuilt my Pi and see if it works then.
(Maybe because the Pi is running Pi OS?)
Last edit: Kev 2023-10-06
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You can apply it manually but editing PCSCException.cpp and replacing the lines starting by '-' in the patch by the ones starting by '+'.
You can also just grab lastest VeraCrypt source code from Git instead of downloading 1.26.7 release source code package: git clone https://github.com/veracrypt/VeraCrypt VeraCrypt
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
That's great thanks.
I used the git method and it has compiled on the Pi. I haven't tested the install yet, but it has created the .deb files
Thanks for your help.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi.
Sorry it's me again.
I'm now trying to build the files from source on a Pi with Bookworm but I encounter an error when trying to install the dependencies
Couldn't find any package by glob 'libwxgtk3.0-gtk3-dev'
Once I try to build I get a few errors and then a fatal error.
I get these errors near the start
make[1]: wx-config: No such file or directory
Package ayatana-appindicator-0.1 was not found in the pkg-config search path.
Package 'ayatana-appindicator-0.1', required by 'virtual:world', not found
And then when it fails I get this
make[1]: wx-config: No such file or directory
Precompiling SystemPrecompiled.h
SystemPrecompiled.h:13:10: fatal error: wx/wx.h: No such file or directory
13 | #include <wx wx.h="">
| ^~~~~~~~~
compilation terminated.</wx>
Looks like the Ubuntu 22 version also requires this so I get stuck trying to install the precompiled .deb file too
./veracrypt-1.26.7-Ubuntu-22.04-arm64.deb
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'veracrypt' instead of './veracrypt-1.26.7-Ubuntu-22.04-arm64.deb'
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
veracrypt : Depends: libwxgtk3.0-gtk3-0v5 but it is not installable
E: Unable to correct problems, you have held broken packages.
I've installed the Ubuntu 22 console and this does install.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Sorry if this is obvious but for version 1.26.7 will there be an armhf version or do I use another version on the Rasberry Pi now?
I can see in the downloads the Pi is listed, but the file name is "Ubuntu" not "Debian"?
Last edit: Kev 2023-10-02
I'm indeed rolling out other Linux ARM versions for VeraCrypt 1.26.7. The process is a bit time-consuming because I'm currently utilizing a single Raspberry Pi machine to compile all the versions. Switching between different distros and executing the builds takes significant time.
And to clarify, the "Ubuntu" labeled file can be used on the Raspberry Pi like it was the case for 1.25.9 release; however, specific "Debian" versions will be available soon. Thank you for your patience.
No problem and thanks for the reply.
Thanks for the continuing to update Veracrypt.
@bkev: the armhf packages for VeraCrypt version 1.26.7 are now available. You can access them on Sourceforge (https://sourceforge.net/projects/veracrypt/files/VeraCrypt%201.26.7/Linux/) or directly from the official downloads page (https://veracrypt.fr/en/Downloads.html).
Last edit: Mounir IDRASSI 2023-10-03
That's fantastic thanks!
One other question. Is there a guide on how to compile Veracrypt on a Pi? I'm guessing you get the source code but I'm a bit of a noob and wondered if it's a process that can be followed?
Building VeraCrypt on the Raspberry Pi should be similar to other Linux systems, and if you're using Ubuntu/Debian for Pi, follow the steps below:
1. Install the Required Dependencies: Ensure you have superuser privileges (either login as root or use
sudo
) and run the following:2. Download the wxWidgets Source Code:
3. Download the VeraCrypt Source Code:
4. Extract the wxWidgets Source Code:
5. Create a Directory for the VeraCrypt Build and Extract the Source Code:
6. Start the Build Process:
Upon successful completion:
- The GUI package will be located at
VeraCrypt_Packaging/GUI/Packaging
.- The console package will be found in
VeraCrypt_Packaging/Console/Packaging
.Should you run into any issues or require further clarification on any of these steps, please don't hesitate to reach out.
Thanks for the detailed instructions.
I can't get it to compile on a Pi, I get
../Common/PCSCException.cpp: In member function ‘virtual void VeraCrypt::PCSCException::Deserialize(std::shared_ptr<veracrypt::stream>)’:
../Common/PCSCException.cpp:143:40: error: no matching function for call to ‘VeraCrypt::Serializer::Deserialize(const char [10], LONG&)’
143 | sr.Deserialize("ErrorCode", ErrorCode);</veracrypt::stream>
And then more errors and ends with
nc:37: ../Common/PCSCException.o] Error 1
make: *** [Makefile:520: all] Error 2
But on Ubuntu it does compile. So assume it's something wrong with my Pi. No problem, I'll try again when I've rebuilt my Pi and see if it works then.
(Maybe because the Pi is running Pi OS?)
Last edit: Kev 2023-10-06
@bkev: I have pushed a change recently to master that should solve this issue: https://sourceforge.net/p/veracrypt/code/ci/33fcbf6adb5dfc41fc80b563614c29e5e009e9c6/
Here is the patch for PCSCException.cpp:
You can apply it manually but editing PCSCException.cpp and replacing the lines starting by '-' in the patch by the ones starting by '+'.
You can also just grab lastest VeraCrypt source code from Git instead of downloading 1.26.7 release source code package:
git clone https://github.com/veracrypt/VeraCrypt VeraCrypt
That's great thanks.
I used the git method and it has compiled on the Pi. I haven't tested the install yet, but it has created the .deb files
Thanks for your help.
Hi.
Sorry it's me again.
I'm now trying to build the files from source on a Pi with Bookworm but I encounter an error when trying to install the dependencies
Couldn't find any package by glob 'libwxgtk3.0-gtk3-dev'
Once I try to build I get a few errors and then a fatal error.
I get these errors near the start
make[1]: wx-config: No such file or directory
Package ayatana-appindicator-0.1 was not found in the pkg-config search path.
Package 'ayatana-appindicator-0.1', required by 'virtual:world', not found
And then when it fails I get this
make[1]: wx-config: No such file or directory
Precompiling SystemPrecompiled.h
SystemPrecompiled.h:13:10: fatal error: wx/wx.h: No such file or directory
13 | #include <wx wx.h="">
| ^~~~~~~~~
compilation terminated.</wx>
make[1]: *** [/path/src/Build/Include/Makefile.inc:66: SystemPrecompiled.h.gch] Error 1
make: *** [Makefile:529: all] Error 2
Is there anything I can do or won't I be able to compile on Bookworm due to the missing package? (Assuming the errors are related)?
Looks like the Ubuntu 22 version also requires this so I get stuck trying to install the precompiled .deb file too
./veracrypt-1.26.7-Ubuntu-22.04-arm64.deb
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'veracrypt' instead of './veracrypt-1.26.7-Ubuntu-22.04-arm64.deb'
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
veracrypt : Depends: libwxgtk3.0-gtk3-0v5 but it is not installable
E: Unable to correct problems, you have held broken packages.
I've installed the Ubuntu 22 console and this does install.
I've managed to get this working. I've added various packages, but the one that I was missing was libwxgtk3.2-dev
Now it has build properly.