Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

U8g2 library #26

Open
gronat opened this issue Dec 3, 2016 · 0 comments
Open

U8g2 library #26

gronat opened this issue Dec 3, 2016 · 0 comments

Comments

@gronat
Copy link

gronat commented Dec 3, 2016

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant