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

Version 10 build issue #2300

Closed
frankdownunder opened this issue Apr 5, 2021 · 5 comments
Closed

Version 10 build issue #2300

frankdownunder opened this issue Apr 5, 2021 · 5 comments

Comments

@frankdownunder
Copy link
Contributor

With version 10 of the c++ compiler,
Building /opt/Sming/Sming/out/Host/debug/lib/clib-Storage.a C+ /opt/Sming/Sming/Components/Storage/src/ProgMem.cpp C+ /opt/Sming/Sming/Components/Storage/src/Storage.cpp In file included from /opt/Sming/Sming/Wiring/WConstants.h:20, from /opt/Sming/Sming/Wiring/WString.h:59, from /opt/Sming/Sming/Components/Storage/src/include/Storage/Device.h:12, from /opt/Sming/Sming/Components/Storage/src/include/Storage/CustomDevice.h:7, from /opt/Sming/Sming/Components/Storage/src/include/Storage/ProgMem.h:12, from /opt/Sming/Sming/Components/Storage/src/ProgMem.cpp:11: /usr/include/c++/10/cstdint:38:10: fatal error: bits/c++config.h: No such file or directory 38 | #include <bits/c++config.h> | ^~~~~~~~~~~~~~~~~~ compilation terminated.

To reproduce:

  • install g++-10
  • make it the default
  • make -j6 SMING_ARCH=Host
@mikee47
Copy link
Contributor

mikee47 commented Apr 5, 2021

sudo apt install g++-10-multilib should fix this

@mikee47
Copy link
Contributor

mikee47 commented Apr 5, 2021

We could do with a way to check for the 32 bit libraries and give a more useful message...

@mikee47
Copy link
Contributor

mikee47 commented Apr 5, 2021

Point of interest - running sudo apt install g++-10-multilib will also install dependent packages gcc-10, g++-10 and gcc-10-multilib.

@Matzz
Copy link
Contributor

Matzz commented Apr 6, 2021

Log long time ago when I was using Windows I also had series of issues. I end up using https://docs.microsoft.com/en-us/windows-hardware/drivers/download-the-wdk (Ubuntu on Windows)

@slaff
Copy link
Contributor

slaff commented Apr 8, 2021

@frankdownunder Feel free to re-open the issue if the problem still persists after installing g++-10-multilib

@slaff slaff closed this as completed Apr 8, 2021
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

4 participants