erwincoumans / tiny-differentiable-simulator

Tiny Differentiable Simulator is a header-only C++ and CUDA physics library for reinforcement learning and robotics with zero dependencies.
Apache License 2.0
1.2k stars 129 forks source link

Example run issue #174

Closed RupaliArtpark closed 2 years ago

RupaliArtpark commented 2 years ago

After make -j step, the package is successfully compiling. The issue is with running scripts given in example. Every time I try to compile scripts in the example folder, the compiler is not able to find the existing header files. I tried providing path to the compiler for including header. Nothing works. Please help. Screenshot from 2021-10-13 12-42-55

erwincoumans commented 2 years ago

You cannot run g++ as-is, you need to use the cmake generated projects.

RupaliArtpark commented 2 years ago

Hi,

It is after cmake and make -j I am trying to g++ the files. It's throwing the same error.

Regards, Rupali

On Fri, Oct 15, 2021, 02:10 erwincoumans @.***> wrote:

Closed #174 https://github.com/google-research/tiny-differentiable-simulator/issues/174 .

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/google-research/tiny-differentiable-simulator/issues/174#event-5466267887, or unsubscribe https://github.com/notifications/unsubscribe-auth/AV7C3V4VTFEGCRSXAWBBYOTUG452RANCNFSM5F4PCDKQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.