Home Forums Software Development Using Tobii EyeX with QT creator ? Reply To: Using Tobii EyeX with QT creator ?

#2933
LIAGRE
Participant

Hi Jenny,

I get the same errors if I include “EyeX.h” or “EyeX.hpp”. I think this is due to the fact that “EyeX.hpp” includes “EyeX.h”.

The top 5 errors are :

– in “EyeXClientTypes.h”, line 293
typedef void (TX_CALLCONVENTION *TX_CONNECTIONSTATECHANGEDCALLBACK)(TX_CONNECTIONSTATE state,TX_USERPARAM userParam);
-> expected initializer before ‘<‘ token

– in “EyeXClientTypes.h”, line 323
typedef std::function<void (TX_CONSTHANDLE)> AsyncDataCallback;
-> expected initializer before ‘<‘ token

– in “EyeXContext.h”, line 421
TX_API_FUNCTION_CPP(RegisterConnectionStateChangedHandler,(TX_CONTEXTHANDLE hContext, TX_TICKET* pTicket, const Tx::ConnectionStateChangedCallback& handler));
-> expected unqualified-id before ‘&’ token
-> expected ‘)’ before ‘&’ token
-> expected initializer before ‘&’ token

-in “EyeXUtils.h”, line 47
auto handle = _handle;
-> ISO C++ forbids declaration of ‘handle’ with no type