I've tried setting up the environment to compile VeraCrypt, but encountered many errors during the compilation process. Does anyone have a Windows ISO with a pre-installed VeraCrypt compilation environment that they could share with me?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
@anmivn: I understand your frustration with setting up the compilation environment. Compiling VeraCrypt should ideally be a straightforward process when following the correct steps.
Firstly, I would suggest referring to the detailed documentation on the VeraCrypt website: https://veracrypt.fr/en/CompilingGuidelineWin.html . This guideline contains comprehensive steps to help you set up the correct environment to compile VeraCrypt on Windows.
Additionally, there is a Sourceforge thread that you might find useful: https://sourceforge.net/p/veracrypt/discussion/general/thread/0b2fa24679/?limit=25#e8ca/34f3 . While this thread specifically addresses ARM64 compilation, the configuration files attached for Visual Studio 2019 can be beneficial, as they help in installing all necessary components. The information there applies to all architectures, so it should be relevant to your needs.
If, after following the aforementioned resources, you still encounter issues, please don't hesitate to post the specific errors you're facing here on Sourceforge. It's essential to provide as much detail as possible to receive accurate help. Before posting, you might also want to check if someone else has already encountered (and resolved) a similar issue.
I'd like to emphasize that my objective with VeraCrypt has always been to make building the software as simple and as well-documented as possible. Your feedback is essential in helping us achieve that goal, and I appreciate your interest in studying the VeraCrypt source code.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I found the link above through Perplexity search engine using its copilot mode. I just asked it "What can be the cause of failure to install Windows SDK 7.1 on Windows 10?" and it gave me a summary of issues and possible solutions with links. Here is my query: https://www.perplexity.ai/search/What-can-be-Aq_kRdIQQbqR8SPs27juYA?s=c
Anyway, let us know if you are now able to install Windows SDK 7.1 .
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I've tried setting up the environment to compile VeraCrypt, but encountered many errors during the compilation process. Does anyone have a Windows ISO with a pre-installed VeraCrypt compilation environment that they could share with me?
Why would you trust getting Windows ISO from a stranger on the internet verses just downloading the VeraCrypt software and install it on your PC?
Because I want to study the VeraCrypt source code, but whenever I try to set up the compilation environment, I always encounter errors
I apologize for the confusion. What I meant was a Windows ISO that has successfully compiled the VeraCrypt version.
@anmivn: I understand your frustration with setting up the compilation environment. Compiling VeraCrypt should ideally be a straightforward process when following the correct steps.
Firstly, I would suggest referring to the detailed documentation on the VeraCrypt website: https://veracrypt.fr/en/CompilingGuidelineWin.html . This guideline contains comprehensive steps to help you set up the correct environment to compile VeraCrypt on Windows.
Additionally, there is a Sourceforge thread that you might find useful: https://sourceforge.net/p/veracrypt/discussion/general/thread/0b2fa24679/?limit=25#e8ca/34f3 . While this thread specifically addresses ARM64 compilation, the configuration files attached for Visual Studio 2019 can be beneficial, as they help in installing all necessary components. The information there applies to all architectures, so it should be relevant to your needs.
If, after following the aforementioned resources, you still encounter issues, please don't hesitate to post the specific errors you're facing here on Sourceforge. It's essential to provide as much detail as possible to receive accurate help. Before posting, you might also want to check if someone else has already encountered (and resolved) a similar issue.
I'd like to emphasize that my objective with VeraCrypt has always been to make building the software as simple and as well-documented as possible. Your feedback is essential in helping us achieve that goal, and I appreciate your interest in studying the VeraCrypt source code.
I followed the instructions very carefully, but I still encountered an error at this step!
Click on the View Log button, save the log as a file, then post the log file.
Last edit: Enigma2Illusion 2023-09-25
@anmivn: sharing log can be a first step as indicated by @enigma2illusion but normally the trick described in VeraCrypt documentation should have solved this problem.
An internet search leads to an other possible solution: https://stackoverflow.com/questions/32091593/cannot-install-windows-sdk-7-1-on-windows-10
Basically, there are conflicts with existing VC++ 2010 redistributable. Uninstalling it should fix the problem. Look at the first answer in the link and its comments.
I found the link above through Perplexity search engine using its copilot mode. I just asked it "What can be the cause of failure to install Windows SDK 7.1 on Windows 10?" and it gave me a summary of issues and possible solutions with links. Here is my query:
https://www.perplexity.ai/search/What-can-be-Aq_kRdIQQbqR8SPs27juYA?s=c
Anyway, let us know if you are now able to install Windows SDK 7.1 .