SmingHub / Sming

Sming - powerful open source framework simplifying the creation of embedded C++ applications.
https://sming.readthedocs.io
GNU Lesser General Public License v3.0
1.47k stars 347 forks source link

Cannot compile with latest Sming develop #2161

Closed teicors closed 3 years ago

teicors commented 3 years ago

Hi, I recently upgraded the Sming env. (git pull) I cannot compile anymore: the file /opt/sming/Sming/Arch/Esp8266/Components/libc/include/c_types.h is missed. I got it from the prev version of Sming in github and I can compile now. platform esp8266

mikee47 commented 3 years ago

That file has moved into Sming/System/include as it is required for all architectures. I suspect you may have files left over from the previous version. Can you check with git status from your root Sming directory and remove any extraneous files.

teicors commented 3 years ago

I did before a make dist-clean config-clean components-clean submodules-clean but no luck. After your direction and checking with git status I found some spurious files

    Sming/Arch/Esp8266/Components/gdbstub/appcode/gdb_hooks.cpp.d
    Sming/Arch/Esp8266/Components/gdbstub/appcode/gdb_hooks.o
    Sming/Arch/Esp8266/Components/gdbstub/appcode/gdbstub-entry.o
    Sming/Arch/Esp8266/Components/libc/include/c_types.h
    Sming/Components/rboot/appcode/rboot-overrides.c.d
    Sming/Components/rboot/appcode/rboot-overrides.o

I removed them and I can recompile. Thanks !