Sming - Open Source framework for high efficiency native ESP8266 development

User avatar
By rosenrot
#67012 Hi,

I get a lot of undefined reference errors after cloning the develop branch.

Code: Select all#include <user_config.h>
#include <SmingCore/SmingCore.h>

void init() {



LD out/build/app.out
c:/tools/sming/Sming/compiler/lib/\libsming.a(user_main.o):(.text.user_init+0x0): undefined reference to System' c:/tools/sming/Sming/compiler/lib/\libsming.a(user_main.o):(.text.user_init+0x4): undefined reference toSystemClass::initialize()'
c:/tools/sming/Sming/compiler/lib/\libsming.a(user_main.o): In function user_init': c:\tools\sming\Sming/appinit/user_main.cpp:14: undefined reference toSystemClass::initialize()'
collect2.exe: error: ld returned 1 exit status
make: *** [out/build/app.out] Error 1

What do I do wrong?
User avatar
By robertkendrick
#68596 Did you build the library libsming.a before building the app?

If not, change to the Sming directory (the one containing and run make. Make sure the makefile has the correct entires for pointing to your Espressif directroy and your Sming_home.