Comments (4)
How do you link raisimOgre? The error message means that your executable is not linked to raisimOgre
from raisimogre.
When I call:
python3 setup.py develop --CMAKE_PREFIX_PATH $LOCAL_BUILD
I get:
running develop
running egg_info
writing raisim_gym_torch.egg-info/PKG-INFO
writing dependency_links to raisim_gym_torch.egg-info/dependency_links.txt
writing requirements to raisim_gym_torch.egg-info/requires.txt
writing top-level names to raisim_gym_torch.egg-info/top_level.txt
adding license file 'LICENSE' (matched pattern 'LICEN[CS]E*')
reading manifest file 'raisim_gym_torch.egg-info/SOURCES.txt'
writing manifest file 'raisim_gym_torch.egg-info/SOURCES.txt'
running build_ext
-- pybind11 v2.4.3
-- raisim:
-- Version: 1.0.0
-- Includes: /raisim_build/include
-- Libraries: raisim::raisimPng;raisim::raisimODE;raisim::raisimMine;raisim::raisim
-- Found OGRE
-- static : OFF
-- components : Bites;HLMS;MeshLodGenerator;Overlay;Paging;Property;RTShaderSystem;Terrain;Volume
-- plugins : Plugin_BSPSceneManager;Plugin_OctreeSceneManager;Plugin_PCZSceneManager;Plugin_ParticleFX;RenderSystem_GL;RenderSystem_GL3Plus;Codec_STBI;Codec_FreeImage
-- media : /raisim_build/share/OGRE/Media
-- raisimOgre:
-- Version: 0.7.0
-- Includes: /raisim_build/include
-- Libraries: OgreMain;OgreBites;OgreRTShaderSystem;OgreMeshLodGenerator;raisim::assimp;raisim::raisim;pthread;zzip;SDL2
-- raisim:
-- Version: 1.0.0
-- Includes: /raisim_build/include
-- Libraries: raisim::raisimPng;raisim::raisimODE;raisim::raisimMine;raisim::raisim
-- Configuring done
-- Generating done
-- Build files have been written to: /raisim_workspace/raisimLib/raisimGymTorch/build/temp.linux-x86_64-3.6
Presumably the link to raisimOgre works fine.
But when you call runner.py, you still get an error.
I am using the default CMakeList.txt file
from raisimogre.
I solved the problem by replacing the line in CMakeLists.txt in the raisimGymTorch folder:
It was:
target_link_libraries(${subdir} PRIVATE raisim::raisim ${Dependencies})
Became:
target_link_libraries(${subdir} PRIVATE raisim::raisimOgre raisim::raisim ${Dependencies})
from raisimogre.
I was just checking what is going on. I tried the old ogre-based raisimGym repo and it still works fine
https://github.com/leggedrobotics/raisimGym
from raisimogre.
Related Issues (20)
- Why the examples such as ANYmal can not move? HOT 1
- Scaling function HOT 1
- Black screen in renderer after brief flash HOT 16
- Height map is not visualized correctly HOT 3
- OgreVis.hpp: No such file or directory HOT 7
- Finding an old repository HOT 1
- License Issue? graphics issue? HOT 1
- Compilation error: expression cannot be used as a function HOT 5
- Segmentation fault when trying to run the examples HOT 4
- Multiple threads for different views HOT 5
- Possibility of rendering one ogre visualization frame in different threat or loop HOT 2
- Stereo camera possible? HOT 2
- Problem with changing the friction coefficient between robot's feet and ground HOT 22
- Unknown argument -OGRE_BUILD_COMPONENT_JAVA=OFF HOT 1
- PCRE SWIG problem solved HOT 4
- Unable to make the ogre (and hence raisimOgre) in Ubuntu 22.04 HOT 4
- Typo in cmake .. command for raisimOgre HOT 1
- FileNotFoundException: Cannot locate resource collection.material in resource group General. HOT 1
- Problems encountered during compilation and installation HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from raisimogre.