[Solved][2.1] CMake doesn't recognize ogre_add_executable

Problems building or running the engine, queries about how to use features etc.
Post Reply
berylliumquestion
Gnoblar
Posts: 4
Joined: Wed May 23, 2018 7:44 pm

[Solved][2.1] CMake doesn't recognize ogre_add_executable

Post by berylliumquestion » Sun Jun 24, 2018 4:02 am

Ogre Version: 2.1
Operating System: Arch Linux
Render System: OpenGL 3

Any time I try to compile any of the numbered tutorials, 01 through 06, I always get the same message from CMake. It says it doesn't recognize what ogre_add_executable is. Haven't checked the others yet, but I have a feeling that if CMake doesn't know what that command is I don't think I'm going to get very far.

Here's the terminal output when I try to compile the first tutorial. All of the other ones essentially say the same thing because they get stuck at ogre_add_executable.

Code: Select all

-- The C compiler identification is GNU 8.1.0
-- The CXX compiler identification is GNU 8.1.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at CMakeLists.txt:27 (ogre_add_executable):
  Unknown CMake command "ogre_add_executable".


-- Configuring incomplete, errors occurred!
See also "/home/beryllium/ogre/Samples/2.0/Tutorials/Tutorial01_Initialization/build/CMakeFiles/CMakeOutput.log".
Here's the output from CMakeOutput.log

Code: Select all

The system is: Linux - 4.16.9-1-ARCH - x86_64
Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded.
Compiler: /usr/bin/cc 
Build flags: 
Id flags:  

The output was:
0


Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "a.out"

The C compiler identification is GNU, found in "/home/beryllium/ogre/Samples/2.0/Tutorials/Tutorial01_Initialization/build/CMakeFiles/3.11.1/CompilerIdC/a.out"

Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded.
Compiler: /usr/bin/c++ 
Build flags: 
Id flags:  

The output was:
0


Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "a.out"

The CXX compiler identification is GNU, found in "/home/beryllium/ogre/Samples/2.0/Tutorials/Tutorial01_Initialization/build/CMakeFiles/3.11.1/CompilerIdCXX/a.out"

Determining if the C compiler works passed with the following output:
Change Dir: /home/beryllium/ogre/Samples/2.0/Tutorials/Tutorial01_Initialization/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_b39dd/fast"
/usr/bin/make -f CMakeFiles/cmTC_b39dd.dir/build.make CMakeFiles/cmTC_b39dd.dir/build
make[1]: Entering directory '/home/beryllium/ogre/Samples/2.0/Tutorials/Tutorial01_Initialization/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_b39dd.dir/testCCompiler.c.o
/usr/bin/cc    -o CMakeFiles/cmTC_b39dd.dir/testCCompiler.c.o   -c /home/beryllium/ogre/Samples/2.0/Tutorials/Tutorial01_Initialization/build/CMakeFiles/CMakeTmp/testCCompiler.c
Linking C executable cmTC_b39dd
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_b39dd.dir/link.txt --verbose=1
/usr/bin/cc      -rdynamic CMakeFiles/cmTC_b39dd.dir/testCCompiler.c.o  -o cmTC_b39dd 
make[1]: Leaving directory '/home/beryllium/ogre/Samples/2.0/Tutorials/Tutorial01_Initialization/build/CMakeFiles/CMakeTmp'


Detecting C compiler ABI info compiled with the following output:
Change Dir: /home/beryllium/ogre/Samples/2.0/Tutorials/Tutorial01_Initialization/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_0ad4a/fast"
/usr/bin/make -f CMakeFiles/cmTC_0ad4a.dir/build.make CMakeFiles/cmTC_0ad4a.dir/build
make[1]: Entering directory '/home/beryllium/ogre/Samples/2.0/Tutorials/Tutorial01_Initialization/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_0ad4a.dir/CMakeCCompilerABI.c.o
/usr/bin/cc    -o CMakeFiles/cmTC_0ad4a.dir/CMakeCCompilerABI.c.o   -c /usr/share/cmake-3.11/Modules/CMakeCCompilerABI.c
Linking C executable cmTC_0ad4a
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_0ad4a.dir/link.txt --verbose=1
/usr/bin/cc     -v -rdynamic CMakeFiles/cmTC_0ad4a.dir/CMakeCCompilerABI.c.o  -o cmTC_0ad4a 
Using built-in specs.
COLLECT_GCC=/usr/bin/cc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /build/gcc/src/gcc/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=posix --enable-libmpx --with-system-zlib --with-isl --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch --disable-libssp --enable-gnu-unique-object --enable-linker-build-id --enable-lto --enable-plugin --enable-install-libiberty --with-linker-hash-style=gnu --enable-gnu-indirect-function --enable-multilib --disable-werror --enable-checking=release --enable-default-pie --enable-default-ssp
Thread model: posix
gcc version 8.1.0 (GCC) 
COMPILER_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/:/usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/
LIBRARY_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0/../../../../lib/:/lib/../lib/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0/../../../:/lib/:/usr/lib/
COLLECT_GCC_OPTIONS='-v' '-rdynamic' '-o' 'cmTC_0ad4a' '-mtune=generic' '-march=x86-64'
 /usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0/collect2 -plugin /usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0/lto-wrapper -plugin-opt=-fresolution=/tmp/ccKHaS4f.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --build-id --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -o cmTC_0ad4a /usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0/../../../../lib/Scrt1.o /usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0/../../../../lib/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0/crtbeginS.o -L/usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0 -L/usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0/../../.. CMakeFiles/cmTC_0ad4a.dir/CMakeCCompilerABI.c.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0/../../../../lib/crtn.o
COLLECT_GCC_OPTIONS='-v' '-rdynamic' '-o' 'cmTC_0ad4a' '-mtune=generic' '-march=x86-64'
make[1]: Leaving directory '/home/beryllium/ogre/Samples/2.0/Tutorials/Tutorial01_Initialization/build/CMakeFiles/CMakeTmp'


