Skip to content

Instantly share code, notes, and snippets.

@tylersamples
Created October 29, 2013 03:53
Show Gist options
  • Select an option

  • Save tylersamples/7208975 to your computer and use it in GitHub Desktop.

Select an option

Save tylersamples/7208975 to your computer and use it in GitHub Desktop.
g++ -v
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/4.8.1/lto-wrapper
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=gnu --enable-languages=c,c++,objc,obj-c++,java,fortran,ada,go,lto --enable-plugin --enable-initfini-array --enable-java-awt=gtk --disable-dssi --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib --with-isl=/builddir/build/BUILD/gcc-4.8.1-20130603/obj-x86_64-redhat-linux/isl-install --with-cloog=/builddir/build/BUILD/gcc-4.8.1-20130603/obj-x86_64-redhat-linux/cloog-install --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux
Thread model: posix
gcc version 4.8.1 20130603 (Red Hat 4.8.1-1) (GCC)
# cmake -DENTITYX_BUILD_SHARED=0 -DENTITYX_BUILD_TESTING=1 -DENTITYX_USE_CPP11_STDLIB=1 ..
-- The C compiler identification is GNU 4.8.1
-- The CXX compiler identification is GNU 4.8.1
-- 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
-- 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
-- Checking C++11 support for "auto" (N2546)
-- Checking C++11 support for "auto" (N2546) -- works
-- Checking C++11 support for "nullptr" (N2431)
-- Checking C++11 support for "nullptr" (N2431) -- works
-- Checking C++11 support for "lambda" (N2927)
-- Checking C++11 support for "lambda" (N2927) -- works
-- Checking C++11 support for "static_assert" (N1720)
-- Checking C++11 support for "static_assert" (N1720) -- works
-- Checking C++11 support for "rvalue_references" (N2118)
-- Checking C++11 support for "rvalue_references" (N2118) -- works
-- Checking C++11 support for "decltype" (N2343)
-- Checking C++11 support for "decltype" (N2343) -- works
-- Checking C++11 support for "cstdint"
-- Checking C++11 support for "cstdint" -- works
-- Checking C++11 support for "long_long" (N1811)
-- Checking C++11 support for "long_long" (N1811) -- works
-- Checking C++11 support for "variadic_templates" (N2555)
-- Checking C++11 support for "variadic_templates" (N2555) -- works
-- Checking C++11 support for "constexpr" (N2235)
-- Checking C++11 support for "constexpr" (N2235) -- works
-- Checking C++11 support for "sizeof_member" (N2253)
-- Checking C++11 support for "sizeof_member" (N2253) -- works
-- Checking C++11 support for "__func__" (N2340)
-- Checking C++11 support for "__func__" (N2340) -- works
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Defaulting to release build (use -DCMAKE_BUILD_TYPE:STRING=Debug for debug build)
-- Checking C++ features
-- C++11 auto support found
-- C++11 nullptr support found
-- C++11 rvalue reference support found
-- C++11 variadic templates found
-- C++11 rvalue references found
-- C++11 long long found
-- C++11 lambdas found
-- Checking misc features
-- stdint.h found
-- Python support disabled
-- Found PythonInterp: /usr/bin/python (found version "2.7.5")
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Not running benchmarks (use -DENTITYX_RUN_BENCHMARKS=1 to enable)
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
ENTITYX_USE_CPP11_STDLIB
-- Build files have been written to: /home/gnomy/Downloads/source/entityx/branches/no-boost/build
# make
Scanning dependencies of target gtest
[ 7%] Building CXX object gtest-1.6.0/CMakeFiles/gtest.dir/src/gtest-all.cc.o
Linking CXX static library libgtest.a
[ 7%] Built target gtest
Scanning dependencies of target entityx
[ 15%] Building CXX object CMakeFiles/entityx.dir/entityx/tags/TagsComponent.cc.o
[ 23%] Building CXX object CMakeFiles/entityx.dir/entityx/deps/Dependencies.cc.o
[ 30%] Building CXX object CMakeFiles/entityx.dir/entityx/System.cc.o
[ 38%] Building CXX object CMakeFiles/entityx.dir/entityx/Event.cc.o
[ 46%] Building CXX object CMakeFiles/entityx.dir/entityx/Entity.cc.o
[ 53%] Building CXX object CMakeFiles/entityx.dir/entityx/Manager.cc.o
Linking CXX static library libentityx.a
[ 53%] Built target entityx
Scanning dependencies of target gtest_main
[ 61%] Building CXX object gtest-1.6.0/CMakeFiles/gtest_main.dir/src/gtest_main.cc.o
Linking CXX static library libgtest_main.a
[ 61%] Built target gtest_main
Scanning dependencies of target dependencies_test
[ 69%] Building CXX object CMakeFiles/dependencies_test.dir/entityx/deps/Dependencies_test.cc.o
Linking CXX executable dependencies_test
[ 69%] Built target dependencies_test
Scanning dependencies of target entity_test
[ 76%] Building CXX object CMakeFiles/entity_test.dir/entityx/Entity_test.cc.o
/home/gnomy/Downloads/source/entityx/branches/no-boost/entityx/Entity_test.cc:20:17: error: ‘boost’ is not a namespace-name
using namespace boost;
^
/home/gnomy/Downloads/source/entityx/branches/no-boost/entityx/Entity_test.cc:20:22: error: expected namespace-name before ‘;’ token
using namespace boost;
^
make[2]: *** [CMakeFiles/entity_test.dir/entityx/Entity_test.cc.o] Error 1
make[1]: *** [CMakeFiles/entity_test.dir/all] Error 2
make: *** [all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment