Stephane-D / SGDK

SGDK - A free and open development kit for the Sega Mega Drive
https://www.patreon.com/SGDK
MIT License
1.73k stars 186 forks source link

Error building with Eclipse #248

Open Pilou44 opened 2 years ago

Pilou44 commented 2 years ago

Hi, I've followed the tutorial , and I've got an error on building :

17:54:56` **** Incremental Build of configuration Release for project genesis_world ****
"C:\\Users\\guill\\workspace\\megadrive\\SGDK\\bin\\make -f C:\\Users\\guill\\workspace\\megadrive\\SGDK\\makefile.gen" Release 
Cannot run program "C:\Users\guill\workspace\megadrive\SGDK\bin\make -f C:\Users\guill\workspace\megadrive\SGDK\makefile.gen": Launching failed

Error: Program "C:\Users\guill\workspace\megadrive\SGDK\bin\make -f C:\Users\guill\workspace\megadrive\SGDK\makefile.gen" not found in PATH

C:\Users\guill\workspace\megadrive\SGDK is my GDK environment variable, path is good.

I've tried several things without any success. I'm using Eclipse Version: 2022-03 (4.23) on Windows 11. Can anyone help me please ?

komadori82 commented 1 year ago

I had the same issue... I figured, it didn't like the whitespaces in the make command...

so I put this: "%GDK%/bin/make -f %GDK%/makefile.gen %*" into a batchfile (without whitespaces in its name) and let eclipse run it instead... seems to work...