- This topic has 3 replies, 2 voices, and was last updated 6 years, 12 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
Home › Forum › SOFA › Building SOFA › Generation Error After Including PLUGIN_XITACT
Tagged: 64_bits, cmake, Missing Header, SOFA_1706, VS2017, Windows_10, Xitact
Hello,
I just installed the SOFA dependencies (for Windows 10 x64) and I’ve been trying to activate the Xitact plugin to use my medical simulation device. I worked my way through all the build steps and successfully generated my VS solution until I tried enabling the PLUGIN_XITACT entry on CMake to get the error:
CMake Error at applications/plugins/Xitact/CMakeLists.txt:24 (add_library):
Cannot find source file:
XiTrocarInterface.h
Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
.hxx .in .txx
It’s possible that I’m doing something wrong but from what I understand that header file is supposed to exist somewhere (unless it’s created during generation – I’m no software expert).
My ultimate goal is to use the virtual environment and pull the haptic feedback force values so I can send them to another external device. I’m not entirely sure if there’s a way to do this with just the binaries but I haven’t seen any mention of Xitact in anything but the source code.
Dear @meekeech,
Unfortunately, the PLUGIN_XITACT is not much used currently at my best knowledge. It might need a bit of upgrade. I would be glad to help you with it.
The CMake error is normal since the file XiTrocarInterface.h is not in the plugin. You can try to remove the line 9 of the CMakeList.
Cheers,
Hugo
Hi Hugo,
Thank you for your reply. I removed the line and everything generated fine this time. I’m a bit lost for what I’m suppose to do next however, so if you could walk me through or provide me with any resources I would be really grateful! Again I just want to run some existing simulations for the Xitact devices while exporting force values in real time.
Thank you,
Marko
Now that you activated the plugin, you can try some example scenes.
Have you tried to start one of the scenes?
Make sure you have a RequiredPlugin in the scene:
<RequiredPlugin name='Xitact' />
And load the right driver in your scene.
Best,
Hugo
WARNING
The forum has been moved to GitHub Discussions.
Old topics and replies are kept here as an archive.