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

OgreVis.hpp: No such file or directory #15

Closed
MusubaPy opened this issue Apr 6, 2021 · 7 comments
Closed

OgreVis.hpp: No such file or directory #15

MusubaPy opened this issue Apr 6, 2021 · 7 comments

Comments

@MusubaPy
Copy link

MusubaPy commented Apr 6, 2021

Hi I'm trying to render on raisimOgre, for RaiSim 1.0.0 version.

I was sequentially compiling raisimLib -> ogre -> raisimogre -> pybind11 into my $ LOCAL_BUILD.

I go to the raisimGymTorch folder and add a line to setup.py:
__CMAKE_PREFIX_PATH__ = '/home/roman/unia1/raisim_build'

I go along the path raisimLib/raisimGymTorch/raisimGymTorch/env/envs/rsg_a1
...
├── cfg.yaml
├── Environment.hpp
├── runner.py
├── tester.py
└── visSetupCallback.hpp

In Environment.hpp, I add the line:
#include "visSetupCallback.hpp" or #include "OgreVis.hpp" or #include "raisim/OgreVis.hpp"

I run setup.py:
sudo python3 setup.py develop

And the error appears:

home/roman/unia1/raisim_workspace/raisimLib/raisimGymTorch/raisimGymTorch/env/envs/rsg_a1/visSetupCallback.hpp: 28: 10: fatal error: raisim/OgreVis.hpp: No such file or directory
 #include <raisim/OgreVis.hpp>
          ^~~~~~~~~~~~~~~~~~~~

With all this, in the /home/roman/unia1/raisim_build/include/raisim folder, I see the OgreVis.hpp file.

What could be the problem and how to solve it?

@jhwangbo
Copy link
Contributor

jhwangbo commented Apr 7, 2021

You have to know where you installed raisimOgre when you call python setup. Please do not use sudo when calling python. You will get stuck at some point. You can use python setup develop --CMAKE_PREFIX_PATH $LOCAL_PATH

@MusubaPy
Copy link
Author

MusubaPy commented Apr 7, 2021

Thanks for the fast reply.

Ok, I am calling setup.py:

python3 setup.py develop --CMAKE_PREFIX_PATH $ LOCAL_BUILD

And I get the answer:

error: can't create or remove files in install directory

The following error occurred while trying to add or remove files in the
installation directory:

     [Errno 13] Permission denied: '/usr/local/lib/python3.6/dist-packages/test-easy-install-25330.write-test'

The installation directory you specified (via --install-dir, --prefix, or
the distutils default setting) was:

     /usr/local/lib/python3.6/dist-packages/

Although in .bashrc I have a line written:

export PYTHONPATH=$PYTHONPATH:$LOCAL_BUILD/lib

@jhwangbo
Copy link
Contributor

jhwangbo commented Apr 7, 2021

You have installed the package using sudo and you can't overwrite it without sudo. Delete all previous installations with sudo and try the installation again without sudo.

I am closing this issue because it's related to neither raisimOgre nor raisim.

@jhwangbo jhwangbo closed this as completed Apr 7, 2021
@MusubaPy
Copy link
Author

MusubaPy commented Apr 8, 2021

Ok, I created a docker container and deployed the installation there. I have resolved the python issue, but the original issue has not been resolved.

When I call:

python3 setup.py develop --CMAKE_PREFIX_PATH $ LOCAL_BUILD

I get:

/raisim_build/include/raisim/OgreVis.hpp:15:10: fatal error: Ogre.h: No such file or directory
  #include <Ogre.h>
           ^ ~~~~~~~

The tree result of the build folder:

