Viktor Geschrieben October 14, 2020 at 10:32 Geschrieben October 14, 2020 at 10:32 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. Zitieren
Backdraft007 Geschrieben October 14, 2020 at 10:50 Geschrieben October 14, 2020 at 10:50 Hi, did you follow this instructions?https://www.tinkerforge.com/en/doc/Software/API_Bindings_C.html Zitieren
photron Geschrieben October 14, 2020 at 11:35 Geschrieben October 14, 2020 at 11:35 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. Zitieren
Viktor Geschrieben October 15, 2020 at 09:33 Autor Geschrieben October 15, 2020 at 09:33 Thanks guys. Got it working. Missed the source files. Zitieren
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.