Skip to content

Commit d877c99

Browse files
committed
v8.0
1 parent 8add768 commit d877c99

24 files changed

+1480
-1704
lines changed

BarcodeReader.cxx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
#include <thread>
77

88
using namespace std;
9+
using namespace dynamsoft::dbr;
910

1011
#if defined(LINUX) || defined(MACOS)
1112
#include <sys/time.h>

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ project (BarcodeReader)
33
MESSAGE( STATUS "PROJECT_NAME: " ${PROJECT_NAME} )
44

55
# The version number.
6-
set(BarcodeReader_VERSION_MAJOR 7)
7-
set(BarcodeReader_VERSION_MINOR 5)
6+
set(BarcodeReader_VERSION_MAJOR 8)
7+
set(BarcodeReader_VERSION_MINOR 0)
88

99
# Check platforms
1010
if (CMAKE_HOST_WIN32)

README.md

Lines changed: 15 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Building C/C++ Barcode Reader with CMake
22

3-
Version 7.5
3+
Version 8.0
44

55
## License
66
Get the [trial license](https://www.dynamsoft.com/CustomerPortal/Portal/Triallicense.aspx).
@@ -31,23 +31,21 @@ https://www.dynamsoft.com/Company/Contact.aspx
3131
```
3232
set(CMAKE_INSTALL_PREFIX "e:/${PROJECT_NAME}")
3333
```
34-
4. Generate project configuration files for win32:
34+
4. Generate project configuration files:
3535
```bash
36-
cmake ..
37-
```
36+
// x86
37+
cmake -DCMAKE_GENERATOR_PLATFORM=x86 ..
3838
39-
For win64:
40-
```bash
41-
cmake -G"Visual Studio 14 2015 Win64" ..
39+
// x64
40+
cmake -DCMAKE_GENERATOR_PLATFORM=x64 ..
4241
```
43-
5. Build and install the project:
42+
5. Build the project:
4443
```
45-
cmake --build . --target install
44+
cmake --build . --config release
4645
```
4746
6. Run the app:
4847
```
49-
cd e:\BarcodeReader\bin
50-
BarcodeReader [image-file] [optional: license-file] [optional: template-file]
48+
Release\BarcodeReader [image-file] [optional: license-file] [optional: template-file]
5149
```
5250
5351
## Linux
@@ -61,13 +59,13 @@ https://www.dynamsoft.com/Company/Contact.aspx
6159
mkdir build
6260
cd build
6361
```
64-
4. Build and install the project:
62+
4. Build the project:
6563
```bash
66-
sudo cmake --build . --target install
64+
cmake --build . --config release
6765
```
6866
5. Run the app:
6967
```
70-
BarcodeReader [image-file] [optional: license-file] [optional: template-file]
68+
./BarcodeReader [image-file] [optional: license-file] [optional: template-file]
7169
```
7270
7371
## macOS
@@ -83,16 +81,16 @@ https://www.dynamsoft.com/Company/Contact.aspx
8381
cd build
8482
```
8583
86-
4. Build and install the project:
84+
4. Build the project:
8785
8886
```bash
89-
cmake --build . --target install
87+
cmake --build . --config release
9088
```
9189
9290
5. Run the app:
9391
9492
```
95-
BarcodeReader [image-file] [optional: license-file] [optional: template-file]
93+
./BarcodeReader [image-file] [optional: license-file] [optional: template-file]
9694
```
9795
9896
## Screenshot

0 commit comments

Comments
 (0)