.
├── bin
│   ├── OgreMeshUpgrader
│   ├── OgreXMLConverter
│   ├── VRMLConverter
│   ├── anymal
│   ├── anymalOnHeightMap
│   ├── atlas
│   ├── kinova
│   ├── laikago
│   ├── newtonsCradle
│   └── primitives
├── include
│   ├── OGRE
│   │   ├── Bites
│   │   ├── DefaultSamplesPlugin.h
│   │   ├── HLMS
│   │   ├── ListenerFactoryLogic.h
│   │   ├── MeshLodGenerator
│   │   ├── Ogre.h
│   │   ├── Ogre.i
│   │   ├── OgreASTCCodec.h
│   │   ├── OgreAlignedAllocator.h
│   │   ├── OgreAnimable.h
│   │   ├── OgreAnimation.h
│   │   ├── OgreAnimationState.h
│   │   ├── OgreAnimationTrack.h
│   │   ├── OgreAny.h
│   │   ├── OgreArchive.h
│   │   ├── OgreArchiveFactory.h
│   │   ├── OgreArchiveManager.h
│   │   ├── OgreAtomicScalar.h
│   │   ├── OgreAutoParamDataSource.h
│   │   ├── OgreAxisAlignedBox.h
│   │   ├── OgreBillboard.h
│   │   ├── OgreBillboardChain.h
│   │   ├── OgreBillboardParticleRenderer.h
│   │   ├── OgreBillboardSet.h
│   │   ├── OgreBitwise.h
│   │   ├── OgreBlendMode.h
│   │   ├── OgreBone.h
│   │   ├── OgreBuildSettings.h
│   │   ├── OgreCamera.h
│   │   ├── OgreCodec.h
│   │   ├── OgreColourValue.h
│   │   ├── OgreCommon.h
│   │   ├── OgreComponents.h
│   │   ├── OgreCompositionPass.h
│   │   ├── OgreCompositionTargetPass.h
│   │   ├── OgreCompositionTechnique.h
│   │   ├── OgreCompositor.h
│   │   ├── OgreCompositorChain.h
│   │   ├── OgreCompositorInstance.h
│   │   ├── OgreCompositorLogic.h
│   │   ├── OgreCompositorManager.h
│   │   ├── OgreConfig.h
│   │   ├── OgreConfigDialog.h
│   │   ├── OgreConfigFile.h
│   │   ├── OgreConfigOptionMap.h
│   │   ├── OgreController.h
│   │   ├── OgreControllerManager.h
│   │   ├── OgreConvexBody.h
│   │   ├── OgreCustomCompositionPass.h
│   │   ├── OgreDDSCodec.h
│   │   ├── OgreDataStream.h
│   │   ├── OgreDefaultHardwareBufferManager.h
│   │   ├── OgreDefaultWorkQueue.h
│   │   ├── OgreDefaultWorkQueueStandard.h
│   │   ├── OgreDefaultWorkQueueTBB.h
│   │   ├── OgreDeflate.h
│   │   ├── OgreDepthBuffer.h
│   │   ├── OgreDistanceLodStrategy.h
│   │   ├── OgreDualQuaternion.h
│   │   ├── OgreDynLib.h
│   │   ├── OgreDynLibManager.h
│   │   ├── OgreETCCodec.h
│   │   ├── OgreEdgeListBuilder.h
│   │   ├── OgreEntity.h
│   │   ├── OgreException.h
│   │   ├── OgreExports.h
│   │   ├── OgreExternalTextureSource.h
│   │   ├── OgreExternalTextureSourceManager.h
│   │   ├── OgreFactoryObj.h
│   │   ├── OgreFileSystem.h
│   │   ├── OgreFileSystemLayer.h
│   │   ├── OgreFrameListener.h
│   │   ├── OgreFrustum.h
│   │   ├── OgreGpuProgram.h
│   │   ├── OgreGpuProgramManager.h
│   │   ├── OgreGpuProgramParams.h
│   │   ├── OgreGpuProgramUsage.h
│   │   ├── OgreHardwareBuffer.h
│   │   ├── OgreHardwareBufferManager.h
│   │   ├── OgreHardwareCounterBuffer.h
│   │   ├── OgreHardwareIndexBuffer.h
│   │   ├── OgreHardwareOcclusionQuery.h
│   │   ├── OgreHardwarePixelBuffer.h
│   │   ├── OgreHardwareUniformBuffer.h
│   │   ├── OgreHardwareVertexBuffer.h
│   │   ├── OgreHeaderPrefix.h
│   │   ├── OgreHeaderSuffix.h
│   │   ├── OgreHighLevelGpuProgram.h
│   │   ├── OgreHighLevelGpuProgramManager.h
│   │   ├── OgreImage.h
│   │   ├── OgreImageCodec.h
│   │   ├── OgreInstanceBatch.h
│   │   ├── OgreInstanceBatchHW.h
│   │   ├── OgreInstanceBatchHW_VTF.h
│   │   ├── OgreInstanceBatchShader.h
│   │   ├── OgreInstanceBatchVTF.h
│   │   ├── OgreInstanceManager.h
│   │   ├── OgreInstancedEntity.h
│   │   ├── OgreIteratorWrapper.h
│   │   ├── OgreIteratorWrappers.h
│   │   ├── OgreKeyFrame.h
│   │   ├── OgreLight.h
│   │   ├── OgreLodListener.h
│   │   ├── OgreLodStrategy.h
│   │   ├── OgreLodStrategyManager.h
│   │   ├── OgreLog.h
│   │   ├── OgreLogManager.h
│   │   ├── OgreManualObject.h
│   │   ├── OgreMaterial.h
│   │   ├── OgreMaterialManager.h
│   │   ├── OgreMaterialSerializer.h
│   │   ├── OgreMath.h
│   │   ├── OgreMatrix3.h
│   │   ├── OgreMatrix4.h
│   │   ├── OgreMemoryAllocatorConfig.h
│   │   ├── OgreMesh.h
│   │   ├── OgreMeshFileFormat.h
│   │   ├── OgreMeshManager.h
│   │   ├── OgreMeshSerializer.h
│   │   ├── OgreMovableObject.h
│   │   ├── OgreMovablePlane.h
│   │   ├── OgreMurmurHash3.h
│   │   ├── OgreNameGenerator.h
│   │   ├── OgreNode.h
│   │   ├── OgreNumerics.h
│   │   ├── OgreOptimisedUtil.h
│   │   ├── OgreParticle.h
│   │   ├── OgreParticleAffector.h
│   │   ├── OgreParticleAffectorFactory.h
│   │   ├── OgreParticleEmitter.h
│   │   ├── OgreParticleEmitterFactory.h
│   │   ├── OgreParticleIterator.h
│   │   ├── OgreParticleSystem.h
│   │   ├── OgreParticleSystemManager.h
│   │   ├── OgreParticleSystemRenderer.h
│   │   ├── OgrePass.h
│   │   ├── OgrePatchMesh.h
│   │   ├── OgrePatchSurface.h
│   │   ├── OgrePixelCountLodStrategy.h
│   │   ├── OgrePixelFormat.h
│   │   ├── OgrePlane.h
│   │   ├── OgrePlaneBoundedVolume.h
│   │   ├── OgrePlatform.h
│   │   ├── OgrePlatformInformation.h
│   │   ├── OgrePlugin.h
│   │   ├── OgrePolygon.h
│   │   ├── OgrePose.h
│   │   ├── OgrePredefinedControllers.h
│   │   ├── OgrePrerequisites.h
│   │   ├── OgreProfiler.h
│   │   ├── OgreQuaternion.h
│   │   ├── OgreRadixSort.h
│   │   ├── OgreRay.h
│   │   ├── OgreRectangle2D.h
│   │   ├── OgreRenderObjectListener.h
│   │   ├── OgreRenderOperation.h
│   │   ├── OgreRenderQueue.h
│   │   ├── OgreRenderQueueInvocation.h
│   │   ├── OgreRenderQueueListener.h
│   │   ├── OgreRenderQueueSortingGrouping.h
│   │   ├── OgreRenderSystem.h
│   │   ├── OgreRenderSystemCapabilities.h
│   │   ├── OgreRenderSystemCapabilitiesManager.h
│   │   ├── OgreRenderSystemCapabilitiesSerializer.h
│   │   ├── OgreRenderTarget.h
│   │   ├── OgreRenderTargetListener.h
│   │   ├── OgreRenderTexture.h
│   │   ├── OgreRenderToVertexBuffer.h
│   │   ├── OgreRenderWindow.h
│   │   ├── OgreRenderable.h
│   │   ├── OgreResource.h
│   │   ├── OgreResourceBackgroundQueue.h
│   │   ├── OgreResourceGroupManager.h
│   │   ├── OgreResourceManager.h
│   │   ├── OgreRibbonTrail.h
│   │   ├── OgreRoot.h
│   │   ├── OgreRotationalSpline.h
│   │   ├── OgreSceneLoader.h
│   │   ├── OgreSceneLoaderManager.h
│   │   ├── OgreSceneManager.h
│   │   ├── OgreSceneManagerEnumerator.h
│   │   ├── OgreSceneNode.h
│   │   ├── OgreSceneQuery.h
│   │   ├── OgreScriptCompiler.h
│   │   ├── OgreScriptLoader.h
│   │   ├── OgreScriptTranslator.h
│   │   ├── OgreSearchOps.h
│   │   ├── OgreSerializer.h
│   │   ├── OgreShadowCameraSetup.h
│   │   ├── OgreShadowCameraSetupFocused.h
│   │   ├── OgreShadowCameraSetupLiSPSM.h
│   │   ├── OgreShadowCameraSetupPSSM.h
│   │   ├── OgreShadowCameraSetupPlaneOptimal.h
│   │   ├── OgreShadowCaster.h
│   │   ├── OgreSharedPtr.h
│   │   ├── OgreSimpleRenderable.h
│   │   ├── OgreSimpleSpline.h
│   │   ├── OgreSingleton.h
│   │   ├── OgreSkeleton.h
│   │   ├── OgreSkeletonFileFormat.h
│   │   ├── OgreSkeletonInstance.h
│   │   ├── OgreSkeletonManager.h
│   │   ├── OgreSkeletonSerializer.h
│   │   ├── OgreSphere.h
│   │   ├── OgreStaticFaceGroup.h
│   │   ├── OgreStaticGeometry.h
│   │   ├── OgreStdHeaders.h
│   │   ├── OgreStreamSerialiser.h
│   │   ├── OgreString.h
│   │   ├── OgreStringConverter.h
│   │   ├── OgreStringInterface.h
│   │   ├── OgreStringVector.h
│   │   ├── OgreSubEntity.h
│   │   ├── OgreSubMesh.h
│   │   ├── OgreTagPoint.h
│   │   ├── OgreTangentSpaceCalc.h
│   │   ├── OgreTechnique.h
│   │   ├── OgreTexture.h
│   │   ├── OgreTextureManager.h
│   │   ├── OgreTextureUnitState.h
│   │   ├── OgreThreadDefines.h
│   │   ├── OgreThreadDefinesBoost.h
│   │   ├── OgreThreadDefinesNone.h
│   │   ├── OgreThreadDefinesPoco.h
│   │   ├── OgreThreadDefinesSTD.h
│   │   ├── OgreThreadDefinesTBB.h
│   │   ├── OgreThreadHeaders.h
│   │   ├── OgreThreadHeadersBoost.h
│   │   ├── OgreThreadHeadersPoco.h
│   │   ├── OgreThreadHeadersSTD.h
│   │   ├── OgreThreadHeadersTBB.h
│   │   ├── OgreTimer.h
│   │   ├── OgreUnifiedHighLevelGpuProgram.h
│   │   ├── OgreUserObjectBindings.h
│   │   ├── OgreVector.h
│   │   ├── OgreVector2.h
│   │   ├── OgreVector3.h
│   │   ├── OgreVector4.h
│   │   ├── OgreVertexBoneAssignment.h
│   │   ├── OgreVertexIndexData.h
│   │   ├── OgreViewport.h
│   │   ├── OgreWireBoundingBox.h
│   │   ├── OgreWorkQueue.h
│   │   ├── OgreZip.h
│   │   ├── Overlay
│   │   ├── Paging
│   │   ├── Plugins
│   │   ├── Property
│   │   ├── RTShaderSystem
│   │   ├── RenderSystems
│   │   ├── Sample.h
│   │   ├── SampleContext.h
│   │   ├── SamplePlugin.h
│   │   ├── SdkSample.h
│   │   ├── Terrain
│   │   ├── Threading
│   │   └── Volume
│   ├── assimp
│   │   ├── Compiler
│   │   ├── DefaultIOStream.h
│   │   ├── DefaultIOSystem.h
│   │   ├── DefaultLogger.hpp
│   │   ├── Defines.h
│   │   ├── Exporter.hpp
│   │   ├── IOStream.hpp
│   │   ├── IOSystem.hpp
│   │   ├── Importer.hpp
│   │   ├── LogStream.hpp
│   │   ├── Logger.hpp
│   │   ├── NullLogger.hpp
│   │   ├── ProgressHandler.hpp
│   │   ├── SceneCombiner.h
│   │   ├── ai_assert.h
│   │   ├── anim.h
│   │   ├── camera.h
│   │   ├── cexport.h
│   │   ├── cfileio.h
│   │   ├── cimport.h
│   │   ├── color4.h
│   │   ├── color4.inl
│   │   ├── config.h
│   │   ├── defs.h
│   │   ├── importerdesc.h
│   │   ├── light.h
│   │   ├── material.h
│   │   ├── material.inl
│   │   ├── matrix3x3.h
│   │   ├── matrix3x3.inl
│   │   ├── matrix4x4.h
│   │   ├── matrix4x4.inl
│   │   ├── mesh.h
│   │   ├── metadata.h
│   │   ├── postprocess.h
│   │   ├── quaternion.h
│   │   ├── quaternion.inl
│   │   ├── scene.h
│   │   ├── texture.h
│   │   ├── types.h
│   │   ├── vector2.h
│   │   ├── vector2.inl
│   │   ├── vector3.h
│   │   ├── vector3.inl
│   │   └── version.h
│   ├── ccd
│   │   └── precision.h
│   ├── irrXML
│   │   ├── CMakeLists.txt
│   │   ├── CXMLReaderImpl.h
│   │   ├── heapsort.h
│   │   ├── irrArray.h
│   │   ├── irrString.h
│   │   ├── irrTypes.h
│   │   ├── irrXML.cpp
│   │   └── irrXML.h
│   ├── ode
│   │   ├── Makefile.am
│   │   ├── README
│   │   ├── collision.h
│   │   ├── collision_space.h
│   │   ├── collision_trimesh.h
│   │   ├── common.h
│   │   ├── compatibility.h
│   │   ├── contact.h
│   │   ├── cooperative.h
│   │   ├── error.h
│   │   ├── export-dif.h
│   │   ├── extras
│   │   ├── mass.h
│   │   ├── matrix.h
│   │   ├── matrix_coop.h
│   │   ├── memory.h
│   │   ├── misc.h
│   │   ├── objects.h
│   │   ├── ode.h
│   │   ├── odeconfig.h
│   │   ├── odecpp.h
│   │   ├── odecpp_collision.h
│   │   ├── odeinit.h
│   │   ├── odemath.h
│   │   ├── odemath_legacy.h
│   │   ├── precision.h
│   │   ├── precision.h.in
│   │   ├── rotation.h
│   │   ├── threading.h
│   │   ├── threading_impl.h
│   │   ├── timer.h
│   │   ├── version.h
│   │   └── version.h.in
│   ├── png
│   │   ├── png.h
│   │   ├── pngconf.h
│   │   └── pnglibconf.h
│   ├── pybind11
│   │   ├── attr.h
│   │   ├── buffer_info.h
│   │   ├── cast.h
│   │   ├── chrono.h
│   │   ├── common.h
│   │   ├── complex.h
│   │   ├── detail
│   │   ├── eigen.h
│   │   ├── embed.h
│   │   ├── eval.h
│   │   ├── functional.h
│   │   ├── gil.h
│   │   ├── iostream.h
│   │   ├── numpy.h
│   │   ├── operators.h
│   │   ├── options.h
│   │   ├── pybind11.h
│   │   ├── pytypes.h
│   │   ├── stl.h
│   │   └── stl_bind.h
│   ├── raisim
│   │   ├── AssimpLoader.h
│   │   ├── CameraMan.hpp
│   │   ├── Constraint.hpp
│   │   ├── ImguiManager.h
│   │   ├── ImguiRenderable.h
│   │   ├── Materials.hpp
│   │   ├── OgreVis.hpp
│   │   ├── Path.hpp
│   │   ├── RaiSimTinyXmlWrapper.hpp
│   │   ├── RaiSimTinyXmlWriter.hpp
│   │   ├── RaisimServer.hpp
│   │   ├── SlidingMemory.hpp
│   │   ├── StopWatch.hpp
│   │   ├── Terrain.hpp
│   │   ├── World.hpp
│   │   ├── configure.hpp
│   │   ├── constraints
│   │   ├── contact
│   │   ├── helper.hpp
│   │   ├── imconfig.h
│   │   ├── imgui.h
│   │   ├── imgui_internal.h
│   │   ├── imgui_plot.h
│   │   ├── imstb_rectpack.h
│   │   ├── imstb_textedit.h
│   │   ├── imstb_truetype.h
│   │   ├── interfaces.hpp
│   │   ├── math
│   │   ├── math.hpp
│   │   ├── misc.hpp
│   │   ├── object
│   │   ├── raisim_message.hpp
│   │   ├── raisim_message_logger.hpp
│   │   └── rayCollision.hpp
│   ├── raisimMine
│   │   ├── aes.h
│   │   ├── base16.h
│   │   ├── base64.h
│   │   └── mine-common.h
│   ├── tinyxml_rai
│   │   ├── tinystr.h
│   │   └── tinyxml_rai.h
│   └── z
│       └── zlib.h
├── lib
│   ├── OGRE
│   │   ├── Codec_FreeImage.so -> Codec_FreeImage.so.1.12.2
│   │   ├── Codec_FreeImage.so.1.12.2
│   │   ├── Codec_STBI.so -> Codec_STBI.so.1.12.2
│   │   ├── Codec_STBI.so.1.12.2
│   │   ├── Plugin_BSPSceneManager.so -> Plugin_BSPSceneManager.so.1.12.2
│   │   ├── Plugin_BSPSceneManager.so.1.12.2
│   │   ├── Plugin_DotScene.so -> Plugin_DotScene.so.1.12.2
│   │   ├── Plugin_DotScene.so.1.12.2
│   │   ├── Plugin_OctreeSceneManager.so -> Plugin_OctreeSceneManager.so.1.12.2
│   │   ├── Plugin_OctreeSceneManager.so.1.12.2
│   │   ├── Plugin_OctreeZone.so -> Plugin_OctreeZone.so.1.12.2
│   │   ├── Plugin_OctreeZone.so.1.12.2
│   │   ├── Plugin_PCZSceneManager.so -> Plugin_PCZSceneManager.so.1.12.2
│   │   ├── Plugin_PCZSceneManager.so.1.12.2
│   │   ├── Plugin_ParticleFX.so -> Plugin_ParticleFX.so.1.12.2
│   │   ├── Plugin_ParticleFX.so.1.12.2
│   │   ├── RenderSystem_GL.so -> RenderSystem_GL.so.1.12.2
│   │   ├── RenderSystem_GL.so.1.12.2
│   │   ├── RenderSystem_GL3Plus.so -> RenderSystem_GL3Plus.so.1.12.2
│   │   ├── RenderSystem_GL3Plus.so.1.12.2
│   │   └── cmake
│   ├── cmake
│   │   └── raisim
│   ├── libIrrXML.a
│   ├── libOgreBites.so -> libOgreBites.so.1.12.2
│   ├── libOgreBites.so.1.12.2
│   ├── libOgreGLSupport.a
│   ├── libOgreHLMS.so -> libOgreHLMS.so.1.12.2
│   ├── libOgreHLMS.so.1.12.2
│   ├── libOgreMain.so -> libOgreMain.so.1.12.2
│   ├── libOgreMain.so.1.12.2
│   ├── libOgreMeshLodGenerator.so -> libOgreMeshLodGenerator.so.1.12.2
│   ├── libOgreMeshLodGenerator.so.1.12.2
│   ├── libOgreOverlay.so -> libOgreOverlay.so.1.12.2
│   ├── libOgreOverlay.so.1.12.2
│   ├── libOgrePaging.so -> libOgrePaging.so.1.12.2
│   ├── libOgrePaging.so.1.12.2
│   ├── libOgreProperty.so -> libOgreProperty.so.1.12.2
│   ├── libOgreProperty.so.1.12.2
│   ├── libOgreRTShaderSystem.so -> libOgreRTShaderSystem.so.1.12.2
│   ├── libOgreRTShaderSystem.so.1.12.2
│   ├── libOgreTerrain.so -> libOgreTerrain.so.1.12.2
│   ├── libOgreTerrain.so.1.12.2
│   ├── libOgreVolume.so -> libOgreVolume.so.1.12.2
│   ├── libOgreVolume.so.1.12.2
│   ├── libassimp.so -> libassimp.so.4
│   ├── libassimp.so.4 -> libassimp.so.4.1.0
│   ├── libassimp.so.4.1.0
│   ├── libraisim.so
│   ├── libraisimMine.so
│   ├── libraisimODE.so
│   ├── libraisimOgre.so
│   ├── libraisimPng.so
│   ├── libraisimZ.so
│   ├── pkgconfig
│   │   ├── OGRE-Bites.pc
│   │   ├── OGRE-HLMS.pc
│   │   ├── OGRE-MeshLodGenerator.pc
│   │   ├── OGRE-Overlay.pc
│   │   ├── OGRE-PCZ.pc
│   │   ├── OGRE-Paging.pc
│   │   ├── OGRE-Property.pc
│   │   ├── OGRE-RTShaderSystem.pc
│   │   ├── OGRE-Terrain.pc
│   │   ├── OGRE-Volume.pc
│   │   └── OGRE.pc
│   ├── raisim.mexa64
│   ├── raisimpy.cpython-35m-x86_64-linux-gnu.so
│   ├── raisimpy.cpython-36m-x86_64-linux-gnu.so
│   ├── raisimpy.cpython-37m-x86_64-linux-gnu.so
│   ├── raisimpy.cpython-38-x86_64-linux-gnu.so
│   └── raisimpy.cpython-39-x86_64-linux-gnu.so
└── share
    ├── OGRE
    │   ├── GLX_backdrop.png
    │   ├── Media
    │   ├── plugins.cfg
    │   ├── quakemap.cfg
    │   ├── resources.cfg
    │   ├── samples.cfg
    │   └── tests.cfg
    ├── cmake
    │   └── pybind11
    ├── raisim
    │   └── package.xml
    └── raisimOgre
        ├── cmake
        ├── ogre
        └── rsc

