Replies: 1 comment
-
I don't know, I have never used SWIG. See: https://gitlab.kitware.com/cmake/cmake/-/issues/18003 Enable set_target_properties(swigGravForcesProcessor
PROPERTIES
SWIG_USE_TARGET_INCLUDE_DIRECTORIES TRUE
) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everybody, I've recently discovered spdlog (because the OpenSim musculoskeletel simulation engine uses it). I need to create a SWIG-Python wrapper based on OpenSim features, so it must also include spdlog instructions. Fot the moment, I'm starting with a minimum C++ class, see https://github.com/jsn-inrs/GravForcesProcessor for the entire project.
Unfortunately, generating the swig wrapping fails with the following errors:
1>Swig compile GravForcesProcessor.i for python
SwigGravityForcesProcessor\GravForcesProcessor.h(15): error : Unable to find 'spdlog\spdlog.h'
1>SwigGravityForcesProcessor\GravForcesProcessor.i(20): error : Unable to find 'spdlog\spdlog.h'
1>SwigGravityForcesProcessor\GravForcesProcessor.i(23): error : Unable to find 'spdlog\common.h'
1>SwigGravityForcesProcessor\GravForcesProcessor.i(24): error : Unable to find 'spdlog\logger.h'
1>SwigGravityForcesProcessor\GravForcesProcessor.i(25): error : Unable to find 'spdlog\sinks\stdout_color_sinks.h'
1>SwigGravityForcesProcessor\GravForcesProcessor.i(26): error : Unable to find 'spdlog\fmt\ostr.h'
Could somebody help me fix these errors ? I'm not sure what files are to be included and how (using CMake).
Thank you very much for you valuable help !
Beta Was this translation helpful? Give feedback.
All reactions