Closed hzyjerry closed 5 years ago
The DART example I used is from: https://github.com/costashatz/magnum-examples/tree/dart/src/dart
Uh oh, sorry about that -- when the integration was contributed, the dartsim
Homebrew package was not in an usable state so we couldn't depend on it. Now it is, so I enabled the DartIntegration
in the package (see 5d556992b99c74a4fdd19ba8a4372dbd51960b8a). All you should need to do now is to run
brew update
brew install --HEAD mosra/magnum/magnum-integration
again. If everything goes well, it will pull in the new DART-related dependencies (there's quite a lot of them) and put MagnumDartIntegration.dylib
into /usr/local/lib
.
@hzyjerry you should be able to find a newer (and hopefully) working example in https://github.com/mosra/magnum-examples/pull/63..
Hi mosra, I am trying to use DartIntegration for windows but could not find the DartIntegraiton files in Magnum.. is it available for window also ?
@JhasketanYash can you elaborate on what's missing? The sources are inside this repository and DartIntegration gets built when you enable the WITH_DARTINTEGRATION
CMake option. However, if you use the Vcpkg packages, then unfortunately DART is not available there, and thus neither DartIntegration -- you'd need to build DART, all its dependencies and the integration manually. This might be helpful -- https://dartsim.github.io/install_dart_on_windows.html -- but note they mark Windows support as experimental.
Thanks for the reply @mosra . I meant by vcpkg. It took me a while to figure out that I need to download compile Dart Integration in the Magnum. _
When building DART example with magnum-integration, I encountered the following issue
CMake Error at /usr/local/Cellar/cmake/3.14.3/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:137 (message): Could NOT find MagnumIntegration (missing: Dart) Call Stack (most recent call first): /usr/local/Cellar/cmake/3.14.3/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE) /Users/jerryhe/Desktop/Projects/habitat/magnum-examples/modules/FindMagnumIntegration.cmake (find_package_handle_standard_args)
I use magnum-integration installed from brew on MacOS.
I also tried building magnum-integration from source, and got the same issue.
My DART example's cmake file looks like the following:
I wonder if there's anything that I'm missing. Thanks for the help!