Hi,
I need to use 3rd party header file in my cpp program, they provide header files and shared libraries , how to link those libraries to my cpp
Update:
I had successfully linked those shared libraries to cpp program but still not able to include the header files getting error
1 2 3 4 5 6 7 8 9 10 11 12
|
[hanuman@localhost MyCpp]$ g++ -O3 -I /usr/local/include/nuance-omnipage-csdk-20.1
MyCpp.cpp -o MyCpp -L/usr/local/lib/nuance-omnipage-csdk-lib64-20.1 -lrecapiplus -
lkernelapi -lrecpdf -Wl,-rpath-link,/usr/local/lib/nuance-omnipage-csdk-lib64-20.1,-
rpath,/usr/local/lib/nuance-omnipage-csdk-lib64-20.1
[hanuman@localhost MyCpp]$ g++ -o MyCpp MyCpp.cpp
MyCpp.cpp:1:23:
fatal error: KernelApi.h: No such file or directory
#include "KernelApi.h"
|
Last edited on