01647

ustreamer-01647

NetBeans IDE 7.4でOpenCV 2.4.8を,MinGW環境にて利用する方法を後で書く - 01647

  • 色々やっていたらsh.exeが消えていた
    • mingw-get-setup.exe 再実行で何とかした
  • mingw-get-setup.exe のテキストが意味不明
  • 再セットアップ方法が分からなくて,mingw-get-setup.exe再実行を繰り返していた
    • MinGW Installation ManagerはD:\software\MinGW\libexec\mingw-get\guimain.exe
  • トラブル続きでお腹が痛くなった
  • 試行錯誤の過程でcmakeを更新した.その時の問題とは関係無かった
  • makeとmingw32-makeが別物
  • Unixの習慣が分からなくてお腹が痛くなった
  • g++に渡すパラメータなんて知らない
    • 「-I」にパスを続けて,当該フォルダをインクルードファイル検索パスに追加
    • 「-L」に~~ライブラリ~~
    • 「-l」にファイル名を続けて,リンクするライブラリファイルを指定.ファイル名を指定するのではなく,先頭「lib」末尾「.a」を抜く
  • NetBeans IDE 7.4氏が生成するMakefileの触り方が分からない
>make --version
GNU Make 3.81
Copyright (C) 2006  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

This program built for i686-pc-msys


>mingw32-make --version
GNU Make 3.82.90
Built for i686-pc-mingw32
Copyright (C) 1988-2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.