Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v2.2.0-pre1がVisual Studio 2013でコンパイルできない。 #28

Open
raccy opened this issue May 5, 2017 · 3 comments
Open

v2.2.0-pre1がVisual Studio 2013でコンパイルできない。 #28

raccy opened this issue May 5, 2017 · 3 comments

Comments

@raccy
Copy link
Owner

raccy commented May 5, 2017

VS2013が対応していないC++11の機能でコンパイル時に引っかかりまくりのようです。C++11が中途半端なVS2013については、サポートしない方針にしたいかと思っています。

暫定的な方針

  • OBS Studioと一緒にコンパイル -> VS2015とVS2017のみサポートする。
  • OBS Studioと別にコンパイル -> MSYS2環境でmingw-w64のGCCを使うようにする。

配布物のOBS Studioは現在VS2013でコンパイルされており、プラグインをVS2015でコンパイルするとランタイム必須になります。対応をteratailで質問したけど、静的リンクぐらいしか方法がない模様で、なんともしがたい。いっそ、MSYS2環境で作った方がツールも統一できるのではと考えています。

@raccy
Copy link
Owner Author

raccy commented Jul 25, 2017

2.2.0-pre2で別コンパイルはMSYS2+mingw-w64に切り替えました。

VS2015でOBS Studioと一緒にコンパイルは試していませんが、日本語の部分は除いたので、コンパイルできるかなと思っています。そのうち試します。

@shousa
Copy link
Contributor

shousa commented Jul 30, 2017

VS2015でのOBS-Studioとの同時ビルドは、
日本語コメントの影響が無くなったため、
ビルドエラーにはならなくなりました。

@shousa
Copy link
Contributor

shousa commented Jul 30, 2017

同時ビルドの実行環境は、以下の通りです。
32-bit: threads=win32, exceptions=dwarf
64-bit: threads=win32, exceptions=seh
mingw-w64で、今回のビルドではmsys2は使用していないです。
(一応msys2用の環境も過去に作成したものが別途用意してありますが・・・)

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

No branches or pull requests

2 participants