SGDKcompiling Issue -RESOLVED-

SGDK only sub forum

Moderator: Stef

Post Reply
uran
Newbie
Posts: 3
Joined: Sat Oct 15, 2016 5:13 pm

SGDKcompiling Issue -RESOLVED-

Post by uran » Mon Oct 17, 2016 11:32 am

Hello,

I'm just starting with SGDK under ubuntu on a laptop, looks every-thing is Ok. But ... Almost tools are under windows, so I wanted switch to.

I (hope) follow basic tutorial on "Setup-SGDK-Basic", I add 2 users variables et add 2 GDK et GDK_WIN to "PATH environnement" the I try to compile sample with command line where I've got this error
D:\ProgMD\sgdk122\sample\sprite>build

D:\ProgMD\sgdk122\sample\sprite>D:\ProgMD\sgdk122\bin\make -f D:\ProgMD\sgdk122\
makefile.gen
D:\ProgMD\sgdk122/bin/mkdir -p src/boot
zsh: no such file or directory: D:ProgMDsgdk122\bin\mkdir
make: *** [pre-build] Error 1

D:\ProgMD\sgdk122\sample\sprite>
I saw a missing "\" in the path but don't know why.
I've searched the forum and find that zhengyaxin_8bit had the same issue in 2006 where Stef explained to follow the basic tutorial to add both GDK and GDK_WIN. zhengyaxin_8bit never give the result.

May I miss something else ?

I'm working under windows 7 64 bits edition, and SGDK is 1.22.

thank's for any help

Yann
Last edited by uran on Mon Oct 17, 2016 4:42 pm, edited 1 time in total.

Grind
Very interested
Posts: 69
Joined: Fri Jun 13, 2014 1:26 pm
Location: US
Contact:

Re: SGDKcompiling Issue

Post by Grind » Mon Oct 17, 2016 11:39 am

Does the GDK environment variable end with a forward slash '/'?

And also GDK_WIN with a backwards slash '\'?

It looks like the tool is not adding an extra slash to the end when one doesn't already exist in the variable.

uran
Newbie
Posts: 3
Joined: Sat Oct 15, 2016 5:13 pm

Re: SGDKcompiling Issue

Post by uran » Mon Oct 17, 2016 2:45 pm

The GDK environment variable is defined like this
GDK environment variable.png
GDK environment variable.png (40.06 KiB) Viewed 4428 times
and path is :
C:\PROGRAMDATA\ORACLE\JAVA\JAVAPATH;C:\WINDOWS\SYSTEM32;C:\WINDOWS;C:\WINDOWS\SYSTEM32\WBEM;C:\WINDOWS\SYSTEM32\WINDOWSPOWERSHELL\V1.0\;C:\PROGRAM FILES (X86)\NVIDIA CORPORATION\PHYSX\COMMON;C:\PROGRAM FILES\FILEBOT\;;C:\Program Files\WIDCOMM\Bluetooth Software\;C:\Program Files\WIDCOMM\Bluetooth Software\syswow64;%GDK%\bin/;%GDK_WIN%\bin\;

uran
Newbie
Posts: 3
Joined: Sat Oct 15, 2016 5:13 pm

Re: SGDKcompiling Issue

Post by uran » Mon Oct 17, 2016 3:36 pm

hummm....
I redo exactly as in tutorial and it's work file.

I just put folder sgdk at disk root instead in subfolder.. \o/

Let's discovered how it works now.
Thanks Grind

MJ_Mantis
Newbie
Posts: 1
Joined: Thu Nov 03, 2016 5:58 pm

Re: SGDKcompiling Issue

Post by MJ_Mantis » Fri Nov 04, 2016 12:46 am

uran wrote:hummm....
I redo exactly as in tutorial and it's work file.

I just put folder sgdk at disk root instead in subfolder.
To any future Googlers out there, I was having similar problems to this thread. I resolved them and I have SGDK in a subfolder so I don't think that's related.

I had the SDK in "E:\8BitEvolution\SGDK 1.22" but that was giving me errors with the path even though I quadruple checked it for typos. So then I changed the filename to "E:\8BitEvolution\SGDK" like in the tutorial and that solve it!

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

Re: SGDKcompiling Issue -RESOLVED-

Post by Stef » Fri Nov 04, 2016 9:28 am

Ok, it seems to be an issue with space character in the path, i probably need to quote some command calls in the makefile :)

Post Reply