Could not build ogre on macOs 10.13.6 High Sierra

Problems building or running the engine, queries about how to use features etc.
Post Reply
haolly
Gnoblar
Posts: 3
Joined: Thu Oct 25, 2018 5:02 pm

Could not build ogre on macOs 10.13.6 High Sierra

Post by haolly » Thu Oct 25, 2018 5:22 pm

Ogre Version: :?: 49a6ebfbf0ed2328eb0d0668a5ee8c4b2a88a57f this version when I clone from github
Operating System: :?: macOs 10.13.6
Render System: :?: OpenGL ?

Code: Select all

/Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake --build /Users/liuhao/dev/ogre/Build_makefile --target all -- -j 2
[  0%] Built target OgreRTShader_swig_compilation
[  0%] Built target OgreBites_swig_compilation
[  0%] Built target OgreOverlay_swig_compilation
[  0%] Built target Ogre_swig_compilation
Scanning dependencies of target OgreJNI_swig_compilation
[  1%] Built target OgreJNI_swig_compilation
[  1%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreASTCCodec.cpp.o
[  2%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreAlignedAllocator.cpp.o
[  2%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreAnimable.cpp.o
[  2%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreAnimation.cpp.o
[  2%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreAnimationState.cpp.o
[  2%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreAnimationTrack.cpp.o
[  2%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreArchive.cpp.o
[  3%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreArchiveManager.cpp.o
[  3%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreAutoParamDataSource.cpp.o
[  3%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreAxisAlignedBox.cpp.o
[  3%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreBillboard.cpp.o
[  3%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreBillboardChain.cpp.o
[  3%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreBillboardParticleRenderer.cpp.o
[  4%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreBillboardSet.cpp.o
[  4%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreBone.cpp.o
[  4%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreCodec.cpp.o
[  4%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreCamera.cpp.o
[  4%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreColourValue.cpp.o
[  4%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreCommon.cpp.o
[  5%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreCompositionPass.cpp.o
[  5%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreCompositionTargetPass.cpp.o
[  5%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreCompositionTechnique.cpp.o
[  5%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreCompositor.cpp.o
[  5%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreCompositorChain.cpp.o
[  5%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreCompositorInstance.cpp.o
[  6%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreCompositorManager.cpp.o
[  6%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreConfigFile.cpp.o
[  6%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreControllerManager.cpp.o
[  6%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreConvexBody.cpp.o
[  6%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreDataStream.cpp.o
[  6%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreDefaultHardwareBufferManager.cpp.o
[  7%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreDefaultSceneQueries.cpp.o
[  7%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreDeflate.cpp.o
[  7%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreDepthBuffer.cpp.o
[  7%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreDistanceLodStrategy.cpp.o
[  7%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreDualQuaternion.cpp.o
[  8%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreDynLib.cpp.o
[  8%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreDynLibManager.cpp.o
[  8%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreEdgeListBuilder.cpp.o
[  8%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreEntity.cpp.o
[  8%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreException.cpp.o
[  8%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreExternalTextureSource.cpp.o
[  9%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreExternalTextureSourceManager.cpp.o
[  9%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreFileSystem.cpp.o
[  9%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreFrustum.cpp.o
[  9%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreGpuProgram.cpp.o
[  9%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreGpuProgramManager.cpp.o
[  9%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreGpuProgramParams.cpp.o
[ 10%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreGpuProgramUsage.cpp.o
[ 10%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreHardwareBufferManager.cpp.o
[ 10%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreHardwareCounterBuffer.cpp.o
[ 10%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreHardwareIndexBuffer.cpp.o
[ 10%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreHardwareOcclusionQuery.cpp.o
[ 10%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreHardwarePixelBuffer.cpp.o
[ 11%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreHardwareUniformBuffer.cpp.o
[ 11%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreHardwareVertexBuffer.cpp.o
[ 11%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreHighLevelGpuProgram.cpp.o
[ 11%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreHighLevelGpuProgramManager.cpp.o
[ 11%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreImage.cpp.o
[ 11%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreInstanceBatch.cpp.o
[ 12%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreInstanceBatchHW.cpp.o
[ 12%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreInstanceBatchShader.cpp.o
[ 12%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreInstanceBatchHW_VTF.cpp.o
[ 12%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreInstanceBatchVTF.cpp.o
[ 12%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreInstanceManager.cpp.o
[ 13%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreInstancedEntity.cpp.o
[ 13%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreKeyFrame.cpp.o
[ 13%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreLight.cpp.o
[ 13%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreLodStrategy.cpp.o
[ 13%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreLodStrategyManager.cpp.o
[ 13%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreLog.cpp.o
[ 14%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreLogManager.cpp.o
[ 14%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreManualObject.cpp.o
[ 14%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreMaterial.cpp.o
[ 14%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreMaterialManager.cpp.o
[ 14%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreMaterialSerializer.cpp.o
[ 14%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreMath.cpp.o
[ 15%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreMatrix3.cpp.o
[ 15%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreMatrix4.cpp.o
[ 15%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreMesh.cpp.o
[ 15%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreMeshManager.cpp.o
[ 15%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreMeshSerializer.cpp.o
[ 15%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreMeshSerializerImpl.cpp.o
[ 16%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreMovableObject.cpp.o
[ 16%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreMovablePlane.cpp.o
[ 16%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreMurmurHash3.cpp.o
[ 16%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreNode.cpp.o
[ 16%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreNumerics.cpp.o
[ 16%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreOptimisedUtil.cpp.o
[ 17%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreOptimisedUtilGeneral.cpp.o
[ 17%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreOptimisedUtilSSE.cpp.o
[ 17%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreParticle.cpp.o
[ 17%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreParticleEmitter.cpp.o
[ 17%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreParticleEmitterCommands.cpp.o
[ 18%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreParticleIterator.cpp.o
[ 18%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreParticleSystem.cpp.o
[ 18%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreParticleSystemManager.cpp.o
[ 18%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgrePass.cpp.o
[ 18%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgrePatchMesh.cpp.o
[ 18%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgrePatchSurface.cpp.o
[ 19%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgrePixelCountLodStrategy.cpp.o
[ 19%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgrePixelFormat.cpp.o
[ 19%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgrePlane.cpp.o
[ 19%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgrePlatformInformation.cpp.o
[ 19%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgrePolygon.cpp.o
[ 19%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgrePose.cpp.o
[ 20%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgrePredefinedControllers.cpp.o
[ 20%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgrePrefabFactory.cpp.o
[ 20%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreProfiler.cpp.o
[ 20%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreQuaternion.cpp.o
[ 20%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreRectangle2D.cpp.o
[ 20%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreRenderQueue.cpp.o
[ 21%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreRenderQueueInvocation.cpp.o
[ 21%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreRenderQueueSortingGrouping.cpp.o
[ 21%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreRenderSystem.cpp.o
[ 21%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreRenderSystemCapabilities.cpp.o
[ 21%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreRenderSystemCapabilitiesManager.cpp.o
[ 21%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreRenderSystemCapabilitiesSerializer.cpp.o
[ 22%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreRenderTarget.cpp.o
[ 22%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreRenderTexture.cpp.o
[ 22%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreRenderToVertexBuffer.cpp.o
[ 22%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreRenderWindow.cpp.o
[ 22%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreResource.cpp.o
[ 23%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreResourceBackgroundQueue.cpp.o
[ 23%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreResourceGroupManager.cpp.o
[ 23%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreResourceManager.cpp.o
[ 23%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreRibbonTrail.cpp.o
[ 23%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreRoot.cpp.o
[ 23%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreRotationSpline.cpp.o
[ 24%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreSceneLoaderManager.cpp.o
[ 24%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreSceneManager.cpp.o
[ 24%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreSceneManagerEnumerator.cpp.o
[ 24%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreSceneNode.cpp.o
[ 24%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreSceneQuery.cpp.o
[ 24%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreScriptCompiler.cpp.o
[ 25%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreScriptLexer.cpp.o
[ 25%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreScriptParser.cpp.o
[ 25%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreScriptTranslator.cpp.o
[ 25%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreSerializer.cpp.o
[ 25%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreShadowCameraSetup.cpp.o
[ 25%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreShadowCameraSetupFocused.cpp.o
[ 26%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreShadowCameraSetupLiSPSM.cpp.o
[ 26%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreShadowCameraSetupPSSM.cpp.o
[ 26%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreShadowCameraSetupPlaneOptimal.cpp.o
[ 26%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreShadowCaster.cpp.o
[ 26%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreShadowRenderer.cpp.o
[ 26%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreShadowTextureManager.cpp.o
[ 27%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreShadowVolumeExtrudeProgram.cpp.o
[ 27%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreSimpleRenderable.cpp.o
[ 27%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreSimpleSpline.cpp.o
[ 27%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreSkeleton.cpp.o
[ 27%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreSkeletonInstance.cpp.o
[ 27%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreSkeletonManager.cpp.o
[ 28%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreSkeletonSerializer.cpp.o
[ 28%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreSkyRenderer.cpp.o
[ 28%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreStaticGeometry.cpp.o
[ 28%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreStreamSerialiser.cpp.o
[ 29%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreString.cpp.o
[ 29%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreStringConverter.cpp.o
[ 29%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreStringInterface.cpp.o
[ 29%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreSubEntity.cpp.o
[ 29%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreSubMesh.cpp.o
[ 29%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreTagPoint.cpp.o
[ 29%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreTangentSpaceCalc.cpp.o
[ 30%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreTechnique.cpp.o
[ 30%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreTexture.cpp.o
[ 30%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreTextureManager.cpp.o
[ 30%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreTextureUnitState.cpp.o
[ 30%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreTimer.cpp.o
[ 30%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreUTFString.cpp.o
[ 31%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreUnifiedHighLevelGpuProgram.cpp.o
[ 31%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreUserObjectBindings.cpp.o
[ 31%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreVector.cpp.o
[ 31%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreVertexIndexData.cpp.o
[ 31%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreViewport.cpp.o
[ 31%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreWireBoundingBox.cpp.o
[ 32%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreWorkQueue.cpp.o
[ 32%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreDDSCodec.cpp.o
[ 32%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreETCCodec.cpp.o
[ 32%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreZip.cpp.o
[ 32%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OSX/OgreFileSystemLayer.cpp.o
[ 32%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OSX/macUtils.mm.o
[ 33%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreSearchOps.cpp.o
[ 33%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/Threading/OgreDefaultWorkQueueStandard.cpp.o
[ 33%] Linking CXX shared library ../lib/macosx/Ogre.framework/Ogre
[ 33%] Built target OgreMain
[ 33%] Building CXX object RenderSystems/GLSupport/CMakeFiles/OgreGLSupport.dir/src/OSX/OgreOSXCocoaContext.mm.o
[ 33%] Building CXX object PlugIns/OctreeSceneManager/CMakeFiles/Plugin_OctreeSceneManager.dir/src/OgreOctree.cpp.o
[ 33%] Building CXX object PlugIns/OctreeSceneManager/CMakeFiles/Plugin_OctreeSceneManager.dir/src/OgreOctreeCamera.cpp.o
[ 33%] Building CXX object RenderSystems/GLSupport/CMakeFiles/OgreGLSupport.dir/src/OSX/OgreOSXCocoaView.mm.o
[ 33%] Building CXX object PlugIns/OctreeSceneManager/CMakeFiles/Plugin_OctreeSceneManager.dir/src/OgreOctreeNode.cpp.o
[ 34%] Building CXX object RenderSystems/GLSupport/CMakeFiles/OgreGLSupport.dir/src/OSX/OgreOSXCocoaWindow.mm.o
[ 35%] Building CXX object PlugIns/OctreeSceneManager/CMakeFiles/Plugin_OctreeSceneManager.dir/src/OgreOctreePlugin.cpp.o
[ 35%] Building CXX object PlugIns/OctreeSceneManager/CMakeFiles/Plugin_OctreeSceneManager.dir/src/OgreOctreeSceneManager.cpp.o
[ 35%] Building CXX object RenderSystems/GLSupport/CMakeFiles/OgreGLSupport.dir/src/OSX/OgreOSXGL3PlusSupport.mm.o
[ 35%] Building CXX object PlugIns/OctreeSceneManager/CMakeFiles/Plugin_OctreeSceneManager.dir/src/OgreOctreeSceneManagerDll.cpp.o
[ 35%] Building CXX object RenderSystems/GLSupport/CMakeFiles/OgreGLSupport.dir/src/GLSL/OgreGLSLPreprocessor.cpp.o
[ 35%] Building CXX object PlugIns/OctreeSceneManager/CMakeFiles/Plugin_OctreeSceneManager.dir/src/OgreOctreeSceneQuery.cpp.o
[ 35%] Building CXX object RenderSystems/GLSupport/CMakeFiles/OgreGLSupport.dir/src/GLSL/OgreGLSLProgramCommon.cpp.o
[ 35%] Building CXX object RenderSystems/GLSupport/CMakeFiles/OgreGLSupport.dir/src/GLSL/OgreGLSLProgramManagerCommon.cpp.o
[ 35%] Linking CXX shared library ../../lib/macosx/Plugin_OctreeSceneManager.framework/Plugin_OctreeSceneManager
[ 35%] Built target Plugin_OctreeSceneManager
[ 35%] Building CXX object PlugIns/BSPSceneManager/CMakeFiles/Plugin_BSPSceneManager.dir/src/OgreBspLevel.cpp.o
[ 36%] Building CXX object RenderSystems/GLSupport/CMakeFiles/OgreGLSupport.dir/src/GLSL/OgreGLSLShaderCommon.cpp.o
[ 36%] Building CXX object RenderSystems/GLSupport/CMakeFiles/OgreGLSupport.dir/src/OgreGLRenderSystemCommon.cpp.o
[ 36%] Building CXX object PlugIns/BSPSceneManager/CMakeFiles/Plugin_BSPSceneManager.dir/src/OgreBspNode.cpp.o
[ 36%] Building CXX object RenderSystems/GLSupport/CMakeFiles/OgreGLSupport.dir/src/OgreGLTextureCommon.cpp.o
[ 36%] Building CXX object PlugIns/BSPSceneManager/CMakeFiles/Plugin_BSPSceneManager.dir/src/OgreBspSceneLoader.cpp.o
[ 36%] Building CXX object RenderSystems/GLSupport/CMakeFiles/OgreGLSupport.dir/src/OgreGLRenderTexture.cpp.o
[ 37%] Building CXX object PlugIns/BSPSceneManager/CMakeFiles/Plugin_BSPSceneManager.dir/src/OgreBspSceneManager.cpp.o
[ 37%] Building CXX object RenderSystems/GLSupport/CMakeFiles/OgreGLSupport.dir/src/OgreGLHardwarePixelBufferCommon.cpp.o
[ 37%] Building CXX object RenderSystems/GLSupport/CMakeFiles/OgreGLSupport.dir/src/OgreGLUniformCache.cpp.o
[ 38%] Building CXX object RenderSystems/GLSupport/CMakeFiles/OgreGLSupport.dir/src/OgreGLVertexArrayObject.cpp.o
[ 38%] Building CXX object PlugIns/BSPSceneManager/CMakeFiles/Plugin_BSPSceneManager.dir/src/OgreBspSceneManagerDll.cpp.o
[ 38%] Linking CXX static library ../../lib/macosx/libOgreGLSupport.a
[ 38%] Building CXX object PlugIns/BSPSceneManager/CMakeFiles/Plugin_BSPSceneManager.dir/src/OgreBspSceneManagerPlugin.cpp.o
[ 38%] Built target OgreGLSupport
[ 38%] Building CXX object PlugIns/CgProgramManager/CMakeFiles/Plugin_CgProgramManager.dir/src/OgreCgFxScriptLoader.cpp.o
[ 38%] Building CXX object PlugIns/BSPSceneManager/CMakeFiles/Plugin_BSPSceneManager.dir/src/OgreBspSceneNode.cpp.o
[ 38%] Building CXX object PlugIns/CgProgramManager/CMakeFiles/Plugin_CgProgramManager.dir/src/OgreCgPlugin.cpp.o
[ 38%] Building CXX object PlugIns/BSPSceneManager/CMakeFiles/Plugin_BSPSceneManager.dir/src/OgreQuake3Level.cpp.o
[ 38%] Building CXX object PlugIns/BSPSceneManager/CMakeFiles/Plugin_BSPSceneManager.dir/src/OgreQuake3Shader.cpp.o
[ 38%] Building CXX object PlugIns/CgProgramManager/CMakeFiles/Plugin_CgProgramManager.dir/src/OgreCgProgram.cpp.o
[ 39%] Building CXX object PlugIns/BSPSceneManager/CMakeFiles/Plugin_BSPSceneManager.dir/src/OgreQuake3ShaderManager.cpp.o
[ 39%] Building CXX object PlugIns/CgProgramManager/CMakeFiles/Plugin_CgProgramManager.dir/src/OgreCgProgramFactory.cpp.o
[ 39%] Linking CXX shared library ../../lib/macosx/Plugin_BSPSceneManager.framework/Plugin_BSPSceneManager
[ 39%] Built target Plugin_BSPSceneManager
[ 40%] Building CXX object PlugIns/CgProgramManager/CMakeFiles/Plugin_CgProgramManager.dir/src/OgreCgProgramManagerDll.cpp.o
Scanning dependencies of target Codec_EXR
[ 40%] Building CXX object PlugIns/EXRCodec/CMakeFiles/Codec_EXR.dir/src/O_IStream.cpp.o
Copying OS X content lib/macosx/Plugin_CgProgramManager.framework/Versions/1.11.3/Headers/OgreCgFxScriptLoader.h
Copying OS X content lib/macosx/Plugin_CgProgramManager.framework/Versions/1.11.3/Headers/OgreCgPlugin.h
Copying OS X content lib/macosx/Plugin_CgProgramManager.framework/Versions/1.11.3/Headers/OgreCgPrerequisites.h
Copying OS X content lib/macosx/Plugin_CgProgramManager.framework/Versions/1.11.3/Headers/OgreCgProgram.h
Copying OS X content lib/macosx/Plugin_CgProgramManager.framework/Versions/1.11.3/Headers/OgreCgProgramFactory.h
[ 40%] Linking CXX shared library ../../lib/macosx/Plugin_CgProgramManager.framework/Plugin_CgProgramManager
ld: framework not found Cg
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [lib/macosx/Plugin_CgProgramManager.framework/Versions/1.11.3/Plugin_CgProgramManager] Error 1
make[1]: *** [PlugIns/CgProgramManager/CMakeFiles/Plugin_CgProgramManager.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 40%] Building CXX object PlugIns/EXRCodec/CMakeFiles/Codec_EXR.dir/src/OgreEXRCodec.cpp.o
Copying OS X content lib/macosx/Codec_EXR.framework/Versions/1.11.3/Headers/OgreEXRCodec.h
Copying OS X content lib/macosx/Codec_EXR.framework/Versions/1.11.3/Headers/OgreEXRCodecExports.h
[ 40%] Linking CXX shared library ../../lib/macosx/Codec_EXR.framework/Codec_EXR
[ 40%] Built target Codec_EXR
make: *** [all] Error 2

Code: Select all

/Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_OSX_ARCHITECTURES=x86_64 -G "CodeBlocks - Unix Makefiles" /Users/liuhao/dev/ogre
-- The C compiler identification is AppleClang 10.0.0.10001145
-- The CXX compiler identification is AppleClang 10.0.0.10001145
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring OGRE 1.11.3
-- Check size of void*
-- Check size of void* - done
-- Performing Test OGRE_GCC_HAS_SSE
-- Performing Test OGRE_GCC_HAS_SSE - Success
-- Check if the system is big endian
-- Searching 16 bit integer
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of unsigned short
-- Check size of unsigned short - done
-- Using unsigned short
-- Check if the system is big endian - little endian
2018-10-25 23:02:27.125 xcodebuild[27012:3965917] [MT] PluginLoading: Required plug-in compatibility UUID 8B9F56A7-4D8B-41AA-A65D-D4906CDF1539 for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/XVim.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2018-10-25 23:02:27.126 xcodebuild[27012:3965917] [MT] PluginLoading: Required plug-in compatibility UUID 8B9F56A7-4D8B-41AA-A65D-D4906CDF1539 for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/Unity4XC.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2018-10-25 23:02:27.126 xcodebuild[27012:3965917] Failed to load plugin at: /Users/liuhao/Library/Application Support/Developer/Shared/Xcode/Plug-ins/Unity4XC.xcplugin, skipping.  Reason for failure: *** -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[0]
-- Search path: /Users/liuhao/dev/ogre/Build_makefile/Dependencies;/Users/liuhao/dev/ogre/Dependencies;/Users/liuhao/dev/ogre/Build_makefile/../Dependencies;/Users/liuhao/dev/ogre/../Dependencies
-- Found ZLIB: /usr/lib/libz.dylib (found version "1.2.11") 
-- Looking for ZZip...
-- Found PkgConfig: /usr/local/bin/pkg-config (found version "0.29.2") 
-- Checking for module 'zziplib'
--   Found zziplib, version 0.13.65
-- Found ZZip: /Users/liuhao/dev/ogre/Build_makefile/Dependencies/lib/libzzip.dylib
-- Looking for FreeImage...
-- Checking for module 'freeimage'
--   No package 'freeimage' found
-- Found FreeImage: /usr/local/lib/libfreeimage.dylib
-- Found Freetype: /Users/liuhao/Library/Frameworks/freetype.framework  
-- Found OpenGL: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/OpenGL.framework   
-- Looking for Cg...
-- Cg_PREFIX_PATH changed.
-- Checking for module 'Cg'
--   No package 'Cg' found
-- Found Cg: -framework Cg
-- Found PythonInterp: /usr/local/bin/python (found version "2.7.15") 
-- Found PythonLibs: /usr/lib/libpython2.7.dylib (found version "2.7.10") 
-- Found SDL2: /Users/liuhao/Library/Frameworks/SDL2.framework;-framework Cocoa  
-- Found Doxygen: /usr/local/bin/doxygen (found version "1.8.14") found components:  doxygen missing components:  dot
-- Looking for Softimage...
-- Softimage_PREFIX_PATH changed.
-- Could not locate Softimage
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success
-- Found SWIG: /usr/local/bin/swig (found suitable version "3.0.12", minimum required is "3.0.8") 
CMake Deprecation Warning at /Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.12/Modules/UseSWIG.cmake:492 (message):
  SWIG_ADD_MODULE is deprecated.  Use SWIG_ADD_LIBRARY instead.
Call Stack (most recent call first):
  Components/Python/CMakeLists.txt:38 (swig_add_module)


CMake Deprecation Warning at /Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.12/Modules/UseSWIG.cmake:492 (message):
  SWIG_ADD_MODULE is deprecated.  Use SWIG_ADD_LIBRARY instead.
Call Stack (most recent call first):
  Components/Python/CMakeLists.txt:47 (swig_add_module)


CMake Deprecation Warning at /Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.12/Modules/UseSWIG.cmake:492 (message):
  SWIG_ADD_MODULE is deprecated.  Use SWIG_ADD_LIBRARY instead.
Call Stack (most recent call first):
  Components/Python/CMakeLists.txt:54 (swig_add_module)


CMake Deprecation Warning at /Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.12/Modules/UseSWIG.cmake:492 (message):
  SWIG_ADD_MODULE is deprecated.  Use SWIG_ADD_LIBRARY instead.
Call Stack (most recent call first):
  Components/Python/CMakeLists.txt:61 (swig_add_module)


-- Found JNI: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/JavaVM.framework  
CMake Deprecation Warning at /Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.12/Modules/UseSWIG.cmake:492 (message):
  SWIG_ADD_MODULE is deprecated.  Use SWIG_ADD_LIBRARY instead.
Call Stack (most recent call first):
  Components/Java/CMakeLists.txt:74 (swig_add_module)


-- 
-----------------------------------------------------------------------------
-- The following external packages were located on your system.
-- This installation will have the extra features provided by these packages.
+ zlib
+ zziplib
+ freeimage
+ freetype
+ OpenGL
+ OpenGL ES 2.x
+ cg
+ OpenEXR
+ Python
+ SDL2
+ Doxygen
-----------------------------------------------------------------------------
-- The following OPTIONAL packages could NOT be located on your system.
-- Consider installing them to enable more features from this software.
+ Softimage: Softimage SDK needed for building XSIExporter <FALSE>
-----------------------------------------------------------------------------

-- 
----------------------------------------------------------------------------
  FEATURE SUMMARY
----------------------------------------------------------------------------

Building components:
  + Bites
  + HLMS [BETA]
  + MeshLodGenerator
  + Overlay
  + Paging
  + Property
  + Python [BETA]
  + Java/ JNI [BETA]
  + RTShader System
  + RTShader System Core Shaders
  + RTShader System Extensions Shaders
  + Terrain
  + Volume
Building plugins:
  + BSP scene manager
  + Cg program manager
  + Octree scene manager
  + OpenEXR image codec
  + STBI codec (generic)
  + FreeImage codec (generic)
  + Portal connected zone scene manager
  + Particle FX
Building rendersystems:
  + OpenGL
  + OpenGL 3+
Building executables:
  + Samples
  + Tools
Building core features:
  + Mesh Lod
  + DDS image codec (.dds)
  + ETC image codec (.pkm, .ktx) 
  + ZIP archives

Build type:                      shared
Thread safety:                   none
ResourceManager behaviour:       strict
Use double precision:            disabled
Nodes inherit transform:         disabled
Assert mode:                     release exceptions

----------------------------------------------------------------------------

-- Configuring done
CMake Warning (dev):
  Policy CMP0068 is not set: RPATH settings on macOS do not affect
  install_name.  Run "cmake --help-policy CMP0068" for policy details.  Use
  the cmake_policy command to set the policy and suppress this warning.

  For compatibility with older versions of CMake, the install_name fields for
  the following targets are still affected by RPATH settings:

   Codec_EXR
   Codec_FreeImage
   Codec_STBI
   DefaultSamples
   OgreBites
   OgreHLMS
   OgreMain
   OgreMeshLodGenerator
   OgreOverlay
   OgrePaging
   OgreProperty
   OgreRTShaderSystem
   OgreTerrain
   OgreVolume
   Plugin_BSPSceneManager
   Plugin_CgProgramManager
   Plugin_OctreeSceneManager
   Plugin_OctreeZone
   Plugin_PCZSceneManager
   Plugin_ParticleFX
   RenderSystem_GL
   RenderSystem_GL3Plus

This warning is for project developers.  Use -Wno-dev to suppress it.

-- Generating done
-- Build files have been written to: /Users/liuhao/dev/ogre/Build_makefile

[Finished]
0 x

paroj
OGRE Team Member
OGRE Team Member
Posts: 715
Joined: Sun Mar 30, 2014 2:51 pm
x 106
Contact:

Re: Could not build ogre on macOs 10.13.6 High Sierra

Post by paroj » Thu Oct 25, 2018 10:58 pm

try setting OGRE_BUILD_PLUGIN_CG=OFF in CMake if you do not really need it
0 x

haolly
Gnoblar
Posts: 3
Joined: Thu Oct 25, 2018 5:02 pm

Re: Could not build ogre on macOs 10.13.6 High Sierra

Post by haolly » Sat Oct 27, 2018 12:11 am

paroj wrote:
Thu Oct 25, 2018 10:58 pm
try setting OGRE_BUILD_PLUGIN_CG=OFF in CMake if you do not really need it
It works, but now I get another error:

Code: Select all

/Users/liuhao/dev/ogre/Build_makefile/Components/Python/CMakeFiles/_Ogre.dir/OgrePYTHON_wrap.cxx:197136:24: error: call to member function 'createOrRetrieve' is ambiguous
      result = (arg1)->createOrRetrieve((Ogre::String const &)*arg2,(Ogre::String const &)*arg3,arg4,arg5,(Ogre::NameValuePairList const *)arg6);
      
One more thing, would mind tell me what's the purpose of cg library (or framework)
0 x

paroj
OGRE Team Member
OGRE Team Member
Posts: 715
Joined: Sun Mar 30, 2014 2:51 pm
x 106
Contact:

Re: Could not build ogre on macOs 10.13.6 High Sierra

Post by paroj » Sat Oct 27, 2018 1:21 pm

haolly wrote:
Sat Oct 27, 2018 12:11 am
It works, but now I get another error:

Code: Select all

/Users/liuhao/dev/ogre/Build_makefile/Components/Python/CMakeFiles/_Ogre.dir/OgrePYTHON_wrap.cxx:197136:24: error: call to member function 'createOrRetrieve' is ambiguous
      result = (arg1)->createOrRetrieve((Ogre::String const &)*arg2,(Ogre::String const &)*arg3,arg4,arg5,(Ogre::NameValuePairList const *)arg6);
      
if you need python bindings, verify that you have SWIG 3.0.8+ - otherwise OGRE_BUILD_COMPONENT_PYTHON=OFF
haolly wrote:
Sat Oct 27, 2018 12:11 am
One more thing, would mind tell me what's the purpose of cg library (or framework)
then you probably do not need it:
https://developer.nvidia.com/cg-toolkit
0 x

haolly
Gnoblar
Posts: 3
Joined: Thu Oct 25, 2018 5:02 pm

Re: Could not build ogre on macOs 10.13.6 High Sierra

Post by haolly » Sat Oct 27, 2018 8:24 pm

paroj wrote:
Sat Oct 27, 2018 1:21 pm
haolly wrote:
Sat Oct 27, 2018 12:11 am
It works, but now I get another error:

Code: Select all

/Users/liuhao/dev/ogre/Build_makefile/Components/Python/CMakeFiles/_Ogre.dir/OgrePYTHON_wrap.cxx:197136:24: error: call to member function 'createOrRetrieve' is ambiguous
      result = (arg1)->createOrRetrieve((Ogre::String const &)*arg2,(Ogre::String const &)*arg3,arg4,arg5,(Ogre::NameValuePairList const *)arg6);
      
if you need python bindings, verify that you have SWIG 3.0.8+ - otherwise OGRE_BUILD_COMPONENT_PYTHON=OFF
haolly wrote:
Sat Oct 27, 2018 12:11 am
One more thing, would mind tell me what's the purpose of cg library (or framework)
then you probably do not need it:
https://developer.nvidia.com/cg-toolkit
I turn off python bindings, then I can build successfully.
But when I ran the SampleBrowser in clion, it says this:

Code: Select all

/Users/liuhao/dev/ogre/Build_makefile/bin/SampleBrowser.app/Contents/MacOS/SampleBrowser
dyld: Library not loaded: @executable_path/../Frameworks/OgreBites.framework/Versions/1.11.3/OgreBites
  Referenced from: /Users/liuhao/dev/ogre/Build_makefile/bin/SampleBrowser.app/Contents/MacOS/SampleBrowser
  Reason: image not found

Process finished with exit code 6
0 x

pezza
Gnoblar
Posts: 4
Joined: Sun Mar 18, 2012 3:30 am

Re: Could not build ogre on macOs 10.13.6 High Sierra

Post by pezza » Tue Dec 18, 2018 4:20 pm

if you need python bindings, verify that you have SWIG 3.0.8+ - otherwise OGRE_BUILD_COMPONENT_PYTHON=OFF
I have the exact same issue (e.g. ambiguous method calls reported while building the Python component), but I need the Python component. My swig is 3.0.12, installed via MacPorts.

I'm using macos Mojave and Ogre 1.11.4; everything else seems more or less ok (there is some weirdness with the dynamic library loading paths in the SampleBrowser and in the OgreMain package, but those can be fixed manually).
0 x

Post Reply