Skip to content

Commit 117a952

Browse files
update library resources to v9.2
1 parent 66c6ab8 commit 117a952

28 files changed

+30
-24
lines changed

CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ option(BUILD_CPP_ACCURACYFIRSTSETTINGS "Build the sample AccuracyFirstSettings u
1818
option(BUILD_CPP_READRATEFIRSTSETTINGS "Build the sample ReadRateFirstSettings under ./sample/C++/Performance/ReadRateFirstSettings" ON)
1919

2020
if(BUILD_LINUX)
21-
set(DBRLIB ${CMAKE_CURRENT_SOURCE_DIR}/lib/Linux)
21+
set(DBRLIB ${CMAKE_CURRENT_SOURCE_DIR}/lib/Linux/x64)
2222
elseif(BUILD_ARM)
23-
set(DBRLIB ${CMAKE_CURRENT_SOURCE_DIR}/lib/ARM32)
23+
set(DBRLIB ${CMAKE_CURRENT_SOURCE_DIR}/lib/Linux/ARM32)
2424
add_compile_options(-DDM_ARM -D__ARM_NEON__ -mfpu=neon)
2525
elseif(BUILD_ARM64)
26-
set(DBRLIB ${CMAKE_CURRENT_SOURCE_DIR}/lib/ARM64)
26+
set(DBRLIB ${CMAKE_CURRENT_SOURCE_DIR}/lib/Linux/ARM64)
2727
add_compile_options(-DDM_ARM -D__ARM_NEON__)
2828
else()
2929
message(FATAL_ERROR "Please specify a supported platform")

include/DynamsoftBarcodeReader.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,7 @@ typedef void* HANDLE;
202202
/**The DotCode license is invalid. */
203203
#define DBRERR_DOTCODE_LICENSE_INVALID -10061
204204

205+
/**The PharmaCode license is invalid. */
205206
#define DBRERR_PHARMACODE_LICENSE_INVALID -10062
206207

207208
/**
@@ -3505,6 +3506,9 @@ extern "C" {
35053506
*/
35063507
DBR_API int DBR_SetIntermediateResultCallback(void *barcodeReader, CB_IntermediateResult cbFunction, void * pUser);
35073508

3509+
3510+
DBR_API int DBR_SetDeviceFriendlyName(const char* name);
3511+
35083512
/**
35093513
* @}defgroup CCallback
35103514
*/
@@ -4291,6 +4295,8 @@ namespace dynamsoft
42914295
*/
42924296
int SetIntermediateResultCallback(CB_IntermediateResult cbFunction, void * pUser);
42934297

4298+
4299+
static int SetDeviceFriendlyName(const char* name);
42944300
/**
42954301
* @}
42964302
*/

0 commit comments

Comments
 (0)