Parsed C implicit link information from above output:
  link line regex: [^( *|.*[/\])(ld|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\]+-)?ld|collect2)[^/\]*( |$)]
  ignore line: [Change Dir: /home/beryllium/ogre/Samples/2.0/Tutorials/Tutorial01_Initialization/build/CMakeFiles/CMakeTmp]
  ignore line: []
  ignore line: [Run Build Command:"/usr/bin/make" "cmTC_0ad4a/fast"]
  ignore line: [/usr/bin/make -f CMakeFiles/cmTC_0ad4a.dir/build.make CMakeFiles/cmTC_0ad4a.dir/build]
  ignore line: [make[1]: Entering directory '/home/beryllium/ogre/Samples/2.0/Tutorials/Tutorial01_Initialization/build/CMakeFiles/CMakeTmp']
  ignore line: [Building C object CMakeFiles/cmTC_0ad4a.dir/CMakeCCompilerABI.c.o]
  ignore line: [/usr/bin/cc    -o CMakeFiles/cmTC_0ad4a.dir/CMakeCCompilerABI.c.o   -c /usr/share/cmake-3.11/Modules/CMakeCCompilerABI.c]
  ignore line: [Linking C executable cmTC_0ad4a]
  ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_0ad4a.dir/link.txt --verbose=1]
  ignore line: [/usr/bin/cc     -v -rdynamic CMakeFiles/cmTC_0ad4a.dir/CMakeCCompilerABI.c.o  -o cmTC_0ad4a ]
  ignore line: [Using built-in specs.]
  ignore line: [COLLECT_GCC=/usr/bin/cc]
  ignore line: [COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0/lto-wrapper]
  ignore line: [Target: x86_64-pc-linux-gnu]
  ignore line: [Configured with: /build/gcc/src/gcc/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=posix --enable-libmpx --with-system-zlib --with-isl --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch --disable-libssp --enable-gnu-unique-object --enable-linker-build-id --enable-lto --enable-plugin --enable-install-libiberty --with-linker-hash-style=gnu --enable-gnu-indirect-function --enable-multilib --disable-werror --enable-checking=release --enable-default-pie --enable-default-ssp]
  ignore line: [Thread model: posix]
  ignore line: [gcc version 8.1.0 (GCC) ]
  ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/:/usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/]
  ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0/../../../../lib/:/lib/../lib/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0/../../../:/lib/:/usr/lib/]
  ignore line: [COLLECT_GCC_OPTIONS='-v' '-rdynamic' '-o' 'cmTC_0ad4a' '-mtune=generic' '-march=x86-64']
  link line: [ /usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0/collect2 -plugin /usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0/lto-wrapper -plugin-opt=-fresolution=/tmp/ccKHaS4f.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --build-id --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -o cmTC_0ad4a /usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0/../../../../lib/Scrt1.o /usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0/../../../../lib/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0/crtbeginS.o -L/usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0 -L/usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0/../../.. CMakeFiles/cmTC_0ad4a.dir/CMakeCCompilerABI.c.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0/../../../../lib/crtn.o]
    arg [/usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0/collect2] ==> ignore
    arg [-plugin] ==> ignore
    arg [/usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0/liblto_plugin.so] ==> ignore
    arg [-plugin-opt=/usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0/lto-wrapper] ==> ignore
    arg [-plugin-opt=-fresolution=/tmp/ccKHaS4f.res] ==> ignore
    arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
    arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
    arg [-plugin-opt=-pass-through=-lc] ==> ignore
    arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
    arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
    arg [--build-id] ==> ignore
    arg [--eh-frame-hdr] ==> ignore
    arg [--hash-style=gnu] ==> ignore
    arg [-m] ==> ignore
    arg [elf_x86_64] ==> ignore
    arg [-export-dynamic] ==> ignore
    arg [-dynamic-linker] ==> ignore
    arg [/lib64/ld-linux-x86-64.so.2] ==> ignore
    arg [-pie] ==> ignore
    arg [-o] ==> ignore
    arg [cmTC_0ad4a] ==> ignore
    arg [/usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0/../../../../lib/Scrt1.o] ==> ignore
    arg [/usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0/../../../../lib/crti.o] ==> ignore
    arg [/usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0/crtbeginS.o] ==> ignore
    arg [-L/usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0] ==> dir [/usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0]
    arg [-L/usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0/../../../../lib] ==> dir [/usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0/../../../../lib]
    arg [-L/lib/../lib] ==> dir [/lib/../lib]
    arg [-L/usr/lib/../lib] ==> dir [/usr/lib/../lib]
    arg [-L/usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0/../../..] ==> dir [/usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0/../../..]
    arg [CMakeFiles/cmTC_0ad4a.dir/CMakeCCompilerABI.c.o] ==> ignore
    arg [-lgcc] ==> lib [gcc]
    arg [--as-needed] ==> ignore
    arg [-lgcc_s] ==> lib [gcc_s]
    arg [--no-as-needed] ==> ignore
    arg [-lc] ==> lib [c]
    arg [-lgcc] ==> lib [gcc]
    arg [--as-needed] ==> ignore
    arg [-lgcc_s] ==> lib [gcc_s]
    arg [--no-as-needed] ==> ignore
    arg [/usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0/crtendS.o] ==> ignore
    arg [/usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0/../../../../lib/crtn.o] ==> ignore
  collapse library dir [/usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0] ==> [/usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0]
  collapse library dir [/usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0/../../../../lib] ==> [/usr/lib]
  collapse library dir [/lib/../lib] ==> [/lib]
  collapse library dir [/usr/lib/../lib] ==> [/usr/lib]
  collapse library dir [/usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0/../../..] ==> [/usr/lib]
  implicit libs: [gcc;gcc_s;c;gcc;gcc_s]
  implicit dirs: [/usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0;/usr/lib;/lib]
  implicit fwks: []




