Skip to content
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

Windows Environment build fix,and minor fix(SDL_mixer include in Linux ) #14

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

MachiaWorks
Copy link

This PR adds settings for building in a Windows environment and for building in the current Linux environment.

1-1. Advantage 1
Building in a Windows environment is possible.

1-2. Modifications
Certain functions have been reformatted for the Windows compiler, and are reflected only when compiled with a Windows tool.
This is a specification of SDL and Windows programs, and only main functions with specific arguments work, so modifications are necessary.
And a batch script tool has been created to simplify compilation. "build_win.bat"
Based on the above, the build procedure on Windows in "BUILDING.txt" has been modified.

2-1. Advantage 2
SDL_mixer libraries can now be loaded.

2-2. Modifications
Modified Makefile for Linux.
Based on the above, the build procedure in "BUILDING.txt" has been modified to run SDL_mixer.

2-3. Other
Not tested on MacOS.
However, when I checked the Makefile, I found that SDL_mixer was included, so I don't think there's a problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant