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

Compiling develop branch under windows #1149

Open
riegaz opened this issue Jun 11, 2017 · 1 comment
Open

Compiling develop branch under windows #1149

riegaz opened this issue Jun 11, 2017 · 1 comment

Comments

@riegaz
Copy link

riegaz commented Jun 11, 2017

I created a simple project only holding this code:

#include <user_config.h>
#include <SmingCore/SmingCore.h>


void init() {

}

This is the error I get:

C:\Users\programmer\Downloads\sming\sming-skel>make
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 to SystemClass::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 to SystemClass::initialize()'
collect2.exe: error: ld returned 1 exit status
make: *** [out/build/app.out] Error 1

Could someone help me?

Is it related to #1021? And if so, how to fix it?

@kwis2
Copy link

kwis2 commented Jun 13, 2017

I see no response from more advanced users, so I'll try to give you some solution from person who would like to be only Sming user.
The most important principle is to not to change anything. There is a lot of dependencies with makefiles, include - source should be in app folder so the best way it is to take any working example and place your own code.
The only way I found to make sming work in windows it is manual copy, make and especially on my win 7 it doesn't work with mingw64, but with mingw32 manualy copied to mingw64 folder. A lot of fight is to ask it to use SSL, and use of rboot it is challenge....
So work with Sming in windows it is newer ending fight against Sming.
But if you are lucky and you make it work then Sming it is very nice development tool.

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

2 participants