Open baccalla opened 7 years ago
Yes,this is a partial toolchain and dev envrionment port to Mac OS X.The SGDK is not completely ported I think. And some 3rd party tools(especially a graphic compress tool which requires a image processing library with no OSX port IIRC) are not properly ported.
So,to me,it's just proved the compiler environment is ok.That means you can dev programs with pure C/C++ compiler and the linker(like tic-tac-toe and the 32x sample). But for further 3rd SDKs like SGDK.Yes it does require additional work to properly port them.I may do that in future when I have free time and update this repo. So far it all depends on yourself,dude.Sorry for the inconvenience.
=P
On Wed, Apr 12, 2017 at 5:49 PM, baccalla notifications@github.com wrote:
Hello, i've installed the toolchain and reached to compiled, all seems ok, but i don't know how to start using SGDK.
What i've reached to do :
- Compiling OK -> i have all necessary files in /opt/toolchains/gen
ls -l total 0 drwxr-xr-x 16 baccalla staff 544 11 avr 22:53 bin drwxr-xr-x 9 baccalla staff 306 10 avr 16:17 ldscripts drwxr-xr-x 9 baccalla staff 306 10 avr 15:39 m68k-elf drwxr-xr-x 5 baccalla staff 170 11 avr 22:04 skeleton
- i have succefully built tictactoe project from http://gendev.spritesmind.net/forum/viewtopic.php?t=889 http://gendev.spritesmind.net/forum/viewtopic.php?t=889 and have tried it on an emulator. it works fine.
I don't know how to use SGDK, how to setup a new project now. I've tried to cp the skeleton directories to a new one "my project" and build without changing anything but it failed.
opt/toolchains/gen//m68k-elf/lib/libmd.a(sys.o): dans la fonction « _start_entry »: sys.c:(.text+0x8ac): référence indéfinie vers « main »
it lacks certainly some prerequisites. i'm under El Capitan 10.11.6 (i may be a mad man trying to develop from a mac)
Thanks for your support to help me start.
Best regards
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/SONIC3D/gendev-macos/issues/2, or mute the thread https://github.com/notifications/unsubscribe-auth/AAjzciJV8jDEx_CHmO8Ma9qTL8PDS0Qsks5rvJ4lgaJpZM4M7Mfa .
-- A hedgehog who can not run fast... :)
Thank you for your quick answer, it may be a little too much for a full beginner like me (underskilled for the moment) ;) SGDK was my choice to begin for basic features, i do not want to go back to Asm or pure C.
i will play a little to try compiling examples from SGDK and maybe considered again to switch to Win or linux :)
I will watch your repo progress Have a nice day Best regards
Just a time saving suggestion for you at this moment: Try install Virtual Box on your Mac and install a Windows guest OS then start your journey on SGDK itself(https://github.com/Stephane-D/SGDK).Don't waste too much time on environment preparing.Using VM OS won't cause too much compile performance issue for building game.(Building toolchain may spend quite a long time but that's one-time cost)
And try using SGDK to write a simple program like PONG.When you reached that milestone,stop dev on this environment directly.Use a more effecient game dev tool like UE4 or Unity3D to prototyping your gameplay idea,prove its usability and polish the experience then consider porting to genesis platform in finally step.
Good luck,dude! =P
On Wed, Apr 12, 2017 at 7:39 PM, baccalla notifications@github.com wrote:
Thank you for your quick answer, it may be a little too much for a full beginner like me (underskilled for the moment) ;) SGDK was my choice to begin for basic features, i do not want to go back to Asm or pure C.
i will play a little to try compiling examples from SGDK and maybe considered again to switch to Win or linux :)
I will watch you repo progress Have a nice day Best regards
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/SONIC3D/gendev-macos/issues/2#issuecomment-293551178, or mute the thread https://github.com/notifications/unsubscribe-auth/AAjzcghND_usZUXzH1ZxArqmrxqpelWwks5rvLgKgaJpZM4M7Mfa .
-- A hedgehog who can not run fast... :)
Hi @baccalla , I had a similar issue to yours, from cp the skeleton directories to a new one, basically re-creating the "hello world" project as in: https://github.com/Stephane-D/SGDK/wiki/Tuto-Hello-World
Turns out on "gendev"'s project (from which "gendev-macos" is based on) you're asked to use different makefiles, which get installed after you've built the toolchain. But you may need to double-check as recently it was all upgraded to newer SGDK, which among other things built in a newer GCC version.
I just created a PR which hopefully would allign again both projects. So maybe you want to give Mac environment another try :)
Best regards, Dani
Hello, i've installed the toolchain and reached to compiled, all seems ok, but i don't know how to start using SGDK.
What i've reached to do : 1) Compiling OK -> i have all necessary files in /opt/toolchains/gen
2) i have succefully built tictactoe project from http://gendev.spritesmind.net/forum/viewtopic.php?t=889 and have tried it on an emulator. it works fine.
I don't know how to use SGDK, how to setup a new project now. I've tried to cp the skeleton directories to a new one "my project" and build without changing anything but it failed.
Thanks for your support to help me start.
Best regards