Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.
adeniz 6ed3f181eb 1) Added DLLs for running the test program built by MinGW-W64 8.1.0. 4 роки тому
..
README 1) Added DLLs for running the test program built by MinGW-W64 8.1.0. 4 роки тому
VS2019CPPSample.sln 1) Added DLLs for running the test program built by MinGW-W64 8.1.0. 4 роки тому
VS2019CPPSample.vcxproj 1) Added DLLs for running the test program built by MinGW-W64 8.1.0. 4 роки тому
VS2019CPPSample.vcxproj.filters 1) Added DLLs for running the test program built by MinGW-W64 8.1.0. 4 роки тому
VS2019CPPSample.vcxproj.user 1) Added DLLs for running the test program built by MinGW-W64 8.1.0. 4 роки тому

README

README file for the VS 2019 CPP sample project


Copyright (c) 2020 ARM Research Laboratories

This README file gives an overview of the VS 2019 CPP sample project.

This project links the sample CPP file CPPSample\main.cpp with the
SNFMulti import library.

To build this application:

1) Open VS2019CPPSampls\VS2019CPPSample.sln with VS 2019.

2) Select "x64" (if available) or "x86" for the platform.

3) In the project, open main.cpp. Modify the initial value of
ConfigurationPath as necessary to specify the location of the
SNFServer configuration file.

4) Build.

In order to create the SNFMulti import and export libraries, do the
following:

1) Open a VS2019 command prompt (Tools->Visual Studio 2019 Command
Prompt).

2) Change to the 32bitDll directory of the SDK.

3) Enter the command:

LIB /MACHINE:x86 /DEF:snfmulti.def /name:snfmulti.dll /out:vs2019_snfmulti.lib

This creates the vs2019_snfmulti.lib import library and
vs2019_snfmulti.exp export library for the x86 platform. To create
the libraries for the x64 platform:

4) Change to the 64bitDll directory of the SDK.

5) Enter the command:

LIB /MACHINE:x64 /DEF:snfmulti.def /name:snfmulti.dll /out:vs2019_snfmulti.lib

This creates libraries for the x64 platform.

To modify a solution file to use SNFMulti, do the following:

1) Add the header file include/snfmultidll.h.

2) In Project -> Properties -> Debugging -> Environment, add
the directory containing the SNFMulti libraries and other DLLs.

3) In Project -> Properties -> Linker -> Input -> Additional
Dependencies, prepend "vs2019_snfmulti.lib".

4) In Project -> Properties -> Linker -> Optimization -> Link Time
Code Generation, specify "Use Link Time Code Generation").