SGDK icon indicating copy to clipboard operation
SGDK copied to clipboard

Error building with Eclipse

Open Pilou44 opened this issue 2 years ago • 1 comments

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 ?

Pilou44 avatar Apr 07 '22 16:04 Pilou44

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...

komadori82 avatar Dec 29 '22 16:12 komadori82