Building source code for PX4 not working

I am trying to build the PX4 source code on my computer. I am trying to do the first build using jMaxSim, and I get the following strings of error:

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by (rsrc:j3dcore.jar) to method sun.awt.AppContext.getAppContext()
WARNING: Please consider reporting this to the maintainers of
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
Inconsistency detected by dl-lookup.c: 112: check_match: Assertion `version->filename == NULL || ! _dl_name_match_p (version->filename, map)’ failed!

Could anybody please help me figure this out? Thanks so much!

Seems that a version of something isn’t installed. What version of Python and PIP do you have installed?

You can figure that out in terminal by typing the following commands.

python --version
pip --version

I’ve also written a guide on how to get everything up and running, maybe it’ll help you out. You can find it here


Thanks so much for your guide! I’m no longer getting the initial error, but another one as popped up. As for my python and pip versions, I have Python 2.7.6 and pip 19.2.3 installed. The error I’m getting now is below.

Exception in thread “main” java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
at java.lang.reflect.Method.invoke(
at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(
Caused by: java.awt.AWTError: Assistive Technology not found: org.GNOME.Accessibility.AtkWrapper
at java.awt.Toolkit.loadAssistiveTechnologies(
at java.awt.Toolkit.getDefaultToolkit(
at java.awt.Window.getToolkit(
at java.awt.Window.init(
at java.awt.Window.(
at java.awt.Frame.(
at java.awt.Frame.(
at javax.swing.JFrame.(
at me.drton.jmavsim.Visualizer3D.(
at me.drton.jmavsim.Simulator.(
at me.drton.jmavsim.Simulator.main(
… 5 more

You need Python 3.6+.

I’ve put together a getting started guide. Hopefully this link helps.
Sorry for not getting back to you sooner.