Detecting C [-std=c11] compiler features compiled with the following output:
Change Dir: /home/beryllium/ogre/Samples/2.0/Tutorials/Tutorial01_Initialization/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_88784/fast"
/usr/bin/make -f CMakeFiles/cmTC_88784.dir/build.make CMakeFiles/cmTC_88784.dir/build
make[1]: Entering directory '/home/beryllium/ogre/Samples/2.0/Tutorials/Tutorial01_Initialization/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_88784.dir/feature_tests.c.o
/usr/bin/cc   -std=c11 -o CMakeFiles/cmTC_88784.dir/feature_tests.c.o   -c /home/beryllium/ogre/Samples/2.0/Tutorials/Tutorial01_Initialization/build/CMakeFiles/feature_tests.c
Linking C executable cmTC_88784
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_88784.dir/link.txt --verbose=1
/usr/bin/cc      -rdynamic CMakeFiles/cmTC_88784.dir/feature_tests.c.o  -o cmTC_88784 
make[1]: Leaving directory '/home/beryllium/ogre/Samples/2.0/Tutorials/Tutorial01_Initialization/build/CMakeFiles/CMakeTmp'


    Feature record: C_FEATURE:1c_function_prototypes
    Feature record: C_FEATURE:1c_restrict
    Feature record: C_FEATURE:1c_static_assert
    Feature record: C_FEATURE:1c_variadic_macros


Detecting C [-std=c99] compiler features compiled with the following output:
Change Dir: /home/beryllium/ogre/Samples/2.0/Tutorials/Tutorial01_Initialization/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_69bea/fast"
/usr/bin/make -f CMakeFiles/cmTC_69bea.dir/build.make CMakeFiles/cmTC_69bea.dir/build
make[1]: Entering directory '/home/beryllium/ogre/Samples/2.0/Tutorials/Tutorial01_Initialization/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_69bea.dir/feature_tests.c.o
/usr/bin/cc   -std=c99 -o CMakeFiles/cmTC_69bea.dir/feature_tests.c.o   -c /home/beryllium/ogre/Samples/2.0/Tutorials/Tutorial01_Initialization/build/CMakeFiles/feature_tests.c
Linking C executable cmTC_69bea
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_69bea.dir/link.txt --verbose=1
/usr/bin/cc      -rdynamic CMakeFiles/cmTC_69bea.dir/feature_tests.c.o  -o cmTC_69bea 
make[1]: Leaving directory '/home/beryllium/ogre/Samples/2.0/Tutorials/Tutorial01_Initialization/build/CMakeFiles/CMakeTmp'


    Feature record: C_FEATURE:1c_function_prototypes
    Feature record: C_FEATURE:1c_restrict
    Feature record: C_FEATURE:0c_static_assert
    Feature record: C_FEATURE:1c_variadic_macros


Detecting C [-std=c90] compiler features compiled with the following output:
Change Dir: /home/beryllium/ogre/Samples/2.0/Tutorials/Tutorial01_Initialization/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_40c3a/fast"
/usr/bin/make -f CMakeFiles/cmTC_40c3a.dir/build.make CMakeFiles/cmTC_40c3a.dir/build
make[1]: Entering directory '/home/beryllium/ogre/Samples/2.0/Tutorials/Tutorial01_Initialization/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_40c3a.dir/feature_tests.c.o
/usr/bin/cc   -std=c90 -o CMakeFiles/cmTC_40c3a.dir/feature_tests.c.o   -c /home/beryllium/ogre/Samples/2.0/Tutorials/Tutorial01_Initialization/build/CMakeFiles/feature_tests.c
Linking C executable cmTC_40c3a
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_40c3a.dir/link.txt --verbose=1
/usr/bin/cc      -rdynamic CMakeFiles/cmTC_40c3a.dir/feature_tests.c.o  -o cmTC_40c3a 
make[1]: Leaving directory '/home/beryllium/ogre/Samples/2.0/Tutorials/Tutorial01_Initialization/build/CMakeFiles/CMakeTmp'


    Feature record: C_FEATURE:1c_function_prototypes
    Feature record: C_FEATURE:0c_restrict
    Feature record: C_FEATURE:0c_static_assert
    Feature record: C_FEATURE:0c_variadic_macros
Determining if the CXX compiler works passed with the following output:
Change Dir: /home/beryllium/ogre/Samples/2.0/Tutorials/Tutorial01_Initialization/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_1d468/fast"
/usr/bin/make -f CMakeFiles/cmTC_1d468.dir/build.make CMakeFiles/cmTC_1d468.dir/build
make[1]: Entering directory '/home/beryllium/ogre/Samples/2.0/Tutorials/Tutorial01_Initialization/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_1d468.dir/testCXXCompiler.cxx.o
/usr/bin/c++     -o CMakeFiles/cmTC_1d468.dir/testCXXCompiler.cxx.o -c /home/beryllium/ogre/Samples/2.0/Tutorials/Tutorial01_Initialization/build/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
Linking CXX executable cmTC_1d468
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_1d468.dir/link.txt --verbose=1
/usr/bin/c++       -rdynamic CMakeFiles/cmTC_1d468.dir/testCXXCompiler.cxx.o  -o cmTC_1d468 
make[1]: Leaving directory '/home/beryllium/ogre/Samples/2.0/Tutorials/Tutorial01_Initialization/build/CMakeFiles/CMakeTmp'


