Error on CMake #1112
-
Hello,
Thank you again for your help |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
It's possible that the merge of #1062 has broken something, as this was messing around with source trees. You might be able to fix it by regenerating your build directory, otherwise I would suggest pinning @ptheywood knows the CMake stuff far better than I, so he'll be the one to give you a clearer response in the near future (He's just gone on leave until Wednesday). |
Beta Was this translation helpful? Give feedback.
-
I've addressed this in #1113, which I have now merged into You'll need to reset your Unfortunately during #1062 I overlooked the fact that the dynamic version.cpp file within the FLAMEGPU target is not a child of the flamegpu2 repo clone when fetched via CMake.
When pinning against a commit hash, as @Robadob has suggested, you also need to set I.e uncomment the following line from the FLAMEGPU2-model-template-cpp # set(FLAMEGPU_VERSION_ALLOW_HASH "ON") |
Beta Was this translation helpful? Give feedback.
-
Thank you very much! |
Beta Was this translation helpful? Give feedback.
I've addressed this in #1113, which I have now merged into
master
. I've only tested this behaves under windows, but I expect linux should be fine.You'll need to reset your
FLAMEGPU_VERSION
tomaster
, and a fresh build directory might be needed (but shouldn't).Unfortunately during #1062 I overlooked the fact that the dynamic version.cpp file within the FLAMEGPU target is not a child of the flamegpu2 repo clone when fetched via CMake.
When pinning against a commit hash, as @Robadob has suggested, you also need to set
FLAMEGPU_V…