Page 1 of 1

Trouble with makefile.gen

Posted: Sat Aug 08, 2015 12:31 pm
by Boyfinn
So, i updated SGDK to the latest version and it fails to compile any project.

I used the PAUSE command and this is what i get:

Code: Select all

No rule to make target `/src/boot/sega.s', needed by ´src/boot/sega.s'
This has never occured to me in the older versions.
By the way, Where is it trying to get the sega.s from? because only the project folder contains this file, not the root folder.

Well anyways, i tried compiling one of the sample projects and it gave me the same error.

I don't know whats going on, This didn't occur on earlier versions.
Am i missing something?

Posted: Sat Aug 08, 2015 11:04 pm
by Stef
It's just look like you haven't defined the GDK environement variable (it should locate the SGDK folder).

Posted: Sun Aug 09, 2015 1:40 pm
by Boyfinn
Oh, I just noticed that all my custom paths have been removed.
Maybe this happened when i upgraded to windows 10?

Anyways i remade the environment variables and it works fine now.

Posted: Sun Aug 09, 2015 6:09 pm
by djcouchycouch
You could also set those environment variables in a build batch file and call that. That way it'll never be skipped or forgotten.