sf2ww icon indicating copy to clipboard operation
sf2ww copied to clipboard

Autoconf build scripts need updating for building on Linux, Windows

Open xcom169 opened this issue 3 years ago • 3 comments

Can you please post build instructions for Ubuntu like cmake, or ./configure ?

xcom169 avatar Oct 12 '21 13:10 xcom169

A long time ago I set up Autoconf scripts and built this project on Linux, but these scripts are now out of date with the main Xcode project.

Can someone with enough time help out and send a PR with an updated build script & instructions?

bentorkington avatar Oct 12 '21 18:10 bentorkington

@bentorkington Would you be open to a PR with a CMakelist that would improve portability?

fabiensanglard avatar Oct 15 '21 17:10 fabiensanglard

Absolutely. I'll always use Xcode as my main way of working with the project, but I don't mind which toolchain is used for building on other platforms

bentorkington avatar Oct 15 '21 17:10 bentorkington

I made some progress on autotools building, on a new branch, autotools-build. It builds (on x86 and arm) and runs, but currently freezes as soon as a coin is inserted.

bentorkington avatar Jan 05 '23 19:01 bentorkington

I replaced autotools with CMake. I don't have much experience with either of them, and CMake seemed the lesser of two evils if I had to learn one of them.

It's all done in one top-level CMakeLists.txt file as I couldn't yet figure out how to build the (messy) project structure with a CMakeList.txt in each subdirectory. If anyone can help with this I'd appreciate it.

bentorkington avatar Jan 10 '23 00:01 bentorkington

CMake worked well on my Arch Linux OS. Makefile created 1 executable. Is that right?

On Tue, 10 Jan 2023 at 01:02, bentorkington @.***> wrote:

I replaced autotools with CMake. I don't have much experience with either of them, and CMake seemed the lesser of two evils if I had to learn one of them.

It's all done in one top-level CMakeLists.txt file as I couldn't yet figure out how to build the (messy) project structure with a CMakeList.txt in each subdirectory. If anyone can help with this I'd appreciate it.

— Reply to this email directly, view it on GitHub https://github.com/bentorkington/sf2ww/issues/2#issuecomment-1376514347, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEH2G2XGKJJZEDGLUS2N77TWRSRHXANCNFSM5F2QR3DA . You are receiving this because you authored the thread.Message ID: @.***>

xcom169 avatar Jan 11 '23 11:01 xcom169

That's right. Check out the updated README.md, you'll need to generate allroms.bin and sf2gfx.bin and place them in the same directory as the executable and it should run.

bentorkington avatar Jan 11 '23 16:01 bentorkington