Detecting CXX compiler ABI info compiled with the following output:
Change Dir: /home/beryllium/ogre/Samples/2.0/Tutorials/Tutorial01_Initialization/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_d157c/fast"
/usr/bin/make -f CMakeFiles/cmTC_d157c.dir/build.make CMakeFiles/cmTC_d157c.dir/build
make[1]: Entering directory '/home/beryllium/ogre/Samples/2.0/Tutorials/Tutorial01_Initialization/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_d157c.dir/CMakeCXXCompilerABI.cpp.o
/usr/bin/c++     -o CMakeFiles/cmTC_d157c.dir/CMakeCXXCompilerABI.cpp.o -c /usr/share/cmake-3.11/Modules/CMakeCXXCompilerABI.cpp
Linking CXX executable cmTC_d157c
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_d157c.dir/link.txt --verbose=1
/usr/bin/c++      -v -rdynamic CMakeFiles/cmTC_d157c.dir/CMakeCXXCompilerABI.cpp.o  -o cmTC_d157c 
Using built-in specs.
COLLECT_GCC=/usr/bin/c++
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /build/gcc/src/gcc/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=posix --enable-libmpx --with-system-zlib --with-isl --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch --disable-libssp --enable-gnu-unique-object --enable-linker-build-id --enable-lto --enable-plugin --enable-install-libiberty --with-linker-hash-style=gnu --enable-gnu-indirect-function --enable-multilib --disable-werror --enable-checking=release --enable-default-pie --enable-default-ssp
Thread model: posix
gcc version 8.1.0 (GCC) 
COMPILER_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/:/usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/
LIBRARY_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0/../../../../lib/:/lib/../lib/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0/../../../:/lib/:/usr/lib/
COLLECT_GCC_OPTIONS='-v' '-rdynamic' '-o' 'cmTC_d157c' '-shared-libgcc' '-mtune=generic' '-march=x86-64'
 /usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0/collect2 -plugin /usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0/lto-wrapper -plugin-opt=-fresolution=/tmp/ccvngGoD.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --build-id --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -o cmTC_d157c /usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0/../../../../lib/Scrt1.o /usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0/../../../../lib/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0/crtbeginS.o -L/usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0 -L/usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0/../../.. CMakeFiles/cmTC_d157c.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0/../../../../lib/crtn.o
COLLECT_GCC_OPTIONS='-v' '-rdynamic' '-o' 'cmTC_d157c' '-shared-libgcc' '-mtune=generic' '-march=x86-64'
make[1]: Leaving directory '/home/beryllium/ogre/Samples/2.0/Tutorials/Tutorial01_Initialization/build/CMakeFiles/CMakeTmp'


Parsed CXX implicit link information from above output:
  link line regex: [^( *|.*[/\])(ld|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\]+-)?ld|collect2)[^/\]*( |$)]
  ignore line: [Change Dir: /home/beryllium/ogre/Samples/2.0/Tutorials/Tutorial01_Initialization/build/CMakeFiles/CMakeTmp]
  ignore line: []
  ignore line: [Run Build Command:"/usr/bin/make" "cmTC_d157c/fast"]
  ignore line: [/usr/bin/make -f CMakeFiles/cmTC_d157c.dir/build.make CMakeFiles/cmTC_d157c.dir/build]
  ignore line: [make[1]: Entering directory '/home/beryllium/ogre/Samples/2.0/Tutorials/Tutorial01_Initialization/build/CMakeFiles/CMakeTmp']
  ignore line: [Building CXX object CMakeFiles/cmTC_d157c.dir/CMakeCXXCompilerABI.cpp.o]
  ignore line: [/usr/bin/c++     -o CMakeFiles/cmTC_d157c.dir/CMakeCXXCompilerABI.cpp.o -c /usr/share/cmake-3.11/Modules/CMakeCXXCompilerABI.cpp]
  ignore line: [Linking CXX executable cmTC_d157c]
  ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_d157c.dir/link.txt --verbose=1]
  ignore line: [/usr/bin/c++      -v -rdynamic CMakeFiles/cmTC_d157c.dir/CMakeCXXCompilerABI.cpp.o  -o cmTC_d157c ]
  ignore line: [Using built-in specs.]
  ignore line: [COLLECT_GCC=/usr/bin/c++]
  ignore line: [COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0/lto-wrapper]
  ignore line: [Target: x86_64-pc-linux-gnu]
  ignore line: [Configured with: /build/gcc/src/gcc/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=posix --enable-libmpx --with-system-zlib --with-isl --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch --disable-libssp --enable-gnu-unique-object --enable-linker-build-id --enable-lto --enable-plugin --enable-install-libiberty --with-linker-hash-style=gnu --enable-gnu-indirect-function --enable-multilib --disable-werror --enable-checking=release --enable-default-pie --enable-default-ssp]
  ignore line: [Thread model: posix]
  ignore line: [gcc version 8.1.0 (GCC) ]
  ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/:/usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/]
  ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0/../../../../lib/:/lib/../lib/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0/../../../:/lib/:/usr/lib/]
  ignore line: [COLLECT_GCC_OPTIONS='-v' '-rdynamic' '-o' 'cmTC_d157c' '-shared-libgcc' '-mtune=generic' '-march=x86-64']
  link line: [ /usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0/collect2 -plugin /usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0/lto-wrapper -plugin-opt=-fresolution=/tmp/ccvngGoD.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --build-id --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -o cmTC_d157c /usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0/../../../../lib/Scrt1.o /usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0/../../../../lib/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0/crtbeginS.o -L/usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0 -L/usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0/../../.. CMakeFiles/cmTC_d157c.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0/../../../../lib/crtn.o]
    arg [/usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0/collect2] ==> ignore
    arg [-plugin] ==> ignore
    arg [/usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0/liblto_plugin.so] ==> ignore
    arg [-plugin-opt=/usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0/lto-wrapper] ==> ignore
    arg [-plugin-opt=-fresolution=/tmp/ccvngGoD.res] ==> ignore
    arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
    arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
    arg [-plugin-opt=-pass-through=-lc] ==> ignore
    arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
    arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
    arg [--build-id] ==> ignore
    arg [--eh-frame-hdr] ==> ignore
    arg [--hash-style=gnu] ==> ignore
    arg [-m] ==> ignore
    arg [elf_x86_64] ==> ignore
    arg [-export-dynamic] ==> ignore
    arg [-dynamic-linker] ==> ignore
    arg [/lib64/ld-linux-x86-64.so.2] ==> ignore
    arg [-pie] ==> ignore
    arg [-o] ==> ignore
    arg [cmTC_d157c] ==> ignore
    arg [/usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0/../../../../lib/Scrt1.o] ==> ignore
    arg [/usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0/../../../../lib/crti.o] ==> ignore
    arg [/usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0/crtbeginS.o] ==> ignore
    arg [-L/usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0] ==> dir [/usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0]
    arg [-L/usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0/../../../../lib] ==> dir [/usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0/../../../../lib]
    arg [-L/lib/../lib] ==> dir [/lib/../lib]
    arg [-L/usr/lib/../lib] ==> dir [/usr/lib/../lib]
    arg [-L/usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0/../../..] ==> dir [/usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0/../../..]
    arg [CMakeFiles/cmTC_d157c.dir/CMakeCXXCompilerABI.cpp.o] ==> ignore
    arg [-lstdc++] ==> lib [stdc++]
    arg [-lm] ==> lib [m]
    arg [-lgcc_s] ==> lib [gcc_s]
    arg [-lgcc] ==> lib [gcc]
    arg [-lc] ==> lib [c]
    arg [-lgcc_s] ==> lib [gcc_s]
    arg [-lgcc] ==> lib [gcc]
    arg [/usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0/crtendS.o] ==> ignore
    arg [/usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0/../../../../lib/crtn.o] ==> ignore
  collapse library dir [/usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0] ==> [/usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0]
  collapse library dir [/usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0/../../../../lib] ==> [/usr/lib]
  collapse library dir [/lib/../lib] ==> [/lib]
  collapse library dir [/usr/lib/../lib] ==> [/usr/lib]
  collapse library dir [/usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0/../../..] ==> [/usr/lib]
  implicit libs: [stdc++;m;gcc_s;gcc;c;gcc_s;gcc]
  implicit dirs: [/usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0;/usr/lib;/lib]
  implicit fwks: []




