Skip to content

Mission Planner running on FreeBSD 15.0 using Mono #3742

Description

@res2500

Hello,

I have been testing Mission Planner 1.3.83 on FreeBSD 15.0-RELEASE amd64 using Mono 6.8.

Mission Planner starts successfully without Wine.

Working:

  • Flight Data page
  • Flight Plan page
  • Map rendering and zoom
  • Plugin loading

Known issues:

  • Some map labels are missing
  • Built-in SITL launcher fails with Process.Start()/Access denied
  • Some windows do not resize correctly

During investigation I found that the FreeBSD GDAL port disables:

BUILD_CSHARP_BINDINGS
CSHARP_MONO

After enabling those options I was able to build:

libgdal_wrap.so
libogr_wrap.so
libosr_wrap.so

and the corresponding C# assemblies.

I also found a build issue where:

CSHARP_PLATFORM=x64

is correctly stored in CMakeCache.txt, but build.ninja generates:

/platform:

instead of:

/platform:x64

which causes Mono mcs builds to fail.

Question:

Would the ArduPilot / Mission Planner project be interested in documenting or supporting FreeBSD + Mono as an experimental platform?

I am willing to continue testing and provide patches if useful.

export MONO_IOMAP=drive:case
export MONO_WINFORMS_XIM_STYLE=disabled
mono MissionPlanner.exe

Screenshot and log tested:
https://forums.freebsd.org/threads/ardupilot-sitl-on-freebsd-15-0-successful-build-and-a-question-about-porting.102939/

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions