Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Playing around with ogre 1.8 and 1.9. #24

Closed
wants to merge 11 commits into from

Conversation

NikolausDemmel
Copy link

  • For now they live in separate formula, but only for testing.
  • Eventually if ogre and rviz work with 1.9, we should update the
    ogre formula to 1.9 (and maybe keep versioned formulae areound)
  • The 1.8 formula builds on Mavericks, but since 1.8 did not really
    support libc++ and I more or less blindly backported some patches
    from 1.9 to make it compile, I am pretty sure that there are runtime
    issues. Focus should be on 1.9
  • It seems that gazebo 2 is working with the 1.9 formula, devel variant, so best try out brew install ogre1.9 --devel.

This PR is more for testing out the updated formulae. I don't expect
it to get merged. See comments above.

NikolausDemmel and others added 11 commits July 27, 2014 11:27
 - For now they live in separate formula, but only for testing.
 - Eventually if ogre and rviz work with 1.9, we should update the
   ogre formula to 1.9 (and maybe keep versioned formulae areound)
 - The 1.8 formula builds on Mavericks, but since 1.8 did not really
   support libc++ and I more or less blindly backported some patches
   from 1.9 to make it compile, I am pretty sure that there are runtime
   issues. Focus should be on 1.9
[ogre1.9] Add fix for deallocating mWindow prematurely
 - update the sha to the latest 1.9 branch
 - the latest 1.9 branch seems to have some handling of the cocoa window issue different from the patch by hgaiser
@jacksonkr
Copy link

Hey all, I'm having an issue installing 1.8 on osx 10.11.3 (el capitan)

$ brew install https://raw.githubusercontent.com/NikolausDemmel/homebrew-simulation/ogre-fixes/ogre1.8.rb
######################################################################## 100.0%
==> Downloading http://downloads.sourceforge.net/project/ogre/ogre/1.8/1.8.1/ogr
==> Downloading from http://iweb.dl.sourceforge.net/project/ogre/ogre/1.8/1.8.1/
######################################################################## 100.0%
==> Downloading https://gist.githubusercontent.com/NikolausDemmel/dad2dec7e52bed
######################################################################## 100.0%
==> Patching
==> Applying fixogre1.8.patch
patching file CMake/Packages/FindFreetype.cmake
Hunk #1 FAILED at 31.
Hunk #2 succeeded at 43 with fuzz 1.
1 out of 2 hunks FAILED -- saving rejects to file CMake/Packages/FindFreetype.cmake.rej
patching file CMake/Utils/OgreConfigTargets.cmake
patching file CMakeLists.txt
Hunk #1 succeeded at 238 (offset 2 lines).
patching file Components/Paging/CMakeLists.txt
patching file Components/Property/CMakeLists.txt
patching file Components/RTShaderSystem/CMakeLists.txt
patching file Components/Terrain/CMakeLists.txt
patching file OgreMain/CMakeLists.txt
patching file PlugIns/BSPSceneManager/CMakeLists.txt
patching file PlugIns/CgProgramManager/CMakeLists.txt
patching file PlugIns/OctreeSceneManager/CMakeLists.txt
patching file PlugIns/OctreeZone/CMakeLists.txt
patching file PlugIns/PCZSceneManager/CMakeLists.txt
patching file PlugIns/ParticleFX/CMakeLists.txt
patching file RenderSystems/GL/CMakeLists.txt
patching file CMake/ConfigureBuild.cmake
patching file CMake/FeatureSummary.cmake
patching file CMake/Templates/OgreBuildSettings.h.in
patching file CMakeLists.txt
Hunk #6 succeeded at 250 (offset 2 lines).
Hunk #7 succeeded at 320 (offset 3 lines).
Hunk #8 succeeded at 345 (offset 3 lines).
Hunk #9 succeeded at 361 (offset 3 lines).
Hunk #10 succeeded at 378 (offset 3 lines).
Hunk #11 succeeded at 406 (offset 3 lines).
patching file Components/Volume/include/OgreVolumeMeshBuilder.h
patching file OgreMain/include/OgreMemorySTLAllocator.h
patching file RenderSystems/GL/include/OgreGLFBORenderTexture.h
patching file RenderSystems/GL/src/OSX/OgreOSXCarbonWindow.cpp
patching file RenderSystems/GL/src/OSX/OgreOSXCocoaWindow.mm
patching file RenderSystems/GL/src/atifs/include/ps_1_4.h
patching file RenderSystems/GL3Plus/include/OgreGL3PlusFBORenderTexture.h
patching file RenderSystems/GL3Plus/src/OSX/OgreOSXCocoaWindow.mm
Error: Failure while executing: /usr/bin/patch -g 0 -f -p1 -i /private/tmp/ogre1.8--patch20160209-66840-10nylq4/fixogre1.8.patch

How can I get around this?

@scpeters
Copy link
Member

we have merged an ogre1.9 formula in #172 so I think this can be closed

@scpeters scpeters closed this Dec 22, 2016
@NikolausDemmel
Copy link
Author

Sure. Thanks for cleaning up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants