conan package for jolt has some difficulties #1499
-
Recently we got jolt into conancenter which provides an easy way to install c++ dependencies. I have confirmed that the library works well on linux, but now I am testing it on windows and there seems to be some issues. Note: I have completely specified how to reproduce the issue in this issue The gist of it that when you try and use joltphysics and run the hello world example then we get:
When I try and correct for this by adding the define we get:
I am not familiar with windows development and don't really have a good way of debugging this issue. I was hoping that someone who is more savvy with windows development might be able to help debug this problem using whatever debugger they use to regularly debug programs on windows, to get started just install conan and then follow what I tried in the pull request, but then use the windows debugger to try and see what is going wrong. (MVSC is the used compiler in this situation) If you can help then thanks a lot 👍 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
I don't really want to go through the trouble of installing conan and there's not much to go on in this ticket.
|
Beta Was this translation helpful? Give feedback.
Yes, all defines that start with
JPH_
must match between library and client code. Normally cmake takes care of this because of thePUBLIC
intarget_compile_definitions
(this means: set the definition on Jolt and anything that uses it). Conan somehow interferes with this and prevents that from working. I'm not familiar with conan, so I can't give any suggestions as to why that may be happening.