[ACAP3] How and where to install libs using the dockerfile? #341
-
Please bear with me as i'm new to this sort of development and don't fully know the terminology as well. I'm trying to understand how to install a lib with the Dockerfile for the app to include. For example, i'm wanting to install mosquitto and in my dockerfile i have something like:
This does install mosquitto on the container but whenever i go and build the acap application it cannot find the mosquitto lib Error:
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
This automatically generated reply acts as a friendly reminder. Answers to your questions will most often come from the community, from developers like yourself. You will, from time to time, find that Axis employees answers some of the questions, but this is not a guarantee. Think of the discussion forum as a complement to other support channels, not a replacement to any of them. If your question remains unanswered for a period of time, please revisit it to see whether it can be improved by following the guidelines listed in Axis support guidelines. |
Beta Was this translation helpful? Give feedback.
-
if you are using ACAP3 or ACAP native SDK, you need crosscompile the library, refer to these example openssl_curl_example: https://github.com/AxisCommunications/acap-native-sdk-examples/tree/main/utility-libraries |
Beta Was this translation helpful? Give feedback.
-
Do you mind if I take a step back and ask what do you want to use the MQTT client for? @c-hristian @pppaulpeter Perhaps you can do what you want to by using the I have created a video here where I show how to connect an ACAPs ax-events with the onboard MQTT broker. You can both send and receive messages using this approach. |
Beta Was this translation helpful? Give feedback.
already include for ACAP 4: https://github.com/AxisCommunications/acap-native-sdk-examples/tree/main/utility-libraries
if