H3D.org Forum Index Programming Issues
.lib not found for NiFalconHapticsDevice | Register To Post |
| Threaded | Newest First | Previous Topic | Next Topic | Bottom |
| Poster | Thread |
|---|---|
| _mrbloom | Posted on: 2012/6/26 16:27 |
Just popping in ![]() Joined: 2012/6/7 From: Posts: 5 |
.lib not found for NiFalconHapticsDevice Hi there, I am having a problem in finding the .lib for Falcon support at linking time, usinf HAPI library (not h3dAPI). It looks like a common problem from the previous posts of this forum, which I have looked at and weren't helpful to me though.
1>HapticManager.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) protected: virtual bool __thiscall HAPI::NiFalconHapticsDevice::releaseHapticsDevice(void)" (__imp_?releaseHapticsDevice@NiFalconHapticsDevice@HAPI@@MAE_NXZ)
I am defining HAVE_NIFALCONAPI, the headers are indeed included. I tried to set the path to C:\Program Files\Novint\HDAL_SDK_2.1.3\lib\hdl.lib in the used .lib but nothing changed The weird thing is that if I use AnyHapticDevice everything works correctly, even without including hdl.lib. This means that the code to manage the Falcon device must be somewhere in the HAPI library Not using CMake though |
| _mrbloom | Posted on: 2012/6/26 17:12 |
Just popping in ![]() Joined: 2012/6/7 From: Posts: 5 |
Re: .lib not found for NiFalconHapticsDevice ok I solved by using the class FalconHapticsDevice() which I have discovered by doing
/* AnyHapticDevice hd; */
This class is not listed in the API documentation though |
| Threaded | Newest First | Previous Topic | Next Topic | Top |
| Register To Post | |

