プロジェクト

全般

プロフィール

機能 #2064

新しいOpenCV-RTC群をmsiに含める

kurihara約13年前に追加. ほぼ9年前に更新.

ステータス:
終了
優先度:
今すぐ
担当者:
対象バージョン:
-
開始日:
2011/04/12
期日:
進捗率:

100%

予定工数:

説明

新しいOpenCV-RTC群をmsiに含める。

関係しているリビジョン

リビジョン 2098 (差分)
kuriharaほぼ13年前に追加

Correspondence to a bug of Wix3.5. refs #2064

リビジョン 2098 (差分)
kuriharaほぼ13年前に追加

Correspondence to a bug of Wix3.5. refs #2064

履歴

#1 n-andoほぼ13年前に更新

  • 対象バージョンRELEASE_1_1_0 にセット

#2 n-andoほぼ13年前に更新

  • 優先度通常 から 今すぐ に変更

#3 kuriharaほぼ13年前に更新

  • ステータス新規 から 担当 に変更
  • 進捗率0 から 90 に変更

ImageProcessing\opencv のビルド

ビルドエラー1

以下のエラーが発生。

2>c:\distribution\imageprocessing\opencv\components\ieee1394camera\IEEE1394Camera.h(15) :
 fatal error C1083: include ファイルを開けません。
'streams.h': No such file or directory


Visual C++ Express Edition 2008からは、Windows Platform SDKも同胞されるようになったが、Sampleなどは含まれていないため、
以下をインストール。

Microsoft® Windows® Software Development Kit Update for Windows Vista™
(http://www.microsoft.com/downloads/en/details.aspx?FamilyID=4377f86d-c913-4b5c-b87e-ef72e5b4e065&displaylang=en)

上記をインストール後、%windowssdkdir%\Samples\Multimedia\DirectShow\BaseClassesへのパスをインクルードパスに追加することで解決。

ビルドエラー2
1>IEEE1394Camera.cpp
1>C:\Program Files\Microsoft SDKs\Windows\v6.0\Samples\Multimedia\DirectShow\BaseClasses\wxutil.h(199) : warning C4312: '型キャスト' : 'LONG' からより大きいサイズの 'PVOID' へ変換します。
1>C:\Program Files\Microsoft SDKs\Windows\v6.0\include\qedit.h(498) : fatal error C1083: include ファイルを開けません。'dxtrans.h': No such file or directory
1>ビルドログは "file://c:\distribution\ImageProcessing\opencv\components\IEEE1394Camera\IEEE1394Camera\Release\BuildLog.htm" に保存されました。
1>IEEE1394Camera - エラー 1、警告 2
========== ビルド: 0 正常終了、1 失敗、0 更新不要、0 スキップ ==========

windowssdkdir\include\qedit.hの編集。

-----
// 注:最新SDKではDirectShowの仕様変更対応の為、qedit.hに以下の編集を行わ なければビルドできない。
// 498行目はライン全体のコメントアウト、その他はIDXEffect基底クラスから の派生を定義しない為のライン途中からのコメントアウト
// qedit.h 498: //#include "dxtrans.h" 
// qedit.h 837: IDxtCompositor //: public IDXEffect
// qedit.h 1151: IDxtAlphaSetter //: public IDXEffect
// qedit.h 1345: IDxtJpeg //: public IDXEffect
// qedit.h 1735: IDxtKey //: public IDXEffect
// 参考 http://social.msdn.microsoft.com/forums/en-US/windowssdk/thread/ed097d2c-3d68-4f48-8448-277eaaf68252/
-----
参考 http://blog.zamuu.net/2011/0322/visualstudio2008-vc-directshow/

リンク時エラー
1>C:\Program Files\OpenRTM-aist\1.1\coil/Logger.h(408) : warning C4244: '引数' : '__w64 int' から 'int' への変換です。データが失われる可能性があります。
1>C:\Program Files\OpenRTM-aist\1.1\coil/Logger.h(409) : warning C4244: '引数' : '__w64 int' から 'int' への変換です。データが失われる可能性があります。
1>リンクしています...
1>LINK : fatal error LNK1181: 入力ファイル 'strmbase.lib' を開けません。
1>ビルドログは "file://c:\distribution\ImageProcessing\opencv\components\IEEE1394Camera\IEEE1394Camera\Release\BuildLog.htm" に保存されました。
1>IEEE1394Camera - エラー 1、警告 69
========== ビルド: 0 正常終了、1 失敗、0 更新不要、0 スキップ ==========

windowssdkdir\Samples\Multimedia\DirectShow\BaseClasses
にてRelease版をビルド後、Releaseフォルダ内のstrmbase.libをBaseClassesフォルダにコピー。

インストーラ作成時には、C:\distributionフォルダに、ImageProcessingとOpenCV2.1を予め準備しておく必要がある。

r2083 にてインストーラ作成し、動作確認済み。(VS2010は未対応。)

#4 kuriharaほぼ13年前に更新

OpenCVCameraCompのフレームレートの問題

講習会用ELECOM製の白いカメラ(UCAM-DLM130HWH)では、ポート接続に関わらず、フレームレートが約6FPSしかでない。
LogicoolのQcam® Orbit AFを使用すると約30FPS程でている。

#5 kuriharaほぼ13年前に更新

OpenRTM-aist-1.1.0.msi作成時のエラー(autobuild_vc9.bat実行時)
C:\delivery\Dev\wix35_public\src\ext\UIExtension\wixlib\ResumeDlg.wxs(18) : erro
r LGHT0197 : The Windows Installer XML variable !(wix.WixUICostingPopupOptOut) i
s unknown.  Please ensure the variable is declared on the command line for light
.exe, via a WixVariable element, or inline using the syntax !(wix.WixUICostingPo
pupOptOut=some value which doesn't contain parenthesis).

OpenRTM-aist.wxsファイルの"WixVariable"の行の下に以下を追加することで回避。

<WixVariable Id="WixUICostingPopupOptOut" Value="1" Overridable="yes" />

<参考>
http://www.mail-archive.com/wix-users@lists.sourceforge.net/msg40888.html
http://www.joyofsetup.com/2010/05/28/experimental-results-part-i/

#6 n-andoほぼ13年前に更新

  • ステータス担当 から 終了 に変更
  • 進捗率90 から 100 に変更

#7 n-andoほぼ9年前に更新

  • 対象バージョン を削除 (RELEASE_1_1_0)

他の形式にエクスポート: Atom PDF