Skip to content

Commit a438f0c

Browse files
udpate folder path
1 parent f33b248 commit a438f0c

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

programming/cplusplus/user-guide/getting-started.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -45,29 +45,29 @@ Let's start by creating a console application which demonstrates how to use the
4545

4646
#### For Linux/ARM/Mac
4747

48-
Create a new source file named `DCPSample.cpp` and place it into the folder `[INSTALLATION FOLDER]/Samples`.
48+
Create a new source file named `DCPSample.cpp` and place it into the folder `[INSTALLATION FOLDER]/Dynamsoft/Samples`.
4949

5050
### Include the Library
5151

5252
Add headers and libs in `DCPSample.cpp`.
5353

5454
```cpp
5555
#include<iostream>
56-
#include "[INSTALLATION FOLDER]/Include/DynamsoftCodeParser.h"
57-
#include "[INSTALLATION FOLDER]/Include/DynamsoftCore.h"
58-
#include "[INSTALLATION FOLDER]/Include/DynamsoftLicense.h"
56+
#include "[INSTALLATION FOLDER]/Dynamsoft/Include/DynamsoftCodeParser.h"
57+
#include "[INSTALLATION FOLDER]/Dynamsoft/Include/DynamsoftCore.h"
58+
#include "[INSTALLATION FOLDER]/Dynamsoft/Include/DynamsoftLicense.h"
5959
using namespace std;
6060
using namespace dynamsoft::dcp;
6161
using namespace dynamsoft::license;
6262
#if defined(_WIN64) || defined(_WIN32)
6363
#ifdef _WIN64
64-
#pragma comment(lib, "[INSTALLATION FOLDER]/Distributables/Lib/Windows/x64/DynamsoftCodeParserx64.lib")
65-
#pragma comment(lib, "[INSTALLATION FOLDER]/Distributables/Lib/Windows/x64/DynamsoftCorex64.lib")
66-
#pragma comment(lib, "[INSTALLATION FOLDER]/Distributables/Lib/Windows/x64/DynamsoftLicensex64.lib")
64+
#pragma comment(lib, "[INSTALLATION FOLDER]/Dynamsoft/Distributables/Lib/Windows/x64/DynamsoftCodeParserx64.lib")
65+
#pragma comment(lib, "[INSTALLATION FOLDER]/Dynamsoft/Distributables/Lib/Windows/x64/DynamsoftCorex64.lib")
66+
#pragma comment(lib, "[INSTALLATION FOLDER]/Dynamsoft/Distributables/Lib/Windows/x64/DynamsoftLicensex64.lib")
6767
#else
68-
#pragma comment(lib, "[INSTALLATION FOLDER]/Distributables/Lib/Windows/x86/DynamsoftCodeParserx86.lib")
69-
#pragma comment(lib, "[INSTALLATION FOLDER]/Distributables/Lib/Windows/x86/DynamsoftCorex86.lib")
70-
#pragma comment(lib, "[INSTALLATION FOLDER]/Distributables/Lib/Windows/x86/DynamsoftLicensex86.lib")
68+
#pragma comment(lib, "[INSTALLATION FOLDER]/Dynamsoft/Distributables/Lib/Windows/x86/DynamsoftCodeParserx86.lib")
69+
#pragma comment(lib, "[INSTALLATION FOLDER]/Dynamsoft/Distributables/Lib/Windows/x86/DynamsoftCorex86.lib")
70+
#pragma comment(lib, "[INSTALLATION FOLDER]/Dynamsoft/Distributables/Lib/Windows/x86/DynamsoftLicensex86.lib")
7171
#endif
7272
#endif
7373
```
@@ -88,7 +88,7 @@ if (errorCode != EC_OK)
8888
```
8989

9090
>Please replace `YOUR-LICENSE-KEY` with a valid DCP licensekey. There are two ways to obtain one:
91-
>- Search `InitLicense` and find the license from `[INSTALLATION FOLDER]/Resources/CodeParser/Samples/HelloWorld/HelloWorld.cpp`.
91+
>- Search `InitLicense` and find the license from `[INSTALLATION FOLDER]/Dynamsoft/Resources/CodeParser/Samples/HelloWorld/HelloWorld.cpp`.
9292
>- Request a trial license from <a href="https://www.dynamsoft.com/customer/license/trialLicense?utm_source=guide&product=dcp&package=desktop" target="_blank">Customer Portal</a>.
9393

9494
Create an instance of Dynamsoft Code Parser.
@@ -146,7 +146,7 @@ Please change all `[INSTALLATION FOLDER]` in above code snippet to your unpackin
146146

147147
2. Build the project to generate program `DCPSample.exe`.
148148

149-
3. Copy **ALL** `*.dll` files under `[INSTALLATION FOLDER]\Distributables\Lib\Windows\x64` to the same folder as the `DCPSample.exe`.
149+
3. Copy **ALL** `*.dll` files under `[INSTALLATION FOLDER]\Dynamsoft\Distributables\Lib\Windows\x64` to the same folder as the `DCPSample.exe`.
150150

151151
4. Run the program `DCPSample.exe`.
152152

0 commit comments

Comments
 (0)