HKEY_CLASSES_ROOT\Directory\Background\shell\AnyCode
と
HKEY_CLASSES_ROOT\Directory\shell\AnyCode
を消したら消えた。
ffmpegをWindows10 64bitでデバッグビルド
msys2
msys2の64ビットをインストール。ここではmsys2-x86_64-20161025.exeをC:\local\msys64にインストールした。
必要なツール
以下のコマンドでインストール
1 2 |
$ pacman -S make pkg-config diffutils $ pacman -S mingw-w64-x86_64-yasm mingw-w64-x86_64-gcc mingw-w64-x86_64-SDL |
gitとソースをとってくる
1 2 |
$ pacman -S git $ git clone https://git.ffmpeg.org/ffmpeg.git ffmpeg |
デバッグビルド
configureにつけたおぷりょんは適当。
1 2 3 4 |
$ cd ffmpeg $ ./configure --enable-shared --disable-static --disable-optimizations --disable-mmx --disable-stripping $ make $ make install |
gdbでデバッグ
1 2 |
$ pacman -S gdb $ gdb --tui ffmpeg_g.exe |
Visual Studioのコマンドプロンプトの違い
Visual Studioのコマンドプロンプトにいろんな種類があったのでメモ。
基本的にはホストとターゲットの設定だと思われる。ホストの設定はどのコンパイラを使うか、ターゲットの設定は出来上がるEXEなどのプラットフォーム。
Developer Command Prompt for VS 2017
ホスト32ビット
ターゲット32ビット
デフォルト
x64 Native Tools Command Prompt for VS 2017
ホスト64ビット
ターゲット64ビット
x64_x86 Cross Tools Command Prompt for VS 2017
ホスト64ビット
ターゲット32ビット
x86 Native Tools Command Prompt for VS 2017
デフォルトとほぼ同じだと思われる
x86_x64 Cross Tools Command Prompt for VS 2017
ホスト32ビット
ターゲット64ビット