FORUM CTRLX AUTOMATION
ctrlX World Partner Apps for ctrlX AUTOMATION
03-12-2024 12:35 AM
Does anyone know what is the correct way to install a C++ library and if any special configuration is required in the other files folders inside the application (I mean apart from modifying the main.cpp file, it is required to modify another one)?
Solved! Go to Solution.
03-12-2024 10:00 AM
Moved to corresponding sub forum SDK.
What exactly do you mean by installing? Bring it to your development environment? Pack it in your snap? reference it in the project?
Could you describe in more detail what you want to achieve?
03-12-2024 10:09 AM
Hi @Josaphat_Aviles,
There is not an easy answer to your question, which would fully answer it. I would recommend you to learn more about C++ in general. There is good literature and also videos you can find online. This would be something you learn in a course about C++ in university for example.
But I attached a little example for you. In this example I edited the hello.world example from the ctrlX Automation SDK and instead for printing out directly something to the logbook I used my self-created shared library (libSharedLibrary.so). Some things you need to do, so it will work:
Best regards,
Nick