Installing KACC_JSON
This section provides a KACC_JSON package containing its static library and header files. You can decompress the package and integrate the files into your projects.
Procedure
Obtain the KACC_JSON software package by referring to Obtaining the Software Package. Decompress the package to obtain the KACC_JSON static library and header files.
Usage Description
Use the -L and -l parameters to link libkaccgson.so during GCC compilation. libkaccgson.so depends on OmniRuntime's OmniStream Java basic library and the Kunpeng System Library (KSL). Contact Huawei technical support to obtain the libraries.
g++ -o testDemo test.cpp -I./include/kacc_gson_shell -I./include/ -I./util/OmniStream_Java_Basictypes/include/ -I/usr/local/ksl/include -L./output -lkaccgson -L./util/OmniStream_Java_Basictypes/lib/ -lJavaBasictypes -lJavaFunctions -L/usr/local/ksl/lib -lKHSEL_ops
Parent topic: KACC_JSON Installation