Home › Forum › SOFA › Building SOFA › Generation Error After Including PLUGIN_XITACT
Tagged: 64_bits, cmake, Missing Header, SOFA_1706, VS2017, Windows_10, Xitact
- This topic has 3 replies, 2 voices, and was last updated 8 years ago by
Hugo.
-
AuthorPosts
-
9 November 2017 at 19:55 #10123
meeks
BlockedHello,
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 .txxIt’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.13 November 2017 at 19:13 #10131Hugo
KeymasterDear @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
17 November 2017 at 17:17 #10149meeks
BlockedHi 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,
Marko17 November 2017 at 17:42 #10151Hugo
KeymasterNow 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
-
AuthorPosts
- You must be logged in to reply to this topic.
