Compiling Rover , 1st time in 2 years, have UAVCAN Compiler Fail issue

I have compiled and successfully run my Rover several times about 2 years ago so I am not a complete newbee but close. That was using the old make routines; not waf.

This time I have done the following:

  1. I have downloaded/cloned latest Rover source from GitHub
  2. have installed latest Eclipse
  3. I use Windows only
  4. I followed all the steps in Setting up the waf Build Environment on Windows using Cygwin — Dev documentation
    very closely
  5. I have done a complete Clean before the compile attempts
  6. I have run the " configure --board Pixhawk1 " successfully!
  7. But when I run the rover make, I always get the following:

[7/8] Creating build/Pixhawk1/ap_version.h
Compiler failure
Traceback (most recent call last):
File “/cygdrive/g/Development/ThumperDev/ardupilot-4/modules/uavcan/libuavcan/dsdl_compiler/libuavcan_dsdlc”, line 61, in
dsdlc_run(args.source_dir, args.incdir, args.outdir)
File “/cygdrive/g/Development/ThumperDev/ardupilot-4/modules/uavcan/libuavcan/dsdl_compiler/libuavcan_dsdl_compiler/init.py”, line 63, in run
run_generator(types, output_dir)
File “/cygdrive/g/Development/ThumperDev/ardupilot-4/modules/uavcan/libuavcan/dsdl_compiler/libuavcan_dsdl_compiler/init.py”, line 112, in run_generator
die(ex)
File “/cygdrive/g/Development/ThumperDev/ardupilot-4/modules/uavcan/libuavcan/dsdl_compiler/libuavcan_dsdl_compiler/init.py”, line 90, in die
raise DsdlCompilerException(str(text))
DsdlCompilerException: line 16, col 17: invalid syntax (, line 1)
line 16, col 17: invalid syntax (, line 1)

uavcangen returned 1 error code

Clearly, there is something wrong my process but I cannot find it.

Help would be appreciated.

I suspect a “git submodule init”, “git submodule update --recursive” “./waf distclean” will sort it out. Because this is a developer question, feel free to ping us on the ArduPilot Gitter chat.

Yes !, Thanks very much Randy.
A full re-clone with these commands straightened out my issue with compiler.

But now as I load my newly compiled custom software, a new question pops up: do I want to load ChiBios; yes or no.

I did load it but did it overwrite my custom software???
How does ChiBios fit into the situation?

Thanks

@jwcalvert, with the latest versions of Rover, the only option is ChibiOS (for all STM flight controllers which is the vast majority)… in general the operating system level is below what most developers will see so normally you won’t notice a difference (from a programming point of view)… it will just run better than it did under NuttX.