build_soda_english
差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン前のリビジョン次のリビジョン | 前のリビジョン | ||
build_soda_english [2025/02/12 13:18] – machiaworx | build_soda_english [2025/02/21 05:04] (現在) – machiaworx | ||
---|---|---|---|
行 9: | 行 9: | ||
* Therefore, I created a procedure for building it myself. | * Therefore, I created a procedure for building it myself. | ||
* Please note that the situation may change due to future pull requests, etc. (This description is as of 2025/02/11) | * Please note that the situation may change due to future pull requests, etc. (This description is as of 2025/02/11) | ||
+ | * To make things easier, I will describe the steps to build a 64-bit environment only. If you want to build a 32-bit environment, | ||
===== Procedure ===== | ===== Procedure ===== | ||
行 17: | 行 18: | ||
- Store SDL2_image.h in the SDL2 folder in a. | - Store SDL2_image.h in the SDL2 folder in a. | ||
- Store SDL2_mixer.h in the SDL2 folder in a. | - Store SDL2_mixer.h in the SDL2 folder in a. | ||
- | - Store all lib folders related to SDL2/ | + | - Store all *.lib files contained |
- Modify the source code (see commit B5294F6) | - Modify the source code (see commit B5294F6) | ||
- | - Modify the SDL_image loading folder\\ This is because SDL2_image is assumed to be loaded directly. If you specify a path, this h description is fine, but since " | + | - Modify the SDL_image loading folder\\ This is because SDL2_image is assumed to be loaded directly. If you specify a path, this description is fine, but since " |
- Fixed the incorrect calculation for division in PixelDisplay\\ Line 90 of PixelDisplay.cpp, | - Fixed the incorrect calculation for division in PixelDisplay\\ Line 90 of PixelDisplay.cpp, | ||
- Fix the main function\\ In Windows environments, | - Fix the main function\\ In Windows environments, | ||
- | - If the source code contains multibyte code, the line breaks will not be recognized because | + | - In addition, there is a part in the main function that references |
- Run the VS Developer Command Prompt. \\ If you are building a 64-bit version, it is faster to run "x64 NativeToolsCommandPrompt" | - Run the VS Developer Command Prompt. \\ If you are building a 64-bit version, it is faster to run "x64 NativeToolsCommandPrompt" | ||
- start VS Developer Prompt. | - start VS Developer Prompt. | ||
行 28: | 行 30: | ||
cd soda | cd soda | ||
cd src | cd src | ||
- | cl -I . -I MiniScript -I compiledData -I SDL2 /EHsc /wd4068 *.cpp MiniScript/ | + | cl -I . -I MiniScript -I compiledData -I SDL2 /EHsc / |
| | ||
===== Problem ===== | ===== Problem ===== | ||
- | * The inclusion of the BOM causes the Assert | + | * <del>Assert |
- | * In my environment, | + | * Solved. |
+ | * https:// |
build_soda_english.1739333918.txt.gz · 最終更新: 2025/02/12 13:18 by machiaworx