Detecting CXX [-std=c++1z] compiler features compiled with the following output:
Change Dir: /home/beryllium/ogre/Samples/2.0/Tutorials/Tutorial01_Initialization/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_56389/fast"
/usr/bin/make -f CMakeFiles/cmTC_56389.dir/build.make CMakeFiles/cmTC_56389.dir/build
make[1]: Entering directory '/home/beryllium/ogre/Samples/2.0/Tutorials/Tutorial01_Initialization/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_56389.dir/feature_tests.cxx.o
/usr/bin/c++    -std=c++1z -o CMakeFiles/cmTC_56389.dir/feature_tests.cxx.o -c /home/beryllium/ogre/Samples/2.0/Tutorials/Tutorial01_Initialization/build/CMakeFiles/feature_tests.cxx
Linking CXX executable cmTC_56389
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_56389.dir/link.txt --verbose=1
/usr/bin/c++       -rdynamic CMakeFiles/cmTC_56389.dir/feature_tests.cxx.o  -o cmTC_56389 
make[1]: Leaving directory '/home/beryllium/ogre/Samples/2.0/Tutorials/Tutorial01_Initialization/build/CMakeFiles/CMakeTmp'


    Feature record: CXX_FEATURE:1cxx_aggregate_default_initializers
    Feature record: CXX_FEATURE:1cxx_alias_templates
    Feature record: CXX_FEATURE:1cxx_alignas
    Feature record: CXX_FEATURE:1cxx_alignof
    Feature record: CXX_FEATURE:1cxx_attributes
    Feature record: CXX_FEATURE:1cxx_attribute_deprecated
    Feature record: CXX_FEATURE:1cxx_auto_type
    Feature record: CXX_FEATURE:1cxx_binary_literals
    Feature record: CXX_FEATURE:1cxx_constexpr
    Feature record: CXX_FEATURE:1cxx_contextual_conversions
    Feature record: CXX_FEATURE:1cxx_decltype
    Feature record: CXX_FEATURE:1cxx_decltype_auto
    Feature record: CXX_FEATURE:1cxx_decltype_incomplete_return_types
    Feature record: CXX_FEATURE:1cxx_default_function_template_args
    Feature record: CXX_FEATURE:1cxx_defaulted_functions
    Feature record: CXX_FEATURE:1cxx_defaulted_move_initializers
    Feature record: CXX_FEATURE:1cxx_delegating_constructors
    Feature record: CXX_FEATURE:1cxx_deleted_functions
    Feature record: CXX_FEATURE:1cxx_digit_separators
    Feature record: CXX_FEATURE:1cxx_enum_forward_declarations
    Feature record: CXX_FEATURE:1cxx_explicit_conversions
    Feature record: CXX_FEATURE:1cxx_extended_friend_declarations
    Feature record: CXX_FEATURE:1cxx_extern_templates
    Feature record: CXX_FEATURE:1cxx_final
    Feature record: CXX_FEATURE:1cxx_func_identifier
    Feature record: CXX_FEATURE:1cxx_generalized_initializers
    Feature record: CXX_FEATURE:1cxx_generic_lambdas
    Feature record: CXX_FEATURE:1cxx_inheriting_constructors
    Feature record: CXX_FEATURE:1cxx_inline_namespaces
    Feature record: CXX_FEATURE:1cxx_lambdas
    Feature record: CXX_FEATURE:1cxx_lambda_init_captures
    Feature record: CXX_FEATURE:1cxx_local_type_template_args
    Feature record: CXX_FEATURE:1cxx_long_long_type
    Feature record: CXX_FEATURE:1cxx_noexcept
    Feature record: CXX_FEATURE:1cxx_nonstatic_member_init
    Feature record: CXX_FEATURE:1cxx_nullptr
    Feature record: CXX_FEATURE:1cxx_override
    Feature record: CXX_FEATURE:1cxx_range_for
    Feature record: CXX_FEATURE:1cxx_raw_string_literals
    Feature record: CXX_FEATURE:1cxx_reference_qualified_functions
    Feature record: CXX_FEATURE:1cxx_relaxed_constexpr
    Feature record: CXX_FEATURE:1cxx_return_type_deduction
    Feature record: CXX_FEATURE:1cxx_right_angle_brackets
    Feature record: CXX_FEATURE:1cxx_rvalue_references
    Feature record: CXX_FEATURE:1cxx_sizeof_member
    Feature record: CXX_FEATURE:1cxx_static_assert
    Feature record: CXX_FEATURE:1cxx_strong_enums
    Feature record: CXX_FEATURE:1cxx_template_template_parameters
    Feature record: CXX_FEATURE:1cxx_thread_local
    Feature record: CXX_FEATURE:1cxx_trailing_return_types
    Feature record: CXX_FEATURE:1cxx_unicode_literals
    Feature record: CXX_FEATURE:1cxx_uniform_initialization
    Feature record: CXX_FEATURE:1cxx_unrestricted_unions
    Feature record: CXX_FEATURE:1cxx_user_literals
    Feature record: CXX_FEATURE:1cxx_variable_templates
    Feature record: CXX_FEATURE:1cxx_variadic_macros
    Feature record: CXX_FEATURE:1cxx_variadic_templates