@jhwangbo
Copy link
Contributor

jhwangbo commented Apr 8, 2021

python3 setup.py develop --CMAKE_PREFIX_PATH $LOCAL_BUILD?? why space after $?

@MusubaPy
Copy link
Author

MusubaPy commented Apr 8, 2021

Oh, that's a typo.

I solved the problem by adding lines to СMakeLists.txt:

include_directories(
/raisim_build/include/OGRE
/raisim_build/include/OGRE/Bites
/raisim_build/include/OGRE/HLMS
/raisim_build/include/OGRE/MeshLodGenerator
/raisim_build/include/OGRE/Overlay
/raisim_build/include/OGRE/Paging
/raisim_build/include/OGRE/Plugins
/raisim_build/include/OGRE/Plugins/BSPSceneManager
/raisim_build/include/OGRE/Plugins/DotScene
/raisim_build/include/OGRE/Plugins/FreeImageCodec
/raisim_build/include/OGRE/Plugins/OctreeSceneManager
/raisim_build/include/OGRE/Plugins/OctreeZone
/raisim_build/include/OGRE/Plugins/PCZSceneManager
/raisim_build/include/OGRE/Plugins/ParticleFX
/raisim_build/include/OGRE/Plugins/STBICodec
/raisim_build/include/OGRE/Property
/raisim_build/include/OGRE/RTShaderSystem
/raisim_build/include/OGRE/RenderSystems
/raisim_build/include/OGRE/RenderSystems/GL
/raisim_build/include/OGRE/RenderSystems/GL/GL
/raisim_build/include/OGRE/RenderSystems/GL3Plus
/raisim_build/include/OGRE/RenderSystems/GL3Plus/GL
/raisim_build/include/OGRE/Terrain
/raisim_build/include/OGRE/Threading
/raisim_build/include/OGRE/Volume
/raisim_build/include/assimp
/raisim_build/include/assimp/Compiler
/raisim_build/include/ccd
/raisim_build/include/irrXML
/raisim_build/include/ode
/raisim_build/include/ode/extras
/raisim_build/include/png
/raisim_build/include/pybind11
/raisim_build/include/pybind11/detail
/raisim_build/include/raisim
/raisim_build/include/raisim/constraints
/raisim_build/include/raisim/contact
/raisim_build/include/raisim/math
/raisim_build/include/raisim/object
/raisim_build/include/raisim/object/ArticulatedSystem
/raisim_build/include/raisim/object/singleBodies
/raisim_build/include/raisim/object/terrain
/raisim_build/include/raisimMine
/raisim_build/include/tinyxml_rai
/raisim_build/include/z
)

Yes, it's barbaric, but it works.
thanks for the help

@jhwangbo
Copy link
Contributor

jhwangbo commented Apr 8, 2021

Did you add target link library? This example will help
https://github.com/leggedrobotics/raisimGym

@jhwangbo jhwangbo reopened this Apr 8, 2021
@jhwangbo jhwangbo closed this as completed Apr 8, 2021
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

No branches or pull requests

2 participants