Page 1 of 1

SGDKcompiling Issue -RESOLVED-

Posted: Mon Oct 17, 2016 11:32 am
by uran
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

Re: SGDKcompiling Issue

Posted: Mon Oct 17, 2016 11:39 am
by Grind
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.

Re: SGDKcompiling Issue

Posted: Mon Oct 17, 2016 2:45 pm
by uran
The GDK environment variable is defined like this
GDK environment variable.png
GDK environment variable.png (40.06 KiB) Viewed 5767 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\;

Re: SGDKcompiling Issue

Posted: Mon Oct 17, 2016 3:36 pm
by uran
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

Re: SGDKcompiling Issue

Posted: Fri Nov 04, 2016 12:46 am
by MJ_Mantis
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!

Re: SGDKcompiling Issue -RESOLVED-

Posted: Fri Nov 04, 2016 9:28 am
by Stef
Ok, it seems to be an issue with space character in the path, i probably need to quote some command calls in the makefile :)