You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have arduino libraries in ~/Arduino/libraries/ where U8g2 lives. How to properly add the ~/Arduino/libraries/ in the CMakeList? I am having troubles during linking:
CMakeFiles/altimeter.dir/altimeter_altimeter.ino.cpp.obj: In function `_GLOBAL__sub_I_u8g2':
/home/foo/Arduino/libraries/U8g2/src/U8g2lib.h:407: undefined reference to `u8g2_DrawGlyph'
/home/foo/Arduino/libraries/U8g2/src/U8g2lib.h:408: undefined reference to `u8x8_InitDisplay'
/home/foo/Arduino/libraries/U8g2/src/U8g2lib.h:408: undefined reference to `u8g2_ClearDisplay'
CMakeFiles/altimeter.dir/altimeter_altimeter.ino.cpp.obj: In function `_GLOBAL__sub_I_u8g2':
... etc
The directory structure of the U8g2 library is quite complex. What should be the proper CMakeList in this case?
The text was updated successfully, but these errors were encountered:
I have arduino libraries in ~/Arduino/libraries/ where U8g2 lives. How to properly add the ~/Arduino/libraries/ in the CMakeList? I am having troubles during linking:
The directory structure of the U8g2 library is quite complex. What should be the proper CMakeList in this case?
The text was updated successfully, but these errors were encountered: