- 05/07/2017 at 21:30 #7133
I have downloaded the SDK for C++ development and followed the walk through at http://developer.tobii.com/walkthrough-setting-cc-project-eyex-c-api/
I have completed all the steps in the walk through but I am still receiving an error message for the include to say that the source file cannot be opened.
Is there a more detailed walk through for other options to add the libraries?
I am new to visual studio so I am finding it difficult to understand what has went wrong!06/07/2017 at 18:35 #7136Grant [Tobii]Keymaster
Hi @ro1000, it still sounds like a path issue in that the files have not been properly linked
to the visual studio project. However, in terms of other sources of getting started coding
with the EyeX/C4 there is separate documentation and tutorials setup for the Tobii Core SDK which
includes extra samples and some more detailed information on getting up and running.
You can download the various samples @ https://github.com/Tobii/CoreSDK
With associated documentation available @ https://tobii.github.io/CoreSDK/articles/intro.html
I would suggest you first run one of the sample projects included and from there try to build up a project from scratch.
Also, I would advise using Visual Studio 2015 to make NuGet packages easier to install.
Please let me know how you get on.09/07/2017 at 13:30 #7142
For the Tobii pro SDK I have tried using the NuGet package manager to access the SDK but I am still getting an error message when I try to use
If I use NuGet is there anything else needed?
I tried to also add the SDK manually but when I go to ‘Add References’ there is no option to browse for the dll09/07/2017 at 16:31 #7143
1. For Tobii Pro SDK related questions please contact Tobii Pro support at https://www.tobiipro.com/contact/
2. C/C++ SDKs are native which means you should link them in your C++ project settings. “Add References” only works for managed dlls in C# or C++/CLI projects.
3. If you are willing to use Tobii C++ SDK (not Tobii Pro), you have two options. One is the legacy Tobii EyeX SDK 1.8 ( http://developer.tobii.com/download-tobii-legacy-sdks/ )
The second option is the low level Stream Engine API ( http://developer.tobii.com/tobii-core-sdk/ )
Tobii Core SDK is currently only released for C#.19/07/2017 at 16:28 #7167
I decided to use the Core SDK and have been following the ‘Getting started’ page.
I searched for the SDK on NuGet Manager but there seem to be three packages that I need instead of one single package.
Interaction, Framework and EyeX. I installed all of them and copied in the code from the Streams
section in Getting Started – https://tobii.github.io/CoreSDK/articles/streams.html
However I am receiving an error message for this line :
_unfilteredGazePointDataStream = _host.Streams.CreateGazePointDataStream(GazePointDataMode.Unfiltered);
cannot convert from ‘Tobii.EyeX.Framework.GazePointDataMode’ to ‘Tobii.Interaction.Framework.GazePointDataMode’
I suppose it is probably to do with the SDK as I copied and pasted the code directly from the Streams page19/07/2017 at 22:02 #7170
You only need Tobii.Interaction package for Core SDK. https://www.nuget.org/packages/Tobii.Interaction/20/07/2017 at 13:09 #7174
Oh ok, I was confused as the core SDK ‘getting started’page had the other packages in the sample code.
I am wondering now is there a way to create a gaze overlay with the core SDK for my program or would this need to be done separately with the actual Tobii software?
Thanks20/07/2017 at 13:13 #7175
It depends what you need it for. Original Gaze overlay is written in C++/DX1120/07/2017 at 13:41 #7176
Is there anywhere I can find a brief description of what the methods in the api actually do? I looked on github but it only seems to provide a html file for all of the methods.
Thanks25/07/2017 at 16:11 #7206
- You must be logged in to reply to this topic.