orig74 / DroneSimLab

SITL ArduCopter & PX4 with Unreal Engine 4 Simulation framework
MIT License
143 stars 30 forks source link

Dronemain.py not bieng executed #23

Closed geevargs closed 6 years ago

geevargs commented 6 years ago

It shows undefined symbol : cairo_ft_font_options_substitute

img1

orig74 commented 6 years ago

I can see you are using a different version of the Dockerfile, your version starts from ubuntu 16.04 and my version is 14.04 I think this is the reason for the missing lib.

you can try and manually install it before running dronemain.py by running sudo apt-get install libpangocairo-1.0-0 If that works, you can add this line to your DockerFile and build the image. Let me know how it goes.

orig74 commented 6 years ago

you can also try newer miniconda version and replace the one in your docker file: this is the list of versions: miniconda versions you can change to the latest one which is: Miniconda3-4.3.27.1-Linux-x86_64.sh

geevargs commented 6 years ago

I am getting this error when it tries to install opencv UnsatisfiableError: The following specifications were found to be in conflict:

On Wed, Oct 18, 2017 at 3:36 PM, Ori notifications@github.com wrote:

you can also try newer miniconda version and replace the one in your docker file: this is the list of versions: miniconda versions https://repo.continuum.io/miniconda/ you can change to the latest one which is: Miniconda3-4.3.27.1-Linux-x86_64.sh

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/orig74/DroneSimLab/issues/23#issuecomment-337747830, or mute the thread https://github.com/notifications/unsubscribe-auth/Ab4Y3WonL6_YBi2QcWRu0jpWUKRkLmIjks5stn2AgaJpZM4P-T-q .

--


PRIVATE AND CONFIDENTIAL - NOTICE TO RECIPIENT: THIS E-MAIL IS MEANT FOR ONLY THE INTENDED RECIPIENT OF THE TRANSMISSION, AND MAY BE A COMMUNICATION PRIVILEGE BY LAW. IF YOU RECEIVED THIS E-MAIL IN ERROR, ANY REVIEW, USE, DISSEMINATION, DISTRIBUTION, OR COPYING OF THIS EMAIL IS STRICTLY PROHIBITED. PLEASE NOTIFY US IMMEDIATELY OF THE ERROR BY RETURN E-MAIL AND PLEASE DELETE THIS MESSAGE FROM YOUR SYSTEM.

orig74 commented 6 years ago

maybe rolling back to 14.04 in the SItl Dockerfile (like my version) will be the fastest approach. If you want me to check your version. please fork the project (the button on the upper right) do the changes and let me see.

geevargs commented 6 years ago

I rolled back to 14.04 in the SITL Dockerfile...didnt make a difference. I basically used the original Dockerfile code without changing the code.

img2

orig74 commented 6 years ago

I'm rebuilding the SITL image to see if I can recreate the issue. I'll get back to you...

orig74 commented 6 years ago

I Added this line to the SITL docker file and updated this file and it is working form me: RUN /miniconda/bin/conda update -y cairo

Let me know how it goes.

orig74 commented 6 years ago

you didn't paste an image

geevargs commented 6 years ago

img3

geevargs commented 6 years ago

I had to install cairo in the dockerfile otherwise it didnt recognize it.

orig74 commented 6 years ago

The file that worked for me was the one that is currently in the repository. E.g with the Miniconda3-4.2.12-Linux-x86_64.sh version and Ubuntu 14.04. Just take this file as is and run the ../build.py --nocache.

geevargs commented 6 years ago

That worked but the ardupilot is giving an error now. img4

orig74 commented 6 years ago

run this command in the ardupilot pane, so I can see the full log and send it to me ../Tools/autotest/sim_vehicle.py -w > /dronelab/ardupilot_fail.log 2>&1 the file will be in the DroneSimLab dir in the host

geevargs commented 6 years ago

ardupilot_fail.log

orig74 commented 6 years ago

Hi, I manage to recreate this error. It was something to do with git relative paths. I updated the build script to deal with this error. Please run the main build script "build.py". It shuld print "updating ardupilot git relative paths" and fix this problem. Let me know how it goes.