MastaLomaster / bkb

Control keyboard/mouse with the eyetrackers: Tobii Eye Tracker 4C, EyeX, REX, TheEyeTribe, Gazepoint GP3. Also computer control by turning the head along with an Airmouse is supported.
55 stars 12 forks source link

TobiiGazeConfig32.dll not found #1

Closed mpolivanov closed 10 years ago

mpolivanov commented 10 years ago

It seems that config dll is gone or was renamed in last SDK. Can you please suggest how to compile it or to run it with newest available SDK.

MastaLomaster commented 10 years ago

Thank you. The SDK I used is still available for download: http://www.tobii.com/en/eye-experience/support/old-tobii-gaze-sdk/gaze-sdk-c-api/ Take the TobiiGazeCore32.dll and TobiiGazeConfig32.dll there. To compile you need the header files only, the *.lib files are not used, instead I use "LoadLibrary" at runtime. Please compile with /MD flag: dynamically linked msvcrt. See this: http://developer.tobii.com/community/forums/topic/tobiigazecore32-dlltobiigazeconfig32-dll-compatibility-with-msvcrt-dll/ Seems like the old SDK used msvcrt100.dll (MSVS 2010), while the new one - with msvcrt110.dll (I think, MSVS 2012). The application was not initially made with unicode support, so you most probably will see question marks instead of Russian (Cyrillic) characters. Currently working on bi-lingual Unicode version. Regards,

mpolivanov commented 10 years ago

Thank you, will try it out.

Question mark problem can be easily solved by setting russian language as non-unicode language like described here http://superuser.com/questions/497857/how-to-change-language-for-non-unicode-programs-in-windows-8

MastaLomaster commented 10 years ago

That's what I have in my PC... Anyway I need to make it understanble for others. I don't think Russian words are more understandable for you than question marks...

mpolivanov commented 10 years ago

For me they are, as i am russian. But definitely not for non-russian users.

MastaLomaster commented 10 years ago

Ну, дык, могли бы и сразу по-русски написать...

mpolivanov commented 10 years ago

Привычка уже как-то на английском ... Пока успел только попробовать либы из 2.0

Sun Mar 16 13:53:41 2014 Module: TobiiREX.cpp Function: tobiigaze_config_init Line number: 281 Ошибка Tobii Gaze SDK: 401 (Tobii Eye Tracking not installed.)

Скажу на всякий случае что делаю все на Win 8.1 - другого нет к сожалению, надо устанавливать сначала. Завтра займусь установкой visual studio, посмотрим что получится.

MastaLomaster commented 10 years ago
  1. Ошибся: MSVCR110.dll - это от Visual Studio 2012. Именно в этой версии Visual Studio нужно компилировать программу, если вы используете версию SDK 4.0
  2. В новой версии SDK вообще ликвидирована библиотека TobiiGazeConfig32.dll. Надеюсь, что функции из неё перенесены в TobiiGazeCore32.dll. Сейчас попробую изменить код, чтобы программа искала функции в обоих библиотеках. Но всё равно, перекомпилировать под SDK 4.0 не смогу, пока сижу под VS2010. Напишу, когда будет готово.
  3. В последнем (сегодняшнем) обновлении исправлена ошибка при работе в Windows 8.1. Там хитро масштабируется десктоп, ключевое слово High DPI. Из-за этого окно со стрелочкой рисовалось ниже и правее реального взгляда. Если вы скачали более старую версию, то она может иметь такую ошибку.
MastaLomaster commented 10 years ago

Не всё так просто оказалось... в четвёртой версии SDK ряд функций выкинули, новые добавили. Нужно будет время, чтобы перелопатить код.

mpolivanov commented 10 years ago

Похоже что та версия тулкита (drivers, controls, ...), которую можно скачать - Tobii EyeX Engine Developer Preview 0.8.3.249 - отказывается работать с SDK 2.0. К сожалению Тоби перестали прикладывать флешку со "старым" тулкитом., поэтому у меня так пока ничего и не вышло. А в сети нет случайно тулкита, который работает с SDK 2.0? Буду очень благодарен за ссылку!

MastaLomaster commented 10 years ago

Может, подойдёт то, что на странице http://developer.tobii.com/rex-setup/ называется Tobii USB Service_1.2.0.40_x86 - for USB-HID? Если нет, попробую за пару недель переделать под новый SDK.

mpolivanov commented 10 years ago

К сожалению с этим тоже не работает. А можно попросить закачать в сеть тот exe, который был на флешки с рексом? Очень хочется дать маме что-то с чем она сможет работать. Буду очень признателен за помощь!

MastaLomaster commented 10 years ago

Напишите мне на Masta.Lomaster собака gmail точка com Между "Masta" и "Lomaster" тоже точка стоит.

MastaLomaster commented 10 years ago

Updated to support the latest Gaze SDK 4.0, closing the issue