ユーザ用ツール

サイト用ツール


build_soda_english

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン前のリビジョン
build_soda_english [2025/02/21 05:01] machiaworxbuild_soda_english [2025/02/21 05:04] (現在) machiaworx
行 20: 行 20:
     - Store all *.lib files contained in the library's "x64" directly under the "lib" folder on the build tool side. \\ Store in the "x64" folder if compiling in 64bit.\\      - Store all *.lib files contained in the library's "x64" directly under the "lib" folder on the build tool side. \\ Store in the "x64" folder if compiling in 64bit.\\ 
   - 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 description is fine, but since "SDL2_image.h attempts to load under the assumption that SDL2.h is in the same folder," prioritize this and modify the source code on the SODA side. \\ Line 13 of SdlUtils.h, change it to "#include <SDL2/SDL_image.h>". \\ (If there are differences between the Linux environment and library construction, consider splitting it with directives.)+    - 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 "SDL2_image.h attempts to load under the assumption that SDL2.h is in the same folder," prioritize this and modify the source code on the SODA side. \\ Line 13 of SdlUtils.h, change it to "#include <SDL2/SDL_image.h>". \\ (If there are differences between the Linux environment and library construction, consider splitting it with directives.)
     - Fixed the incorrect calculation for division in PixelDisplay\\ Line 90 of PixelDisplay.cpp, change it to "if (denom == 0.0f) return 0.0f ;". \\ I plan to submit a pull request for this later.     - Fixed the incorrect calculation for division in PixelDisplay\\ Line 90 of PixelDisplay.cpp, change it to "if (denom == 0.0f) return 0.0f ;". \\ I plan to submit a pull request for this later.
     - Fix the main function\\ In Windows environments, it seems that the format of the main function is determined separately, and if the second argument is const, the format differs, so SDL-related libraries cannot be linked. The function definition needs to be changed. However, since it will affect if it can be compiled on Mac/Linux, I think it is better to branch with a directive. \\ Line 332 of main.cpp, change it to "int main(int argc, char * argv[]) {". \\ Reference: https://www.glamenv-septzen.net/view/584     - Fix the main function\\ In Windows environments, it seems that the format of the main function is determined separately, and if the second argument is const, the format differs, so SDL-related libraries cannot be linked. The function definition needs to be changed. However, since it will affect if it can be compiled on Mac/Linux, I think it is better to branch with a directive. \\ Line 332 of main.cpp, change it to "int main(int argc, char * argv[]) {". \\ Reference: https://www.glamenv-septzen.net/view/584
build_soda_english.txt · 最終更新: 2025/02/21 05:04 by machiaworx