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:
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.
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.
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.
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.
You must be logged in to reply to this topic.
Get involved in this forum: