Skip to content

[Bug] Missing Package Configuration file from OGRE on MacOS #24498

@rdhoole

Description

@rdhoole

Describe the bug

Missing configuration file that should be provided by "OGRE", after trying to build gazebo-classic.

To Reproduce

I followed the MacOS Development Environment almost to a tee. The only change was I created a virtual environment before installing all the python packages:

$ python3 -m venv venv
$ source venv/bin/activate
...

I do not believe this would cause this error... but everything seemed to install and build up to:

$ make px4_sitl gazebo-classic

Then I got this:

-- Searching for dependencies of ignition-math6
CMake Error at /opt/homebrew/lib/cmake/gazebo/gazebo-config.cmake:212 (find_package):
  By not providing "FindOGRE.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "OGRE", but
  CMake did not find one.

  Could not find a package configuration file provided by "OGRE" with any of
  the following names:

    OGREConfig.cmake
    ogre-config.cmake

  Add the installation prefix of "OGRE" to CMAKE_PREFIX_PATH or set
  "OGRE_DIR" to a directory containing one of the above files.  If "OGRE"
  provides a separate development package or SDK, be sure it has been
  installed.
Call Stack (most recent call first):
  src/modules/simulation/simulator_mavlink/sitl_targets_gazebo-classic.cmake:2 (find_package)
  src/modules/simulation/simulator_mavlink/CMakeLists.txt:57 (include)


-- Configuring incomplete, errors occurred!```

### Expected behavior

_No response_

### Screenshot / Media

_No response_

### Flight Log

_No response_

### Software Version

ProductName:		macOS
ProductVersion:		15.3.2
BuildVersion:		24D81

Homebrew 4.4.24

PX4-Autopilot v1.15.4

### Flight controller

_No response_

### Vehicle type

None

### How are the different components wired up (including port information)

_No response_

### Additional context

_No response_

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions