LoginSignup
1
1

More than 5 years have passed since last update.

wxWidgets-3.0.2をwindowsでnmakeを用いでビルドしたら詰まったのでメモ

Posted at

症状

wxWidgets-3.0.2をビルドしたら

error
fatal error C1083: Cannot open include file: 'stdio.h': No such file or directory

となってしまった

対処法

google先生に聞いたら、どうやらパスが通ってないらしい...
とりあえず、載っていた方法で試してみた

事前に Visual Stadio 2013 をインストール

参考サイト
https://ask.wireshark.org/questions/34755/compilation-error-cannot-open-include-file-stdioh-no-such-file-or-directory

環境変数に

Include=C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include;C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\Include;C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\Include\gl

を追加した

次に、

cd wxWidgets/build/msw
nmake /f makefile.vc

これで動いた!

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1