Cmake で Openscenegraph 3.0.1 をセットアップしようとしています。さまざまなブログ記事を読みましたが、うまくいきません。
パスを設定し、[コンパイル] をクリックして VS11 を選択し (VS 2012 を使用しているため)、ネイティブ コンパイラを使用します。
次に、このエラーを直接受け取ります。
CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules CMakeCInformation.cmake:37 (get_filename_component):
get_filename_component called with incorrect number of arguments
Call Stack (most recent call first):
CMakeLists.txt:3 (PROJECT)
CMake Error: Internal CMake error, TryCompile configure of cmake failed
Looking for include file pthread.h - not found
また、同じスタック トレースでより多くのエラーが発生します。必要に応じて、ここに貼り付けることもできます。
その後、CMake から「構成プロセスでエラーが発生しました。プロジェクト ファイルが無効である可能性があります」と表示されます。