Simulation installing issue

I get errors while it is reinstalling simulation tools with brew on a clean Mac OS. It says the ogre has been deprecated. Then I have tried to install it with source. It also fails. What can I do if the ogre is death since the gazebo still needs it?

here is the gazebo brew installation issue:

% brew reinstall px4-sim-gazebo
...........
CMake Error at /usr/local/CMake/OGREConfig.cmake:33 (message):
  File or directory /usr/local/lib/OGRE referenced by variable
  OGRE_PLUGIN_DIR does not exist !
Call Stack (most recent call first):
  /usr/local/CMake/OGREConfig.cmake:51 (set_and_check)
  /usr/local/lib/cmake/gazebo/gazebo-config.cmake:212 (find_package)
  src/modules/simulation/simulator_mavlink/sitl_targets_gazebo-classic.cmake:2 (find_package)
  src/modules/simulation/simulator_mavlink/CMakeLists.txt:57 (include)

here is the gazebo source installation issue:

git clone https://github.com/OGRECave/ogre.git
cd ogre
mkdir build
cd build
cmake ..
make
sudo make install
export OGRE_DIR=/usr/local/lib/cmake/OGRE
export CMAKE_PREFIX_PATH=/usr/local:$CMAKE_PREFIX_PATH
ls /usr/local/lib/cmake/OGRE/OGREConfig.cmake
ls: /usr/local/lib/cmake/OGRE/OGREConfig.cmake: No such file or directory

@kevindsp did you follow the guide? to me it seems like you might have run into issues when installing and have missing dependencies, I would try again from a fresh start

I am facing exactly the same issue

Sure. I have followed the instruction step by step carefully. It still fails for the simulation.

uggh the formula is severely outdated, it wont even install gazebo harmonic, I’m trying to fix it and will send a pull request to update soon