Giter Site home page Giter Site logo

Comments (4)

jhwangbo avatar jhwangbo commented on August 20, 2024

How do you link raisimOgre? The error message means that your executable is not linked to raisimOgre

from raisimogre.

MusubaPy avatar MusubaPy commented on August 20, 2024

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.

MusubaPy avatar MusubaPy commented on August 20, 2024

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.

jhwangbo avatar jhwangbo commented on August 20, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.