Announcement

Collapse
No announcement yet.

Mac OS X Simulator Plugin trouble

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Mac OS X Simulator Plugin trouble

    Hey guys, I'm trying to install the FRC Java simulator on my mac. Whenever I get to the "./gradlew -PmakeSim frc_gazebo_plugins" step I keep getting errors. I tried everything I can think of, does anyone have any ideas?
    Code:
    Cubbys-MacBook-Pro:allwpilib cubbydebry$ ./gradlew -PmakeSim frc_gazebo_plugins
    :wpilibc:setupCmake
    :wpilibc:cmake
    Package OGRE was not found in the pkg-config search path.
    Perhaps you should add the directory containing `OGRE.pc'
    to the PKG_CONFIG_PATH environment variable
    No package 'OGRE' found
    -- Boost version: 1.60.0
    -- Found the following Boost libraries:
    --   thread
    --   signals
    --   system
    --   filesystem
    --   program_options
    --   regex
    --   iostreams
    --   date_time
    -- Boost version: 1.60.0
    CMake Error at /usr/local/lib/cmake/gazebo/gazebo-config.cmake:113 (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
    -- Configuring incomplete, errors occurred!
      CMake did not find one.
    See also "/Users/cubbydebry/wpilib/simulation/allwpilib/build/CMakeFiles/CMakeOutput.log".
    
      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):
      CMakeLists.txt:9 (find_package)
    
    
    :wpilibc:cmake FAILED
    
    FAILURE: Build failed with an exception.
    
    * What went wrong:
    Execution failed for task ':wpilibc:cmake'.
    > Process 'command 'cmake'' finished with non-zero exit value 1
    
    * Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
    
    BUILD FAILED
    
    Total time: 6.782 secs

  • #2
    Re: Mac OS X Simulator Plugin trouble

    to fix this add the line
    set(CMAKE_MODULE_PATH "/usr/local/Cellar/ogre/1.7.4/CMake")
    to
    /usr/local/lib/cmake/gazebo/gazebo-config.cmake

    Comment


    • #3
      Thanks!

      Comment

      Working...
      X