Hi again,
It seems that all dependencies have been installed, but I couldnt find where the vrpn files are located on my computer.
I tried to use the libraries that are in openvibe-0.14.2-svn3326-src/dependencies/vrpn/(lib|include) but the compilation on Visual Studio 2010 ultimate fails with the following errors :
(it is a French edition, but I assume you are French, so that shouldnt bother you
)
Code: Select all
Erreur 1 error LNK2019: symbole externe non résolu "class vrpn_Connection * __cdecl vrpn_create_server_connection(char const *,char const *,char const *)" (?vrpn_create_server_connection@@YAPAVvrpn_Connection@@PBD00@Z) référencé dans la fonction "class vrpn_Connection * __cdecl vrpn_create_server_connection(int,char const *,char const *,char const *)" (?vrpn_create_server_connection@@YAPAVvrpn_Connection@@HPBD00@Z) c:\Users\oodelally\documents\visual studio 2010\Projects\openvibe_test\openvibe_test\GenericVRPNServer.obj
Erreur 2 error LNK2019: symbole externe non résolu "public: __thiscall vrpn_Button_Server::vrpn_Button_Server(char const *,class vrpn_Connection *,int)" (??0vrpn_Button_Server@@QAE@PBDPAVvrpn_Connection@@H@Z) référencé dans la fonction "public: void __thiscall GenericVRPNServer::addButton(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,int)" (?addButton@GenericVRPNServer@@QAEXV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@H@Z) c:\Users\oodelally\documents\visual studio 2010\Projects\openvibe_test\openvibe_test\GenericVRPNServer.obj
Erreur 3 error LNK2019: symbole externe non résolu "public: int __thiscall vrpn_Button_Server::set_button(int,int)" (?set_button@vrpn_Button_Server@@QAEHHH@Z) référencé dans la fonction "public: void __thiscall GenericVRPNServer::changeButtonState(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,int,int)" (?changeButtonState@GenericVRPNServer@@QAEXV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@HH@Z) c:\Users\oodelally\documents\visual studio 2010\Projects\openvibe_test\openvibe_test\GenericVRPNServer.obj
Erreur 4 error LNK2019: symbole externe non résolu "public: __thiscall vrpn_Analog_Server::vrpn_Analog_Server(char const *,class vrpn_Connection *,int)" (??0vrpn_Analog_Server@@QAE@PBDPAVvrpn_Connection@@H@Z) référencé dans la fonction "public: void __thiscall GenericVRPNServer::addAnalog(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,int)" (?addAnalog@GenericVRPNServer@@QAEXV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@H@Z) c:\Users\oodelally\documents\visual studio 2010\Projects\openvibe_test\openvibe_test\GenericVRPNServer.obj
So I think the header file are fine, but the linker couldnt find the right implementation of the functions.
I added openvibe-0.14.2-svn3326-src\dependencies\vrpn\lib in the libpath directories, and openvibe-0.14.2-svn3326-src\dependencies\vrpn\include in the additionnal include directories
Have I made any mistake somewhere ?
Thank you