emscripten-core / emscripten-core/emscripten

SDL_TTF and freetype not building with PTHREADS

オープン
#13,402 コメント 2 件 リアクション 3 件 担当者 0 名 GitHub で見る
主要言語
C++
スター
27.6k
フォーク
3.6k
平均マージ
1日 1時間
マージ済み PR(30日)
105

説明

If using SDL2 with threads then sdl2_ttf.py and freetype.py don't compile a -mt version of the library automatically like sdl2.py does.

We found that the linker dosnt seem to complain about linking the non-mt versionf of these librarys, but when using TTF_OpenFont you get heap corruption at runtime.

I changed sdl2.ttf.py and freetype to compile with USE_PTHREADS, linked with those library's and it fixed the heap corruption.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。