Detecting C compiler ABI info
CMake Error: Could not COPY_FILE.
OutputFile: ''
copyFile: 'C:/.../projects/ogre/CMakeFiles/CMakeDetermineCompilerABI_C.bin'
Unable to find executable for try_compile: tried
CMake Error: Could not COPY_FILE.
OutputFile: ''
copyFile: 'C:/.../projects/ogre/CMakeFiles/CMakeDetermineCompilerABI_C.bin'
Unable to find executable for try_compile: tried
以下同様のエラーが延々と。Visual Studio 2008 の時はこんなエラー出なかったはず…。とりあえずググってみたところ、Ogre のフォーラムで解決策があったのでメモ:
Ogre のソースのルートにある CMakeLists.txt というファイルをテキストエディタで開き、「# determine system endianess」と書いてある行を探します。 ogre_src_v1-7-1 の場合 138 行目あたりにあります。
で、そこにある次のような行を
# determine system endianessinclude(TestBigEndian)test_big_endian(OGRE_TEST_BIG_ENDIAN)
次のように変更します。
# determine system endianess#include(TestBigEndian)#test_big_endian(OGRE_TEST_BIG_ENDIAN)set(OGRE_TEST_BIG_ENDIAN FALSE)
これで問題なく CMake が通りました。
0 件のコメント:
コメントを投稿