# loadable module to integrate a haptic device 

**URL:** <https://discourse.slicer.org/t/loadable-module-to-integrate-a-haptic-device/24332>\
**Category:** Development\
**Tags:** extensions-manager, vtk, loadable-module\
**Created:** [July 15, 2022, 3:48pm UTC](https://discourse.slicer.org/t/loadable-module-to-integrate-a-haptic-device/24332 "2022-07-15T15:48:53Z")\
**Posts on this page:** 1\
**Showing post:** 19

<div class="post-metadata">

**Author:** ![jcfr](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/jcfr/32/17825_2.png) [@jcfr](https://discourse.slicer.org/u/jcfr)\
**Post date:** [July 29, 2022, 8:02pm UTC](https://discourse.slicer.org/t/loadable-module-to-integrate-a-haptic-device/24332/19 "2022-07-29T20:02:56Z")

</div>

> [@Sam\_Horvath](#):
>
> ```auto
> C:\D\SE\SlicerIMSTKR\vtkRenderingOpenVR-build\CMakeFiles\CMakeTmp\CheckIncludeFile.c(1,10): fatal error C1083: Cannot open include file: 'pthread.h': No such file or directory [C:\D\SE\SlicerIMSTKR\vtkRenderingOpenVR-build\CMakeFiles\CMakeTmp\cmTC_2ea46.vcxproj]
> 
> ```

This message is expected, it is one of the result of the system introspection tests performed during configuration. This message was reported while attempting to check if the `pthread.h` header is available on the system. As expected on Windows using Visual Studio, it indicates it is not available.

Now reading the posts (especially [loadable module to integrate a haptic device - #6 by leo](https://discourse.slicer.org/t/loadable-module-to-integrate-a-haptic-device/24332/6)), I am not able to clearly understand what is the actual error. Considering that Visual Studio parallelized the build, I suspect it was displayed earlier in the log.

To move forward, it would be great to provide:

- Version of `Slicer` and `SlicerIMSTK` used
- Commands used to configure and build `Slicer` and `SlicerIMSTK` (e.g is it a Release or Debug) build
- Configuration or build error(s) reported

I suggest the following use at least Slicer `v5.0.3`. Once we sort out the issue reported on the Dashboard (link above as well as [Windows preview build failing yesterday and today](https://discourse.slicer.org/t/windows-preview-build-failing-yesterday-and-today/24567)), using the latest version would be sensible too.

---

_[View the full topic](https://discourse.slicer.org/t/loadable-module-to-integrate-a-haptic-device/24332)._