Detecting CXX [-std=c++14] compiler features compiled with the following output:
Change Dir: /home/beryllium/ogre/Samples/2.0/Tutorials/Tutorial01_Initialization/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_521be/fast"
/usr/bin/make -f CMakeFiles/cmTC_521be.dir/build.make CMakeFiles/cmTC_521be.dir/build
make[1]: Entering directory '/home/beryllium/ogre/Samples/2.0/Tutorials/Tutorial01_Initialization/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_521be.dir/feature_tests.cxx.o
/usr/bin/c++    -std=c++14 -o CMakeFiles/cmTC_521be.dir/feature_tests.cxx.o -c /home/beryllium/ogre/Samples/2.0/Tutorials/Tutorial01_Initialization/build/CMakeFiles/feature_tests.cxx
Linking CXX executable cmTC_521be
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_521be.dir/link.txt --verbose=1
/usr/bin/c++       -rdynamic CMakeFiles/cmTC_521be.dir/feature_tests.cxx.o  -o cmTC_521be 
make[1]: Leaving directory '/home/beryllium/ogre/Samples/2.0/Tutorials/Tutorial01_Initialization/build/CMakeFiles/CMakeTmp'


    Feature record: CXX_FEATURE:1cxx_aggregate_default_initializers
    Feature record: CXX_FEATURE:1cxx_alias_templates
    Feature record: CXX_FEATURE:1cxx_alignas
    Feature record: CXX_FEATURE:1cxx_alignof
    Feature record: CXX_FEATURE:1cxx_attributes
    Feature record: CXX_FEATURE:1cxx_attribute_deprecated
    Feature record: CXX_FEATURE:1cxx_auto_type
    Feature record: CXX_FEATURE:1cxx_binary_literals
    Feature record: CXX_FEATURE:1cxx_constexpr
    Feature record: CXX_FEATURE:1cxx_contextual_conversions
    Feature record: CXX_FEATURE:1cxx_decltype
    Feature record: CXX_FEATURE:1cxx_decltype_auto
    Feature record: CXX_FEATURE:1cxx_decltype_incomplete_return_types
    Feature record: CXX_FEATURE:1cxx_default_function_template_args
    Feature record: CXX_FEATURE:1cxx_defaulted_functions
    Feature record: CXX_FEATURE:1cxx_defaulted_move_initializers
    Feature record: CXX_FEATURE:1cxx_delegating_constructors
    Feature record: CXX_FEATURE:1cxx_deleted_functions
    Feature record: CXX_FEATURE:1cxx_digit_separators
    Feature record: CXX_FEATURE:1cxx_enum_forward_declarations
    Feature record: CXX_FEATURE:1cxx_explicit_conversions
    Feature record: CXX_FEATURE:1cxx_extended_friend_declarations
    Feature record: CXX_FEATURE:1cxx_extern_templates
    Feature record: CXX_FEATURE:1cxx_final
    Feature record: CXX_FEATURE:1cxx_func_identifier
    Feature record: CXX_FEATURE:1cxx_generalized_initializers
    Feature record: CXX_FEATURE:1cxx_generic_lambdas
    Feature record: CXX_FEATURE:1cxx_inheriting_constructors
    Feature record: CXX_FEATURE:1cxx_inline_namespaces
    Feature record: CXX_FEATURE:1cxx_lambdas
    Feature record: CXX_FEATURE:1cxx_lambda_init_captures
    Feature record: CXX_FEATURE:1cxx_local_type_template_args
    Feature record: CXX_FEATURE:1cxx_long_long_type
    Feature record: CXX_FEATURE:1cxx_noexcept
    Feature record: CXX_FEATURE:1cxx_nonstatic_member_init
    Feature record: CXX_FEATURE:1cxx_nullptr
    Feature record: CXX_FEATURE:1cxx_override
    Feature record: CXX_FEATURE:1cxx_range_for
    Feature record: CXX_FEATURE:1cxx_raw_string_literals
    Feature record: CXX_FEATURE:1cxx_reference_qualified_functions
    Feature record: CXX_FEATURE:1cxx_relaxed_constexpr
    Feature record: CXX_FEATURE:1cxx_return_type_deduction
    Feature record: CXX_FEATURE:1cxx_right_angle_brackets
    Feature record: CXX_FEATURE:1cxx_rvalue_references
    Feature record: CXX_FEATURE:1cxx_sizeof_member
    Feature record: CXX_FEATURE:1cxx_static_assert
    Feature record: CXX_FEATURE:1cxx_strong_enums
    Feature record: CXX_FEATURE:1cxx_template_template_parameters
    Feature record: CXX_FEATURE:1cxx_thread_local
    Feature record: CXX_FEATURE:1cxx_trailing_return_types
    Feature record: CXX_FEATURE:1cxx_unicode_literals
    Feature record: CXX_FEATURE:1cxx_uniform_initialization
    Feature record: CXX_FEATURE:1cxx_unrestricted_unions
    Feature record: CXX_FEATURE:1cxx_user_literals
    Feature record: CXX_FEATURE:1cxx_variable_templates
    Feature record: CXX_FEATURE:1cxx_variadic_macros
    Feature record: CXX_FEATURE:1cxx_variadic_templates


