Repository navigation
Ubuntu 24.04 のビルドエラーを修正 - #1336
Merged
Merged
Conversation
Member
|
ありがとうございます! マージします。 |
Member
Author
|
すいません、今回の変更によってどこかでクラッシュするようになったかもしれません (Image::paint() あたりな気がしてます) |
Member
|
今まで Linux 版では |
Member
Author
|
ひとまず Paint_SSE4_1() を修正したところ、私の開発環境では問題なく動作しました。 |
Member
Author
|
AIも使いながら他の SSE コードも一応調べてみたのですが、バグがあったのは |
Member
|
修正内容確認しました。これでいきます。ありがとうございます。 |
Member
|
Merged. Thank you! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Ubuntu 24.04 ビルドで発生するエラー (https://siv3d.jp/bbs/patio.cgi?read=782) に遭遇したので原因の修正を行いました。
原因について:
Platform.hpp では SSE 有効条件を SSE4.2 の有無で判定しています。
OpenSiv3D/Siv3D/include/Siv3D/Platform.hpp
Lines 80 to 85 in 8458f3d
一方、CMakeLists.txt では SSE オプションが
-msse4.2ではなく-msse4.1になっていたようでした。OpenSiv3D/Linux/CMakeLists.txt
Line 25 in 8458f3d
恐らくこの不整合はバグだと思われるので CMakeLists.txt 側の修正を行いました。
この修正により Ubuntu 24.04 及び従来の Ubuntu 22.04 でもビルドが通ることを確認しています。