Skip to content

Instantly share code, notes, and snippets.

@AlekSi
Created January 9, 2010 09:00
Show Gist options
  • Save AlekSi/272813 to your computer and use it in GitHub Desktop.
Save AlekSi/272813 to your computer and use it in GitHub Desktop.
~/Code/QtPersistence/build (master) $ cmake .. -DGTEST_ROOT=/opt/local -DGMOCK_ROOT=/opt/local
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Checking whether C compiler has -isysroot
-- Checking whether C compiler has -isysroot - yes
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Checking whether CXX compiler has -isysroot
-- Checking whether CXX compiler has -isysroot - yes
-- 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
-- CTest cannot determine repository type. Please set UPDATE_TYPE to 'cvs' or 'svn'. CTest update will not work.
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - not found.
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found.
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found.
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - found
-- Looking for QT_MAC_USE_COCOA
-- Looking for QT_MAC_USE_COCOA - not found.
-- Found Qt-Version 4.6.0 (using /usr/bin/qmake)
-- Found GTest: /opt/local/lib/libgtest.dylib
-- Found GMock: /opt/local/lib/libgmock.dylib
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/AlekSi/Code/QtPersistence/build
~/Code/QtPersistence/build (master) $ make
[ 4%] Qt Wrapped File
Scanning dependencies of target QtPersistence
[ 8%] Building CXX object src/CMakeFiles/QtPersistence.dir/utils/inflection.cpp.o
[ 12%] Building CXX object src/CMakeFiles/QtPersistence.dir/core/qtpersistence.cpp.o
[ 16%] Building CXX object src/CMakeFiles/QtPersistence.dir/core/qpersistantobject.cpp.o
[ 20%] Building CXX object src/CMakeFiles/QtPersistence.dir/core/introspection.cpp.o
[ 25%] Building CXX object src/CMakeFiles/QtPersistence.dir/core/newobjectsavestate.cpp.o
[ 29%] Building CXX object src/CMakeFiles/QtPersistence.dir/core/existingobjectsavestate.cpp.o
[ 33%] Building CXX object src/CMakeFiles/QtPersistence.dir/core/databaseconfiguration.cpp.o
[ 37%] Building CXX object src/CMakeFiles/QtPersistence.dir/moc_qpersistantobject.cxx.o
Linking CXX shared library libQtPersistence.dylib
[ 37%] Built target QtPersistence
[ 41%] Qt Wrapped File
[ 45%] Qt Wrapped File
Scanning dependencies of target QtPersistenceTest
[ 50%] Building CXX object src/tests/CMakeFiles/QtPersistenceTest.dir/inflectiontest.cpp.o
In file included from /Users/AlekSi/Code/QtPersistence/src/tests/inflectiontest.cpp:19:
/Users/AlekSi/Code/QtPersistence/src/tests/inflectiontest.h:22:25: error: gtest/gtest.h: No such file or directory
/Users/AlekSi/Code/QtPersistence/src/tests/inflectiontest.h:29: error: '::testing' has not been declared
/Users/AlekSi/Code/QtPersistence/src/tests/inflectiontest.h:29: error: expected template-name before '<' token
/Users/AlekSi/Code/QtPersistence/src/tests/inflectiontest.h:29: error: expected `{' before '<' token
/Users/AlekSi/Code/QtPersistence/src/tests/inflectiontest.h:29: error: expected unqualified-id before '<' token
/Users/AlekSi/Code/QtPersistence/src/tests/inflectiontest.h:30: error: '::testing' has not been declared
/Users/AlekSi/Code/QtPersistence/src/tests/inflectiontest.h:30: error: expected template-name before '<' token
/Users/AlekSi/Code/QtPersistence/src/tests/inflectiontest.h:30: error: expected `{' before '<' token
/Users/AlekSi/Code/QtPersistence/src/tests/inflectiontest.h:30: error: expected unqualified-id before '<' token
/Users/AlekSi/Code/QtPersistence/src/tests/inflectiontest.h:31: error: '::testing' has not been declared
/Users/AlekSi/Code/QtPersistence/src/tests/inflectiontest.h:31: error: expected template-name before '<' token
/Users/AlekSi/Code/QtPersistence/src/tests/inflectiontest.h:31: error: expected `{' before '<' token
/Users/AlekSi/Code/QtPersistence/src/tests/inflectiontest.h:31: error: expected unqualified-id before '<' token
/Users/AlekSi/Code/QtPersistence/src/tests/inflectiontest.h:32: error: '::testing' has not been declared
/Users/AlekSi/Code/QtPersistence/src/tests/inflectiontest.h:32: error: expected template-name before '<' token
/Users/AlekSi/Code/QtPersistence/src/tests/inflectiontest.h:32: error: expected `{' before '<' token
/Users/AlekSi/Code/QtPersistence/src/tests/inflectiontest.h:32: error: expected unqualified-id before '<' token
/Users/AlekSi/Code/QtPersistence/src/tests/inflectiontest.h:33: error: '::testing' has not been declared
/Users/AlekSi/Code/QtPersistence/src/tests/inflectiontest.h:33: error: expected template-name before '<' token
/Users/AlekSi/Code/QtPersistence/src/tests/inflectiontest.h:33: error: expected `{' before '<' token
/Users/AlekSi/Code/QtPersistence/src/tests/inflectiontest.h:33: error: expected unqualified-id before '<' token
/Users/AlekSi/Code/QtPersistence/src/tests/inflectiontest.cpp:23: error: 'testSnakeCase' has not been declared
/Users/AlekSi/Code/QtPersistence/src/tests/inflectiontest.cpp:23: error: ISO C++ forbids declaration of 'TEST_P' with no type
/Users/AlekSi/Code/QtPersistence/src/tests/inflectiontest.cpp: In function 'int TEST_P(SnakeCaseTest, int)':
/Users/AlekSi/Code/QtPersistence/src/tests/inflectiontest.cpp:23: error: '<anonymous>' has incomplete type
/Users/AlekSi/Code/QtPersistence/src/tests/inflectiontest.h:29: error: forward declaration of 'class SnakeCaseTest'
/Users/AlekSi/Code/QtPersistence/src/tests/inflectiontest.cpp:25: error: 'GetParam' was not declared in this scope
/Users/AlekSi/Code/QtPersistence/src/tests/inflectiontest.cpp:26: error: 'EXPECT_EQ' was not declared in this scope
/Users/AlekSi/Code/QtPersistence/src/tests/inflectiontest.cpp: At global scope:
/Users/AlekSi/Code/QtPersistence/src/tests/inflectiontest.cpp:29: error: expected constructor, destructor, or type conversion before '(' token
/Users/AlekSi/Code/QtPersistence/src/tests/inflectiontest.cpp:38: error: 'testClassify' has not been declared
/Users/AlekSi/Code/QtPersistence/src/tests/inflectiontest.cpp:38: error: ISO C++ forbids declaration of 'TEST_P' with no type
/Users/AlekSi/Code/QtPersistence/src/tests/inflectiontest.cpp: In function 'int TEST_P(ClassifyTest, int)':
/Users/AlekSi/Code/QtPersistence/src/tests/inflectiontest.cpp:38: error: '<anonymous>' has incomplete type
/Users/AlekSi/Code/QtPersistence/src/tests/inflectiontest.h:30: error: forward declaration of 'class ClassifyTest'
/Users/AlekSi/Code/QtPersistence/src/tests/inflectiontest.cpp:40: error: 'GetParam' was not declared in this scope
/Users/AlekSi/Code/QtPersistence/src/tests/inflectiontest.cpp:41: error: 'EXPECT_EQ' was not declared in this scope
/Users/AlekSi/Code/QtPersistence/src/tests/inflectiontest.cpp: At global scope:
/Users/AlekSi/Code/QtPersistence/src/tests/inflectiontest.cpp:44: error: expected constructor, destructor, or type conversion before '(' token
/Users/AlekSi/Code/QtPersistence/src/tests/inflectiontest.cpp:53: error: 'testCapitalize' has not been declared
/Users/AlekSi/Code/QtPersistence/src/tests/inflectiontest.cpp:53: error: ISO C++ forbids declaration of 'TEST_P' with no type
/Users/AlekSi/Code/QtPersistence/src/tests/inflectiontest.cpp: In function 'int TEST_P(CapitalizeTest, int)':
/Users/AlekSi/Code/QtPersistence/src/tests/inflectiontest.cpp:53: error: '<anonymous>' has incomplete type
/Users/AlekSi/Code/QtPersistence/src/tests/inflectiontest.h:31: error: forward declaration of 'class CapitalizeTest'
/Users/AlekSi/Code/QtPersistence/src/tests/inflectiontest.cpp:55: error: 'GetParam' was not declared in this scope
/Users/AlekSi/Code/QtPersistence/src/tests/inflectiontest.cpp:56: error: 'EXPECT_EQ' was not declared in this scope
/Users/AlekSi/Code/QtPersistence/src/tests/inflectiontest.cpp: At global scope:
/Users/AlekSi/Code/QtPersistence/src/tests/inflectiontest.cpp:59: error: expected constructor, destructor, or type conversion before '(' token
/Users/AlekSi/Code/QtPersistence/src/tests/inflectiontest.cpp:68: error: 'testCamelize' has not been declared
/Users/AlekSi/Code/QtPersistence/src/tests/inflectiontest.cpp:68: error: ISO C++ forbids declaration of 'TEST_P' with no type
/Users/AlekSi/Code/QtPersistence/src/tests/inflectiontest.cpp: In function 'int TEST_P(CamelizeTest, int)':
/Users/AlekSi/Code/QtPersistence/src/tests/inflectiontest.cpp:68: error: '<anonymous>' has incomplete type
/Users/AlekSi/Code/QtPersistence/src/tests/inflectiontest.h:32: error: forward declaration of 'class CamelizeTest'
/Users/AlekSi/Code/QtPersistence/src/tests/inflectiontest.cpp:70: error: 'GetParam' was not declared in this scope
/Users/AlekSi/Code/QtPersistence/src/tests/inflectiontest.cpp:71: error: 'EXPECT_EQ' was not declared in this scope
/Users/AlekSi/Code/QtPersistence/src/tests/inflectiontest.cpp: At global scope:
/Users/AlekSi/Code/QtPersistence/src/tests/inflectiontest.cpp:74: error: expected constructor, destructor, or type conversion before '(' token
/Users/AlekSi/Code/QtPersistence/src/tests/inflectiontest.cpp:82: error: 'testTableize' has not been declared
/Users/AlekSi/Code/QtPersistence/src/tests/inflectiontest.cpp:82: error: ISO C++ forbids declaration of 'TEST_P' with no type
/Users/AlekSi/Code/QtPersistence/src/tests/inflectiontest.cpp: In function 'int TEST_P(TableizeTest, int)':
/Users/AlekSi/Code/QtPersistence/src/tests/inflectiontest.cpp:82: error: '<anonymous>' has incomplete type
/Users/AlekSi/Code/QtPersistence/src/tests/inflectiontest.h:33: error: forward declaration of 'class TableizeTest'
/Users/AlekSi/Code/QtPersistence/src/tests/inflectiontest.cpp:84: error: 'GetParam' was not declared in this scope
/Users/AlekSi/Code/QtPersistence/src/tests/inflectiontest.cpp:85: error: 'EXPECT_EQ' was not declared in this scope
/Users/AlekSi/Code/QtPersistence/src/tests/inflectiontest.cpp: At global scope:
/Users/AlekSi/Code/QtPersistence/src/tests/inflectiontest.cpp:88: error: expected constructor, destructor, or type conversion before '(' token
make[2]: *** [src/tests/CMakeFiles/QtPersistenceTest.dir/inflectiontest.cpp.o] Error 1
make[1]: *** [src/tests/CMakeFiles/QtPersistenceTest.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