Trouble with makefile.gen

SGDK only sub forum

Moderator: Stef

Post Reply
Boyfinn
Very interested
Posts: 57
Joined: Sat Aug 08, 2015 12:12 pm
Location: Lapland, Finland

Trouble with makefile.gen

Post by Boyfinn » Sat Aug 08, 2015 12:31 pm

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?

Stef
Very interested
Posts: 3131
Joined: Thu Nov 30, 2006 9:46 pm
Location: France - Sevres
Contact:

Post by Stef » Sat Aug 08, 2015 11:04 pm

It's just look like you haven't defined the GDK environement variable (it should locate the SGDK folder).

Boyfinn
Very interested
Posts: 57
Joined: Sat Aug 08, 2015 12:12 pm
Location: Lapland, Finland

Post by Boyfinn » Sun Aug 09, 2015 1:40 pm

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.

djcouchycouch
Very interested
Posts: 710
Joined: Sat Feb 18, 2012 2:44 am

Post by djcouchycouch » Sun Aug 09, 2015 6:09 pm

You could also set those environment variables in a build batch file and call that. That way it'll never be skipped or forgotten.

Post Reply