Update README.md

This commit is contained in:
/nick haya 2022-02-09 10:14:56 +08:00
parent f5d8689351
commit d9b6f6d00e

View file

@ -6,7 +6,7 @@
# What the shit is this # What the shit is this
A wrapper build around SDL2, some of its libraries, and BASS to make a lot of stuff A wrapper build around SDL2, some of its libraries, and SoLoud to make a lot of stuff
more easier to use. more easier to use.
Stuff like: Stuff like:
@ -23,14 +23,15 @@ MingW, or GCC.
## Requirements ## Requirements
- CMake, to build the damn thing - CMake, to build the damn thing
- SDL2, SDL_image 2.0, and SDL_ttf 2.0, duh - SDL2, SDL_image 2.0, and SDL_ttf 2.0, duh
- BASS and BASS_fx - SoLoud (static library)
- A VC++ (MSVC) compiler that atleast supports C++ std 17 - A VC++ (MSVC) compiler that atleast supports C++ std 17
To use it (in windows atleast), To use it (in windows atleast),
- Get SDL2, SDL_image 2.0, and SDL_ttf 2.0, and put em on the respective x86 and x64 folders. - Get SDL2, SDL_image 2.0, and SDL_ttf 2.0, and put em on the respective x86 and x64 folders.
You know how to place them. It's fucking common sense. You know how to place them. It's fucking common sense.
- [BASS and BASS_fx.](https://www.un4seen.com/bass.html) BASS_fx is an addon. Do same step as above. - [SoLoud. ](https://www.un4seen.com/bass.html) Follow GENie instructions and build as a static library.
Since it's currently confusing to do, [here's some prebuilt lib files for use with this wrapper.](https://cdn.discordapp.com/attachments/872338952483381258/940791426797686804/SoLoud_Static.zip)
- Clone the dam repo somewhere on ur machine. - Clone the dam repo somewhere on ur machine.
- Go to where you cloned it, and run `cmake -B build -DCMAKE_BUILD_TYPE=Release` - Go to where you cloned it, and run `cmake -B build -DCMAKE_BUILD_TYPE=Release`
- After successfully making the build files, run `cmake --build --config Release` to build it without the use of VStudio. - After successfully making the build files, run `cmake --build --config Release` to build it without the use of VStudio.