-
Notifications
You must be signed in to change notification settings - Fork 131
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve SDL compilation instructions #118
Comments
SDL2 target is only for myself, for debugging and profiling, hence the no documentation. It works but it must be built manually (gcc/tcc/clang supported) and launching a game must be done by editing the config and I think the display patches are missing from master right now. It will never be a prime target but I agree that it would be nice to eventually make it easy to build the SDL2 version. It would make it simpler for people to tinker. We can keep this issue open as a reminder! |
Ah yes, that makes sense, thanks! I would love to also be able to do some debugging and profiling ;-) Not to push, but as a first step, I made this list of what's needed:
|
I've pushed to a temp branch, though it no longer works very well due to changes since I last used it. But it should build! The build scripts builds the launcher and retro-core then runs both. The first run will create the folder structure where you can drop some roms to test. I build with mingw64 (it also works with tinycc and clang) so you might have to change some things if you run Linux proper. |
That's so cool! Let me see if I can get it to work on Linux proper :-D |
I've added I'll try to fix it before the next release but if someone experienced with SDL2 comes around I'd be very happy to accept a PR or some guidance :). Once it's working I'll make a proper makefile to build all apps. Or maybe make rg_tool.py just work for SDL2 too. Not sure what's best. |
I see retro-go has an "sdl2" target that would presumably allow running it on a regular, x86/64 desktop computer, I think...
But I can't find documentation on how to do it, in components/retro-go/targets/sdl2/docs/README.md or BUILDING.md
I apt-get installed libsdl2-dev and ran:
./rg_tool.py --target sdl2 build
But immediately it complains about:
IDF_PATH is not defined. Are you running inside esp-idf environment?
And with IDF_PATH set as usual, of course ESP_PLATFORM is set and then it tries to compile all sorts of non-desktop things.
So I was wondering if some more instructions could be added about this, or provided here, or just some clarification that "this is not supported anymore" if that's the case.
The text was updated successfully, but these errors were encountered: