Skip to content

Instantly share code, notes, and snippets.

@kjunichi
Last active December 28, 2015 17:59
Show Gist options
  • Save kjunichi/7540292 to your computer and use it in GitHub Desktop.
Save kjunichi/7540292 to your computer and use it in GitHub Desktop.

Mavericksでのビルドにハマり中

wxWidgetsの2.9系はCursorが未定義とコンパイルエラー wxWidgetsの3.0リリース版はビルドは出来たが、wxMaximaのビルドでリンクエラー で、これがどうもclang周りの標準ライブラリの指定が、wxWidgetsとwxMaximaで結果的に異なった 指定がされていることに起因している臭い。

解決策?

wxWidgets、wxMaximaの双方のビルド時に

-stdlib=libstdc++

解決した

./configure時にCXXFLAGS="-stdlib=libstdc++" LIBS="-lstdc++"

残る疑問

なぜ、wxWidgetsではCXXFLAGS="-stdlib=libc++"でconfigureでエラーとなるのか

Link

関連Gist

アクセス解析タグ

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment