

16:48, EET

February 10, 2021

Hello,
Please i get an error coming from the sdk files and don’t know the cause.
I am using the ansi C client SDK on linux and i make the command ./buildExamples.sh on the sdk repertory but it did not go as planned because an error occured.
I think I have done what is supposed to be done.
Can you explain to me what’s going wrong and how to fix this error?
//———————————————————————————————————————-
No config was set – setting up the config to default build CONFIGURATIONS=Debug Release
Setting up default to static libraries BUILD_SHARED_LIBS=ON
— The C compiler identification is GNU 4.8.5
— Check for working C compiler: /usr/bin/gcc
— Check for working C compiler: /usr/bin/gcc — works
— Detecting C compiler ABI info
— Detecting C compiler ABI info – done
— Found OpenSSL: /usr/lib64/libssl.so;/usr/lib64/libcrypto.so (found version “1.0.2k”)
— Detected GCC version: 4.8.5
CMake Error at /cmake/ConfigureCompiler.cmake:285 (cmake_dependent_option):
Syntax error in cmake code at
/sdk/cmake/ConfigureCompiler.cmake:288
when parsing string
CMAKE_BUILD_TYPE STREQUAL Debug AND \
NOT ENABLE_${COMPILER_NAME}_SANITIZER_ADDRESS AND \
NOT ENABLE_${COMPILER_NAME}_SANITIZER_THREAD AND \
NOT ENABLE_${COMPILER_NAME}_SANITIZER_MEMORY AND \
NOT ENABLE_${COMPILER_NAME}_SANITIZER_UB AND \
NOT ENABLE_${COMPILER_NAME}_SANITIZER_INTEGER AND \
NOT ENABLE_${COMPILER_NAME}_SANITIZER_UINT_OVERFLOW AND \
NOT ENABLE_${COMPILER_NAME}_PROFILING AND \
NOT ENABLE_${COMPILER_NAME}_LTO
syntax error, unexpected cal_SYMBOL, expecting $end (82)
Call Stack (most recent call first):
/sdk/cmake/ConfigureCompiler.cmake:439 (configure_warnings)
CMakeLists.txt:16 (include)
— Configuring incomplete, errors occurred!
See also “/opt/magma/main_opc/PrjStandard/SiteStd/convCom/sdk/buildExamplesDebug/oversampling/CMakeFiles/CMakeOutput.log”.
cmake failed.
//———————————————————————————————————————————————————————–
16:55, EET

December 21, 2011

It looks like the changes to the default configuration were made in a bit incorrect manner.
Any changes to the default configuration should be made through CMake curses interface as detailed in the documentation available at:
https://documentation.unified-automation.com/uasdkc/1.9.0/html/CompileSdkLinux.html
11:47, EET

February 10, 2021

Hello, i have know a new error.
I included all the libs needed but i still have this error :
//———————————————————————————————————
undefined reference to `SetupClientPKIInfrastructure’
//———————————————————————————————————
Please do you know which library contains this function ? I think i don’t have it can you forward it to me or send me a link to where i could download it.
Thank’s
17:04, EET

December 21, 2011

17:19, EET

February 10, 2021

ok I will try to fix it
Also I don’t know why but my subscriptions are sudently not working .
When i create my monitored items, I have an error after some call back of the function.
The error is :
//———————————————————————————————————
Segmentation fault (core dumped)
//———————————————————————————————————
Please do yo know what is the cause ?
17:23, EET

February 10, 2021

21:01, EET

December 21, 2011

16:26, EET

February 10, 2021

Hello,
I get an error while running my program
I integrate the Ansi C client sdk in my software and build it without error. But when i run it, an error appear :
//————————————————————————————————————————————————————
error while loading shared libraries: libuastack.so : cannot open shared object file: No such file or directory
//————————————————————————————————————————————————————
I don’t know why because libuastack.so is in the same path with the others sdk’s libraries and the error did not specify in which path i have to put it.
Can somebody help me ?
16:33, EET

February 10, 2021

Hello,
I get an error while running my program
I integrate the Ansi C client sdk in my software and build it without error. But when i run it, an error appear :
//————————————————————————————————————————————————————
error while loading shared libraries: libuastack.so : cannot open shared object file: No such file or directory
//————————————————————————————————————————————————————
I don’t know why because libuastack.so is in the same path with the others sdk’s libraries and the error did not specify in which path i have to put it.
Can somebody help me ?
I copy it to usr/lib as i saw on others case of the same problem but it is not working too.
Most Users Ever Online: 1919
Currently Online:
135 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Heikki Tahvanainen: 402
hbrackel: 144
rocket science: 88
pramanj: 86
Francesco Zambon: 83
Ibrahim: 78
Sabari: 62
kapsl: 57
gjevremovic: 49
Xavier: 43
Member Stats:
Guest Posters: 0
Members: 793
Moderators: 7
Admins: 1
Forum Stats:
Groups: 3
Forums: 15
Topics: 1538
Posts: 6493
Newest Members:
sophiadavis, Waynegalse, Phillipbus, Oscarsat, WilliamJer, WilliamTunse, mvsjonah79, RaymondSmutt, Merlin AI pap, patlawrence98Moderators: Jouni Aro: 1027, Pyry: 1, Petri: 0, Bjarne Boström: 1037, Jimmy Ni: 26, Matti Siponen: 353, Lusetti: 0
Administrators: admin: 1