Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
自作でSnow LeopardにopenCVをインストールしました。実行しようとしているすべての opencv プログラムで、必要なヘッダー ファイルが見つかりません。
ヘッダー ファイルのパスを定義する必要があることを理解しています。どうすればいいですか?
pkg-configを使用して、作業を簡単にします。
g++ test.cpp -o test `pkg-config --cflags --libs opencv`