-
When I try to build my ACAP application, I get an error |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Errors like this complaining on an undefined reference to a function or symbol in ACAP SDK and libc versionThe compatibility of an SDK is discussed in ACAP 3 SDK documentation and in ACAP 4 SDK documentation. When you build an application with an SDK version according to our ACAP application examples, you will build and link the application with a certain libc version that is also found in the corresponding AXIS OS version. Any API libraries in the SDK that you link to in your application have been built with the same libc version. Since libc is backwards compatible, it means that building the application with a libc version and linking to API libraries compiled with the same libc version, your application will be possible to install on the specified AXIS OS version or later. Building an application with for example ACAP SDK 4.1 (glibc 2.33) will make it compatible with AXIS OS 10.9 or later. The ACAP application build procedure is using
Wrong libc version and errorsWe have seen errors similar to Not following the steps outlined above could lead to this. Here are some possible pitfalls:
Other build tools than
|
Beta Was this translation helpful? Give feedback.
Errors like this complaining on an undefined reference to a function or symbol in
GLIBC_2.XX
is something we have seen during development and test of the ACAP SDK. It has occurred when there is a mismatch in libc versions.ACAP SDK and libc version
The compatibility of an SDK is discussed in ACAP 3 SDK documentation and in ACAP 4 SDK documentation.
When you build an application with an SDK version according to our ACAP application examples, you will build and link the application with a certain libc version that is also found in the corresponding AXIS OS version. Any API libraries in the SDK that you link to in your application have been built with the same libc version.
Since libc is bac…