Detecting CXX [-std=c++11] compiler features compiled with the following output:
Change Dir: /home/beryllium/ogre/Samples/2.0/Tutorials/Tutorial01_Initialization/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_1f449/fast"
/usr/bin/make -f CMakeFiles/cmTC_1f449.dir/build.make CMakeFiles/cmTC_1f449.dir/build
make[1]: Entering directory '/home/beryllium/ogre/Samples/2.0/Tutorials/Tutorial01_Initialization/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_1f449.dir/feature_tests.cxx.o
/usr/bin/c++    -std=c++11 -o CMakeFiles/cmTC_1f449.dir/feature_tests.cxx.o -c /home/beryllium/ogre/Samples/2.0/Tutorials/Tutorial01_Initialization/build/CMakeFiles/feature_tests.cxx
Linking CXX executable cmTC_1f449
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_1f449.dir/link.txt --verbose=1
/usr/bin/c++       -rdynamic CMakeFiles/cmTC_1f449.dir/feature_tests.cxx.o  -o cmTC_1f449 
make[1]: Leaving directory '/home/beryllium/ogre/Samples/2.0/Tutorials/Tutorial01_Initialization/build/CMakeFiles/CMakeTmp'


    Feature record: CXX_FEATURE:0cxx_aggregate_default_initializers
    Feature record: CXX_FEATURE:1cxx_alias_templates
    Feature record: CXX_FEATURE:1cxx_alignas
    Feature record: CXX_FEATURE:1cxx_alignof
    Feature record: CXX_FEATURE:1cxx_attributes
    Feature record: CXX_FEATURE:0cxx_attribute_deprecated
    Feature record: CXX_FEATURE:1cxx_auto_type
    Feature record: CXX_FEATURE:0cxx_binary_literals
    Feature record: CXX_FEATURE:1cxx_constexpr
    Feature record: CXX_FEATURE:0cxx_contextual_conversions
    Feature record: CXX_FEATURE:1cxx_decltype
    Feature record: CXX_FEATURE:0cxx_decltype_auto
    Feature record: CXX_FEATURE:1cxx_decltype_incomplete_return_types
    Feature record: CXX_FEATURE:1cxx_default_function_template_args
    Feature record: CXX_FEATURE:1cxx_defaulted_functions
    Feature record: CXX_FEATURE:1cxx_defaulted_move_initializers
    Feature record: CXX_FEATURE:1cxx_delegating_constructors
    Feature record: CXX_FEATURE:1cxx_deleted_functions
    Feature record: CXX_FEATURE:0cxx_digit_separators
    Feature record: CXX_FEATURE:1cxx_enum_forward_declarations
    Feature record: CXX_FEATURE:1cxx_explicit_conversions
    Feature record: CXX_FEATURE:1cxx_extended_friend_declarations
    Feature record: CXX_FEATURE:1cxx_extern_templates
    Feature record: CXX_FEATURE:1cxx_final
    Feature record: CXX_FEATURE:1cxx_func_identifier
    Feature record: CXX_FEATURE:1cxx_generalized_initializers
    Feature record: CXX_FEATURE:0cxx_generic_lambdas
    Feature record: CXX_FEATURE:1cxx_inheriting_constructors
    Feature record: CXX_FEATURE:1cxx_inline_namespaces
    Feature record: CXX_FEATURE:1cxx_lambdas
    Feature record: CXX_FEATURE:0cxx_lambda_init_captures
    Feature record: CXX_FEATURE:1cxx_local_type_template_args
    Feature record: CXX_FEATURE:1cxx_long_long_type
    Feature record: CXX_FEATURE:1cxx_noexcept
    Feature record: CXX_FEATURE:1cxx_nonstatic_member_init
    Feature record: CXX_FEATURE:1cxx_nullptr
    Feature record: CXX_FEATURE:1cxx_override
    Feature record: CXX_FEATURE:1cxx_range_for
    Feature record: CXX_FEATURE:1cxx_raw_string_literals
    Feature record: CXX_FEATURE:1cxx_reference_qualified_functions
    Feature record: CXX_FEATURE:0cxx_relaxed_constexpr
    Feature record: CXX_FEATURE:0cxx_return_type_deduction
    Feature record: CXX_FEATURE:1cxx_right_angle_brackets
    Feature record: CXX_FEATURE:1cxx_rvalue_references
    Feature record: CXX_FEATURE:1cxx_sizeof_member
    Feature record: CXX_FEATURE:1cxx_static_assert
    Feature record: CXX_FEATURE:1cxx_strong_enums
    Feature record: CXX_FEATURE:1cxx_template_template_parameters
    Feature record: CXX_FEATURE:1cxx_thread_local
    Feature record: CXX_FEATURE:1cxx_trailing_return_types
    Feature record: CXX_FEATURE:1cxx_unicode_literals
    Feature record: CXX_FEATURE:1cxx_uniform_initialization
    Feature record: CXX_FEATURE:1cxx_unrestricted_unions
    Feature record: CXX_FEATURE:1cxx_user_literals
    Feature record: CXX_FEATURE:0cxx_variable_templates
    Feature record: CXX_FEATURE:1cxx_variadic_macros
    Feature record: CXX_FEATURE:1cxx_variadic_templates


