I am sorry but it does not make much sense.
FlytSim is running inside a Docker container, and you seem to be running your apps on your host OS. That is simple not possible in the current configuration.
Also, have you also installed the FlytSim-native version? The fact that you are able to compile your demoapp outside the docker container makes me think likewise.
How to build and run the cpp demoapps for FlytSim-Docker:
This link should help with that. You have two options:
- Either use openshell.sh script to open a shell inside docker container, where you compile and run your executable.
- Or use the WebIDE which is packaged inside FlytSim-Docker to gain access to the container’s file system and terminal in your browser. Click here to know more.
You have a THIRD option as well, where you get access to FlytSim container’s network access, without entering into shell/terminal of FlytSim container. It works on my machine (Ubuntu 16.04) but has not been tested much.
- Open docker-compose.yml file
hostname: flytsim and add
I have attached the updated docker-compose file.
Do not use sudo ./<appname>. If you need sudo permission, run this command to open a new shell with root access:
sudo -s and then run your command: `./<appname>
In case, you would like us to improve our documentation/product (flytsim), please give us your valuable suggestions/feedback based on your understanding.