build_soda_english
差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン前のリビジョン次のリビジョン | 前のリビジョン | ||
build_soda_english [2025/02/13 08:09] – 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, | ||
- In addition, there is a part in the main function that references the contents of c., so this has been corrected.\\ Line 324 in main.cpp has been corrected to read "void PrepareShellArgs(int argc, char* argv[], int startingAt) {". | - In addition, there is a part in the main function that references the contents of c., so this has been corrected.\\ Line 324 in main.cpp has been corrected to read "void PrepareShellArgs(int argc, char* argv[], int startingAt) {". | ||
+ | |||
- 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 / | + | cl -I . -I MiniScript -I compiledData -I SDL2 /EHsc /wd4068 / |
| | ||
===== Problem ===== | ===== Problem ===== | ||
- | < | + | * < |
- | * In my environment, | + | |
* Solved. | * Solved. | ||
- | * https://torakichi.hateblo.jp/ | + | * https://qiita.com/TETSURO1999/items/3b50c99d2a0da41b667a |
build_soda_english.1739401797.txt.gz · 最終更新: 2025/02/13 08:09 by machiaworx