I followed the setup https://github.com/Stephane-D/SGDK/wiki ... th-Eclipse - and I get a GCC.exe not found error and I added a folder called SGDK to make it as my directory and I just wanna see if I got it working or not!
so here's the error
00:20:43 **** Incremental Build of configuration Release for project Sega Rom test ****
"C:\\SGDK\\bin\\make" -f "C:\\SGDK/makefile.gen" Release
C:\SGDK/bin/mkdir -p src/boot
C:\SGDK/bin/mkdir -p out
C:\SGDK/bin/mkdir -p out/src
C:\SGDK/bin/mkdir -p out/res
C:\SGDK/bin/gcc -m68000 -Wall -fno-builtin -Iinc -Isrc -Ires -IC:\SGDK/inc -IC:\SGDK/res -BC:\SGDK/bin -c src/boot/rom_head.c -o out/rom_head.o
gcc.exe: error: CreateProcess: No such file or directory
make: *** [out/rom_head.o] Error 1
00:20:44 Build Finished (took 523ms)
Sop why this won't build the rom so I can test out on SEGA Genesis?
Windows 10 SGDK Setup with Eclipse Help
Moderator: BigEvilCorporation
-
- Newbie
- Posts: 8
- Joined: Fri Nov 03, 2017 10:38 pm
- Contact:
-
- Very interested
- Posts: 3131
- Joined: Thu Nov 30, 2006 9:46 pm
- Location: France - Sevres
- Contact:
Re: Windows 10 SGDK Setup with Eclipse Help
To be honest i don't use Eclipse myself as i got many troubles making it working with SGDK.
Still from your messages log, did you correctly defines GDK environment variable and custom build command ?
You GDK var should be set to :
And your build command to
It looks like you used '\' (windows path separator)instead of '/' (linux path separator).
Even if you are on windows you need to use '/' as windows now support it, and mixing them will probably screw up everything.
Also you might try to define "GDK_WIN" environment variable which should point to your SGDK installation path but in windows format
Then finally add the bin directory of SGDK (%GDK_WIN%\bin) to your system PATH variable. Be careful, if you have another GCC installation you can have some conflicts when cc1 command will be called..
Still from your messages log, did you correctly defines GDK environment variable and custom build command ?
You GDK var should be set to :
Code: Select all
C:/SGDK
Code: Select all
${GDK}/bin/make -f ${GDK}/makefile.gen'
Even if you are on windows you need to use '/' as windows now support it, and mixing them will probably screw up everything.
Also you might try to define "GDK_WIN" environment variable which should point to your SGDK installation path but in windows format
Code: Select all
C:\SGDK
-
- Newbie
- Posts: 8
- Joined: Fri Nov 03, 2017 10:38 pm
- Contact:
Re: Windows 10 SGDK Setup with Eclipse Help
Just fixed my Build on main list of Build environment work now I'm getting a main error of this here
C:\Users\start\AppData\Local\Temp\ccRlDqHl.ltrans4.ltrans.o: In function `_reset_entry':
<artificial>:(.text+0x768): undefined reference to `main'
C:\Users\start\AppData\Local\Temp\ccRlDqHl.ltrans4.ltrans.o: In function `_start_entry':
<artificial>:(.text+0x818): undefined reference to `main'
make: *** [out/rom.out] Error 1
it almost made a test rom!
C:\Users\start\AppData\Local\Temp\ccRlDqHl.ltrans4.ltrans.o: In function `_reset_entry':
<artificial>:(.text+0x768): undefined reference to `main'
C:\Users\start\AppData\Local\Temp\ccRlDqHl.ltrans4.ltrans.o: In function `_start_entry':
<artificial>:(.text+0x818): undefined reference to `main'
make: *** [out/rom.out] Error 1
it almost made a test rom!
-
- Very interested
- Posts: 3131
- Joined: Thu Nov 30, 2006 9:46 pm
- Location: France - Sevres
- Contact:
Re: Windows 10 SGDK Setup with Eclipse Help
Then now you just need a main() method in your project
-
- Newbie
- Posts: 8
- Joined: Fri Nov 03, 2017 10:38 pm
- Contact:
Re: Windows 10 SGDK Setup with Eclipse Help
it had to be saved in order to work the int Main() - now my setup is complete and working without any issues, that means I can try out many SGSK tutorials and maybe build a game or two for the genesis and have the power of 16-bit in my hands!