Geschrieben October 14, 2020 at 10:3214. Okt 2020 I am using the IMU 2.0 in visual c++. When I run the example code "example_simple.c" in visual studio, it says I am missing the link tot he library functions. I was not able to find any lib file in the source directory. 1>main.obj : error LNK2019: unresolved external symbol _ipcon_create referenced in function _main 1>main.obj : error LNK2019: unresolved external symbol _ipcon_destroy referenced in function _main 1>main.obj : error LNK2019: unresolved external symbol _ipcon_connect referenced in function _main 1>main.obj : error LNK2019: unresolved external symbol _imu_v2_create referenced in function _main 1>main.obj : error LNK2019: unresolved external symbol _imu_v2_destroy referenced in function _main 1>main.obj : error LNK2019: unresolved external symbol _imu_v2_get_quaternion referenced in function _main Thanks for the help.
Geschrieben October 14, 2020 at 10:5014. Okt 2020 Hi, did you follow this instructions?https://www.tinkerforge.com/en/doc/Software/API_Bindings_C.html
Geschrieben October 14, 2020 at 11:3514. Okt 2020 There is not precompiled library you could link against. You need to include ip_connection.c and brick_imu_v2.c from the API bindings into your Visual Studio project, as the documentation explains.
Geschrieben October 15, 2020 at 09:3315. Okt 2020 Autor Thanks guys. Got it working. Missed the source files.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.