This article is a mirror article of machine translation, please click here to jump to the original article.

View: 1981|Reply: 3

Download the FastDeploy source code compilation for Windows

[Copy link]
Posted on 2024-12-9 22:06:41 | | |
Requirements: FastDeploy provides precompiled libraries for each platform, which do not meet personal needs and require self-compilation.There are too many official documentation pits, and installing documentation will definitely fail

First, I purchased a server from a cloud vendor in Hong Kong, operating system: Windows Server 2022 Data Center Edition 64-bit Chinese.

Download the git, cmake, vs 2019, vs 2022 tools

git download:The hyperlink login is visible.
cmake download:The hyperlink login is visible.
VS 2019 Community Edition download:The hyperlink login is visible.
VS 2022 Community Edition Download:The hyperlink login is visible.
Nuget Download:The hyperlink login is visible.

Note: The cmake and nuget tools need to be added to the system environment variables (tutorial omitted).

VS 2019 and VS 2022 installations

When installing, you need to check the following figure:



Download FastDeploy

Create a new work folder on the C drive and clone the project from the Git command with the following command:




After downloading, don't rush to compile,The bug needs to be fixed, find the "C:\work\FastDeploy\csharp\CMakeLists.txt" file and modify it as follows:

Find the "C:\work\FastDeploy\csharp\fastdeploy\runtime_option.cs" file and modify it as follows:

After fixing the bug, go to the FastDeploy folder, open the CMD window, and execute the following command:

As shown below:




Find it in the Windows Start menuVS 2022-> x64 Native Tools Command Prompt for VS 2022 opens, enter the following command to start compiling:



As shown below:



After the compilation is completed, it will be output to the "C:\work\compiled_fastdeploy" directory.

Reference:

The hyperlink login is visible.
The hyperlink login is visible.
The hyperlink login is visible.
The hyperlink login is visible.
The hyperlink login is visible.





Previous:.NET 8 calls functions in the C++ Dynamic Link library
Next:A little tired
 Landlord| Posted on 2024-12-9 22:10:21 |
cmake to see the supported generators, command:



Although Visual Studio 17 2022 is supported, don't choose this, otherwise it will report an opencv error when generating.

OpenCV_FOUND to FALSE so package “OpenCV“ is considered to be NOT FOUND

 Landlord| Posted on 2024-12-10 13:07:41 |
fastdeploy_csharp.dll Download
csharp_lib.zip (439.68 KB, Number of downloads: 4)
 Landlord| Posted on 2024-12-31 13:24:43 |
.NET/C# uses FastDeploy to deploy OCR models to recognize text
https://www.itsvse.com/thread-10911-1-1.html
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com