Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

AxCrypt source code compilation and installation

2025-02-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/02 Report--

Recently has been working on an open source encryption and decryption software, this thing is very practical, for the introduction of the software I will not say much here, directly to the point.

The compiled version of this document is: AxCrypt-1.7.2976.0-Source

The version of vs used is: vs2010 flagship version

The compiled version is the Debug version.

According to the standard documentation, the additional tools or libraries required are as follows:

(1) download Crypto++ 5.6.1 (or later) from: http://www.cryptopp.com

(2) download zlib-1.2.5 (or later version) from: http://www.zlib.net

(3) MicrosoftWindows SDK 7.1 or higher, but now that vs2010 is installed, it comes with it, but the vs2010express version needs to be installed.

(4) download address of WTL 8.1.11324 or later

Http://sourceforge.net/projects/wtl/

(5) WindowsDriver Kit version 7.1 or later can be downloaded from:

Http://www.oyksoft.com/soft/10174.html

(6) the download address for MSBuild.Community.Tasks is:

Http://msbuildtasks.tigris.org/

(7) ML (WiX) toolset v3.5 or later, available for download at:

Http://wix.codeplex.com/ this download is wix3.7!

Some of the additional libraries you need are ready, so you can go further to the compilation project:

First, you need to register some environment variables:

AX_CRYPTOPP = D:\ cryptopp561

Description: the path is the path where the cryptopp561.zip decompressed file is located. Here, I will extract it to disk D.

AX_ATL=C:\ WinDDK\ 7600.16385.1

Description: this path is the path where your Windows Driver Kit 7.1 is installed.

AX_WTL=D:\ WTL81_9127

Note: this path is the path where the WTL81_9127.zip decompressed file is located, the path on the English document is D:\ WTL81_9127\ Include, and I use D:\ WTL81_9127 is also successful! If D:\ WTL81_9127 doesn't work, try D:\ WTL81_9127\ Include

AX_ZLIB=D:\ zlib-1.2.8

Description: the path of the unzipped file in zlib-1.2.8

It is also important to note that some commands will be used in later operations. Now you can open one to run the cmd command, and then test whether these commands exist on your system. These two commands are:

Vcupgrade.exe and msbuild.exe

If it doesn't exist, try it:

Open this directory:

C:\ ProgramFiles\ Microsoft Visual Studio 10.0\ Common7\ Tools

Check to see if there is a vcupgrade.exe. If so, add this path after the user environment variable path

Open the directory:

C:\ WINDOWS\ Microsoft.NET\ Framework\ v4.0.30319

Check to see if msbuild.exe exists. If so, add the directory above to the user environment variable path.

If one of the two does not exist, then there is something wrong with the environment, and it will be impossible to operate further! Depending on the directory in which vs2010 is installed, the above directory will change, and those are the directories I installed!

Let's start the compilation:

1. Install the downloaded MSBuild.Community.Tasks.v1.4.0.56.msi

two。 After the installation is successful, after opening the operation of the system, type cmd

3. Execute the following command:

Cd AX_CRYPTOPP%

Vcupgrade cryptlib.vcproj

4. Then comes the following command:

Msbuild cryptlib.vcxproj/p:Configuration=Debug;Platform=Win32

It should be noted that if this step goes wrong, change the Chinese characters in the AX_CRYPTOPP environment variable you set into English, and then reuse the above command!

4. Open% AX_ZLIB%\ contrib\ vstudio\ vc10\ zlibvc.sln. You need to set it as follows: properties-> configure Properties-> C C++-> Code Generation. The runtime in the tab on the right is set to: multithreaded debugging (/ MTd).

5. Then execute the following command:

Cd% AX_ZLIB%\ contrib\ masmx64

Bld_ml32.bat

Or go directly to bld_ml32.bat and double-click.

5. Then execute the following command:

Cd%AX_ZLIB%\ contrib\ vstudio\ vc10

Msbuildzlibstat.vcxproj / pvug configuration DebugsPlatformers Win32

When all this is done, go to the AxCrypt-1.7.2976.0-Source source directory and execute the following command:

MSBuildAxCrypt.sln / pvug configuration DebugsPlatformers Win32

Then open AxCrypt.sln under vs2010. When running, you may say that a library cannot be recognized by the binary system or that the format is incorrect. In this case, you only need to set other projects as startup items. The steps are as follows:

Select (AxDecrypt or AxCrypt2Go or AxCrypt), and set it as the startup item in the right-click menu that pops up, so that you can compile with vs2010 without error! At this point, the whole compilation process is over!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report