トラブルシューティング#
問題:OpenCVに関するDLLまたは依存関係の問題#
Solution: Add the folder containing the OpenCV DLLs to your PATH environment variable.
See Adding OpenCV to PATH Environment Variable in the C++ Programmer's Guide.
Issue: opencv_core.so: cannot open shared object file.
Solution: Make sure OpenCV is properly installed and the library path is added to LD_LIBRARY_PATH.
Issue: opencv_core.so: cannot open shared object file.
Solution: Make sure OpenCV is properly installed and the library path is added to LD_LIBRARY_PATH.
問題:PCLに関するDLLまたは依存関係の問題#
Issue: The code execution cannot proceed because OpenNI2.dll was not found.
Solution: Download OpenNI2 and add the folder containing the OpenNI2.dll to your PATH environment variable.
Issue: OpenNI2.so: cannot open shared object file.
Solution: Install the required OpenNI2 library package.
Issue: OpenNI2.so: cannot open shared object file.
Solution: Install the required OpenNI2 library package.
問題:PCLでのCMake設定エラー(RelWithDebInfo)#
Issue: When compiling a program that uses PCL with cmake, an error message similar to Compiler: C++ compiler determination failed occurs.
Solution: When building PCL in the CMake GUI, use the Release configuration instead of RelWithDebInfo.
Issue: PCL compilation problems.
Solution: Use the libpcl-dev package instead of building from source.
Issue: PCL compilation problems.
Solution: Use the distribution's PCL package if available, or build from source with Release configuration.
問題:32ビットと64ビットのライブラリの混在#
現象:32ビットと64ビットのライブラリを混在させた際のリンカエラー。
対策:すべてのライブラリ(pylon、OpenCV、PCL)が、アプリケーションと同じアーキテクチャ(すべて32ビット、またはすべて64ビット)でコンパイルされていることを確認してください。
問題: デバッグモードでの低フレームレート#
問題: デバッグモードで実行している場合、リリースモードに比べてフレームレートが著しく低下します。
解決策: これは正常な動作です。パフォーマンスを向上させるには、リリースモードでコンパイルしてください。デバッグモードには追加のオーバーヘッドがあります。
問題: デバイスはすでに接続されていますエラー#
問題クラッシュまたは異常終了の後、アプリケーションは次のように報告するため、デバイスに接続できません。 Device already in use.
対策:
- pylonランタイムを再起動するか、システムを再起動してください。
- 別のプロセスがまだデバイスとの接続を保持していないか確認してください。