Detecting CXX [-std=c++98] compiler features compiled with the following output:
Change Dir: /home/beryllium/ogre/Samples/2.0/Tutorials/Tutorial01_Initialization/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_87ba0/fast"
/usr/bin/make -f CMakeFiles/cmTC_87ba0.dir/build.make CMakeFiles/cmTC_87ba0.dir/build
make[1]: Entering directory '/home/beryllium/ogre/Samples/2.0/Tutorials/Tutorial01_Initialization/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_87ba0.dir/feature_tests.cxx.o
/usr/bin/c++    -std=c++98 -o CMakeFiles/cmTC_87ba0.dir/feature_tests.cxx.o -c /home/beryllium/ogre/Samples/2.0/Tutorials/Tutorial01_Initialization/build/CMakeFiles/feature_tests.cxx
Linking CXX executable cmTC_87ba0
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_87ba0.dir/link.txt --verbose=1
/usr/bin/c++       -rdynamic CMakeFiles/cmTC_87ba0.dir/feature_tests.cxx.o  -o cmTC_87ba0 
make[1]: Leaving directory '/home/beryllium/ogre/Samples/2.0/Tutorials/Tutorial01_Initialization/build/CMakeFiles/CMakeTmp'


    Feature record: CXX_FEATURE:0cxx_aggregate_default_initializers
    Feature record: CXX_FEATURE:0cxx_alias_templates
    Feature record: CXX_FEATURE:0cxx_alignas
    Feature record: CXX_FEATURE:0cxx_alignof
    Feature record: CXX_FEATURE:0cxx_attributes
    Feature record: CXX_FEATURE:0cxx_attribute_deprecated
    Feature record: CXX_FEATURE:0cxx_auto_type
    Feature record: CXX_FEATURE:0cxx_binary_literals
    Feature record: CXX_FEATURE:0cxx_constexpr
    Feature record: CXX_FEATURE:0cxx_contextual_conversions
    Feature record: CXX_FEATURE:0cxx_decltype
    Feature record: CXX_FEATURE:0cxx_decltype_auto
    Feature record: CXX_FEATURE:0cxx_decltype_incomplete_return_types
    Feature record: CXX_FEATURE:0cxx_default_function_template_args
    Feature record: CXX_FEATURE:0cxx_defaulted_functions
    Feature record: CXX_FEATURE:0cxx_defaulted_move_initializers
    Feature record: CXX_FEATURE:0cxx_delegating_constructors
    Feature record: CXX_FEATURE:0cxx_deleted_functions
    Feature record: CXX_FEATURE:0cxx_digit_separators
    Feature record: CXX_FEATURE:0cxx_enum_forward_declarations
    Feature record: CXX_FEATURE:0cxx_explicit_conversions
    Feature record: CXX_FEATURE:0cxx_extended_friend_declarations
    Feature record: CXX_FEATURE:0cxx_extern_templates
    Feature record: CXX_FEATURE:0cxx_final
    Feature record: CXX_FEATURE:0cxx_func_identifier
    Feature record: CXX_FEATURE:0cxx_generalized_initializers
    Feature record: CXX_FEATURE:0cxx_generic_lambdas
    Feature record: CXX_FEATURE:0cxx_inheriting_constructors
    Feature record: CXX_FEATURE:0cxx_inline_namespaces
    Feature record: CXX_FEATURE:0cxx_lambdas
    Feature record: CXX_FEATURE:0cxx_lambda_init_captures
    Feature record: CXX_FEATURE:0cxx_local_type_template_args
    Feature record: CXX_FEATURE:0cxx_long_long_type
    Feature record: CXX_FEATURE:0cxx_noexcept
    Feature record: CXX_FEATURE:0cxx_nonstatic_member_init
    Feature record: CXX_FEATURE:0cxx_nullptr
    Feature record: CXX_FEATURE:0cxx_override
    Feature record: CXX_FEATURE:0cxx_range_for
    Feature record: CXX_FEATURE:0cxx_raw_string_literals
    Feature record: CXX_FEATURE:0cxx_reference_qualified_functions
    Feature record: CXX_FEATURE:0cxx_relaxed_constexpr
    Feature record: CXX_FEATURE:0cxx_return_type_deduction
    Feature record: CXX_FEATURE:0cxx_right_angle_brackets
    Feature record: CXX_FEATURE:0cxx_rvalue_references
    Feature record: CXX_FEATURE:0cxx_sizeof_member
    Feature record: CXX_FEATURE:0cxx_static_assert
    Feature record: CXX_FEATURE:0cxx_strong_enums
    Feature record: CXX_FEATURE:1cxx_template_template_parameters
    Feature record: CXX_FEATURE:0cxx_thread_local
    Feature record: CXX_FEATURE:0cxx_trailing_return_types
    Feature record: CXX_FEATURE:0cxx_unicode_literals
    Feature record: CXX_FEATURE:0cxx_uniform_initialization
    Feature record: CXX_FEATURE:0cxx_unrestricted_unions
    Feature record: CXX_FEATURE:0cxx_user_literals
    Feature record: CXX_FEATURE:0cxx_variable_templates
    Feature record: CXX_FEATURE:0cxx_variadic_macros
    Feature record: CXX_FEATURE:0cxx_variadic_templates
Last edited by berylliumquestion on Sun Jun 24, 2018 8:45 pm, edited 1 time in total.
0 x

User avatar
dark_sylinc
OGRE Team Member
OGRE Team Member
Posts: 4116
Joined: Sat Jul 21, 2007 4:55 pm
Location: Buenos Aires, Argentina
x 243
Contact:

Re: [2.1] CMake doesn't recognize ogre_add_executable

Post by dark_sylinc » Sun Jun 24, 2018 3:31 pm

Hi!

Please see the guides on compiling Ogre 2.1.
You're adding the examples' CMakeLists.txt as the top level CMake. You should add the CMakeLists.txt at the root of the project, and tick OGRE_BUILD_SAMPLES2 which should be ticked by default unless you're missing the dependencies (most common missing dependency is SDL2 which will prevent you from building the samples)

Only the EmptyProject sample is prepared to be built as a standalone
0 x

berylliumquestion
Gnoblar
Posts: 4
Joined: Wed May 23, 2018 7:44 pm

Re: [2.1] CMake doesn't recognize ogre_add_executable

Post by berylliumquestion » Sun Jun 24, 2018 8:45 pm

I was having a hard time understanding what you had meant by what you said because I couldn't wrap my mind around the tutorials being built along side ogre itself and that confused me. It just didn't seem correct, but as I later found out it was correct. So, I rebuilt ogre without installing and I saw it do this near the end.

Code: Select all

[ 93%] Building CXX object Samples/2.0/Tutorials/Tutorial01_Initialization/CMakeFiles/Sample_Tutorial01_Initialization.dir/Tutorial01Tutorial01_Initialization.cpp.o
I did see something interesting right after that message.

Code: Select all

[ 93%] Linking CXX executable ../../../../bin/Sample_Tutorial01_Initialization
I assumed that meant that's where the binary would be. Sure enough it was in /home/beryllium/ogre/build/Release/bin. This was true for all the other tutorials I spoke of earlier as well.
0 x

Post Reply