HAPTIX C++ API won't compile in VS2015

asked 2015-10-01 13:53:52 -0500

doctorroboto gravatar image

updated 2015-10-01 14:26:40 -0500

I'm trying to follow the tutorials for the HAPTIX limb API using Visual Studio, and following the documentation doesn't work for me. I can't get the code to compile, and can't the compiler to even find the .lib files or the haptix.h file unless I copy them into the working directory.

Where am I supposed to be creating my project files in VS? Do they need to be somewhere specific relative to the HAPTIX Windows SDK? Do they need to be on the same drive? And why is linking that property sheet to the solution not able to direct the compiler to the appropriate library and header file locations?

I think the documentation may need to be checked against the 2015 build of VS.

An update: I tried putting my code in the SDK folder, one level up from the haptix-comm folder, as based on the commands I see in the property sheet that point to the $(HAPTIXSDKRoot) path. The property sheet looks like it's pretty close to pointing things in the right spot except for an additional slash, but there are a bunch of linker errors that are still trying to look in my solution path instead of in the haptix-comm path.

edit retag flag offensive close merge delete

Comments

I just tried building ignition-transport from the command-line using VS2015, but I had trouble finding the protobuf installation. I assume you started by downloading the SDK?

scpeters gravatar imagescpeters ( 2015-10-06 17:32:12 -0500 )edit

Yes, I definitely downloaded the SDK. That's how I was able to put the files in the directory I mentioned. There's nothing that needs to be 'installed', right? I just download and unzip that file and then create files in that directory? Help on that, specifically where those files should go, would be a great starting point.

doctorroboto gravatar imagedoctorroboto ( 2015-10-06 18:13:44 -0500 )edit

Yes, I definitely downloaded the SDK. That's how I was able to put the files in the directory I mentioned. There's nothing that needs to be 'installed', right? I just download and unzip that file and then create files in that directory? Help on that, specifically where those files should go, would be a great starting point.

doctorroboto gravatar imagedoctorroboto ( 2015-10-06 18:13:44 -0500 )edit