easyloggingpp
easyloggingpp copied to clipboard
Adds support for easyloggingpp to log WARNING, ERROR, and FATAL to standard error
This is a
- [ ] Breaking change
- [x] New feature
- [x] Bugfix
I have
- [ ] Merged in the latest upstream changes
- [x] Updated
CHANGELOG.md
- [x] Updated
README.md
- [ ] Run the tests
smallville7123@smallville7123-MacBookPro:~/AndroidCompositor/app/src/main/jni/GLIS/dependancies/pipeline/dependancies/easyloggingpp$ mkdir build
smallville7123@smallville7123-MacBookPro:~/AndroidCompositor/app/src/main/jni/GLIS/dependancies/pipeline/dependancies/easyloggingpp$ cd build
smallville7123@smallville7123-MacBookPro:~/AndroidCompositor/app/src/main/jni/GLIS/dependancies/pipeline/dependancies/easyloggingpp/build$ cmake -Dtest=ON ../
-- The CXX compiler identification is GNU 9.3.0
-- 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
-- Setting C++11
-- Found GTest: /usr/lib/x86_64-linux-gnu/libgtest.a
-- Configuring done
-- Generating done
-- Build files have been written to: /home/smallville7123/AndroidCompositor/app/src/main/jni/GLIS/dependancies/pipeline/dependancies/easyloggingpp/build
smallville7123@smallville7123-MacBookPro:~/AndroidCompositor/app/src/main/jni/GLIS/dependancies/pipeline/dependancies/easyloggingpp/build$ make
Scanning dependencies of target easyloggingpp-unit-tests
[ 33%] Building CXX object CMakeFiles/easyloggingpp-unit-tests.dir/src/easylogging++.cc.o
[ 66%] Building CXX object CMakeFiles/easyloggingpp-unit-tests.dir/test/main.cc.o
[100%] Linking CXX executable easyloggingpp-unit-tests
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/libgtest.a(gtest-all.cc.o): in function `testing::internal::ThreadLocal<std::vector<testing::internal::TraceInfo, std::allocator<testing::internal::TraceInfo> > >::~ThreadLocal()':
./obj-x86_64-linux-gnu/googletest/./googletest/include/gtest/internal/gtest-port.h:1750: undefined reference to `pthread_getspecific'
/usr/bin/ld: ./obj-x86_64-linux-gnu/googletest/./googletest/include/gtest/internal/gtest-port.h:1754: undefined reference to `pthread_key_delete'
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/libgtest.a(gtest-all.cc.o): in function `testing::internal::ThreadLocal<testing::TestPartResultReporterInterface*>::~ThreadLocal()':
./obj-x86_64-linux-gnu/googletest/./googletest/include/gtest/internal/gtest-port.h:1750: undefined reference to `pthread_getspecific'
/usr/bin/ld: ./obj-x86_64-linux-gnu/googletest/./googletest/include/gtest/internal/gtest-port.h:1754: undefined reference to `pthread_key_delete'
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/libgtest.a(gtest-all.cc.o): in function `testing::internal::ThreadLocal<std::vector<testing::internal::TraceInfo, std::allocator<testing::internal::TraceInfo> > >::GetOrCreateValue() const':
./obj-x86_64-linux-gnu/googletest/./googletest/include/gtest/internal/gtest-port.h:1787: undefined reference to `pthread_getspecific'
/usr/bin/ld: ./obj-x86_64-linux-gnu/googletest/./googletest/include/gtest/internal/gtest-port.h:1794: undefined reference to `pthread_setspecific'
/usr/bin/ld: ./obj-x86_64-linux-gnu/googletest/./googletest/include/gtest/internal/gtest-port.h:1787: undefined reference to `pthread_getspecific'
/usr/bin/ld: ./obj-x86_64-linux-gnu/googletest/./googletest/include/gtest/internal/gtest-port.h:1794: undefined reference to `pthread_setspecific'
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/libgtest.a(gtest-all.cc.o): in function `testing::internal::ThreadLocal<testing::TestPartResultReporterInterface*>::CreateKey()':
./obj-x86_64-linux-gnu/googletest/./googletest/include/gtest/internal/gtest-port.h:1780: undefined reference to `pthread_key_create'
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/libgtest.a(gtest-all.cc.o): in function `testing::internal::ThreadLocal<std::vector<testing::internal::TraceInfo, std::allocator<testing::internal::TraceInfo> > >::CreateKey()':
./obj-x86_64-linux-gnu/googletest/./googletest/include/gtest/internal/gtest-port.h:1780: undefined reference to `pthread_key_create'
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/libgtest.a(gtest-all.cc.o): in function `testing::internal::ThreadLocal<testing::TestPartResultReporterInterface*>::GetOrCreateValue() const':
./obj-x86_64-linux-gnu/googletest/./googletest/include/gtest/internal/gtest-port.h:1787: undefined reference to `pthread_getspecific'
/usr/bin/ld: ./obj-x86_64-linux-gnu/googletest/./googletest/include/gtest/internal/gtest-port.h:1794: undefined reference to `pthread_setspecific'
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/libgtest.a(gtest-all.cc.o): in function `testing::internal::ThreadLocal<std::vector<testing::internal::TraceInfo, std::allocator<testing::internal::TraceInfo> > >::GetOrCreateValue() const':
./obj-x86_64-linux-gnu/googletest/./googletest/include/gtest/internal/gtest-port.h:1787: undefined reference to `pthread_getspecific'
/usr/bin/ld: ./obj-x86_64-linux-gnu/googletest/./googletest/include/gtest/internal/gtest-port.h:1787: undefined reference to `pthread_getspecific'
/usr/bin/ld: ./obj-x86_64-linux-gnu/googletest/./googletest/include/gtest/internal/gtest-port.h:1794: undefined reference to `pthread_setspecific'
/usr/bin/ld: ./obj-x86_64-linux-gnu/googletest/./googletest/include/gtest/internal/gtest-port.h:1794: undefined reference to `pthread_setspecific'
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/libgtest.a(gtest-all.cc.o): in function `testing::internal::ThreadLocal<testing::TestPartResultReporterInterface*>::GetOrCreateValue() const':
./obj-x86_64-linux-gnu/googletest/./googletest/include/gtest/internal/gtest-port.h:1787: undefined reference to `pthread_getspecific'
/usr/bin/ld: ./obj-x86_64-linux-gnu/googletest/./googletest/include/gtest/internal/gtest-port.h:1794: undefined reference to `pthread_setspecific'
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/libgtest.a(gtest-all.cc.o): in function `testing::internal::ThreadLocal<std::vector<testing::internal::TraceInfo, std::allocator<testing::internal::TraceInfo> > >::~ThreadLocal()':
./obj-x86_64-linux-gnu/googletest/./googletest/include/gtest/internal/gtest-port.h:1750: undefined reference to `pthread_getspecific'
/usr/bin/ld: ./obj-x86_64-linux-gnu/googletest/./googletest/include/gtest/internal/gtest-port.h:1754: undefined reference to `pthread_key_delete'
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/libgtest.a(gtest-all.cc.o): in function `testing::internal::ThreadLocal<testing::TestPartResultReporterInterface*>::~ThreadLocal()':
./obj-x86_64-linux-gnu/googletest/./googletest/include/gtest/internal/gtest-port.h:1750: undefined reference to `pthread_getspecific'
/usr/bin/ld: ./obj-x86_64-linux-gnu/googletest/./googletest/include/gtest/internal/gtest-port.h:1754: undefined reference to `pthread_key_delete'
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/libgtest.a(gtest-all.cc.o): in function `testing::internal::ThreadLocal<std::vector<testing::internal::TraceInfo, std::allocator<testing::internal::TraceInfo> > >::GetOrCreateValue() const':
./obj-x86_64-linux-gnu/googletest/./googletest/include/gtest/internal/gtest-port.h:1787: undefined reference to `pthread_getspecific'
/usr/bin/ld: ./obj-x86_64-linux-gnu/googletest/./googletest/include/gtest/internal/gtest-port.h:1794: undefined reference to `pthread_setspecific'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/easyloggingpp-unit-tests.dir/build.make:99: easyloggingpp-unit-tests] Error 1
make[1]: *** [CMakeFiles/Makefile2:76: CMakeFiles/easyloggingpp-unit-tests.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
smallville7123@smallville7123-MacBookPro:~/AndroidCompositor/app/src/main/jni/GLIS/dependancies/pipeline/dependancies/easyloggingpp/build$ make test
Running tests...
Test project /home/smallville7123/AndroidCompositor/app/src/main/jni/GLIS/dependancies/pipeline/dependancies/easyloggingpp/build
Start 1: easyloggingppUnitTests
Could not find executable /home/smallville7123/AndroidCompositor/app/src/main/jni/GLIS/dependancies/pipeline/dependancies/easyloggingpp/build/easyloggingpp-unit-tests
Looked in the following places:
/home/smallville7123/AndroidCompositor/app/src/main/jni/GLIS/dependancies/pipeline/dependancies/easyloggingpp/build/easyloggingpp-unit-tests
/home/smallville7123/AndroidCompositor/app/src/main/jni/GLIS/dependancies/pipeline/dependancies/easyloggingpp/build/easyloggingpp-unit-tests
/home/smallville7123/AndroidCompositor/app/src/main/jni/GLIS/dependancies/pipeline/dependancies/easyloggingpp/build/Release/easyloggingpp-unit-tests
/home/smallville7123/AndroidCompositor/app/src/main/jni/GLIS/dependancies/pipeline/dependancies/easyloggingpp/build/Release/easyloggingpp-unit-tests
/home/smallville7123/AndroidCompositor/app/src/main/jni/GLIS/dependancies/pipeline/dependancies/easyloggingpp/build/Debug/easyloggingpp-unit-tests
/home/smallville7123/AndroidCompositor/app/src/main/jni/GLIS/dependancies/pipeline/dependancies/easyloggingpp/build/Debug/easyloggingpp-unit-tests
/home/smallville7123/AndroidCompositor/app/src/main/jni/GLIS/dependancies/pipeline/dependancies/easyloggingpp/build/MinSizeRel/easyloggingpp-unit-tests
/home/smallville7123/AndroidCompositor/app/src/main/jni/GLIS/dependancies/pipeline/dependancies/easyloggingpp/build/MinSizeRel/easyloggingpp-unit-tests
/home/smallville7123/AndroidCompositor/app/src/main/jni/GLIS/dependancies/pipeline/dependancies/easyloggingpp/build/RelWithDebInfo/easyloggingpp-unit-tests
/home/smallville7123/AndroidCompositor/app/src/main/jni/GLIS/dependancies/pipeline/dependancies/easyloggingpp/build/RelWithDebInfo/easyloggingpp-unit-tests
/home/smallville7123/AndroidCompositor/app/src/main/jni/GLIS/dependancies/pipeline/dependancies/easyloggingpp/build/Deployment/easyloggingpp-unit-tests
/home/smallville7123/AndroidCompositor/app/src/main/jni/GLIS/dependancies/pipeline/dependancies/easyloggingpp/build/Deployment/easyloggingpp-unit-tests
/home/smallville7123/AndroidCompositor/app/src/main/jni/GLIS/dependancies/pipeline/dependancies/easyloggingpp/build/Development/easyloggingpp-unit-tests
/home/smallville7123/AndroidCompositor/app/src/main/jni/GLIS/dependancies/pipeline/dependancies/easyloggingpp/build/Development/easyloggingpp-unit-tests
home/smallville7123/AndroidCompositor/app/src/main/jni/GLIS/dependancies/pipeline/dependancies/easyloggingpp/build/easyloggingpp-unit-tests
home/smallville7123/AndroidCompositor/app/src/main/jni/GLIS/dependancies/pipeline/dependancies/easyloggingpp/build/easyloggingpp-unit-tests
home/smallville7123/AndroidCompositor/app/src/main/jni/GLIS/dependancies/pipeline/dependancies/easyloggingpp/build/Release/easyloggingpp-unit-tests
home/smallville7123/AndroidCompositor/app/src/main/jni/GLIS/dependancies/pipeline/dependancies/easyloggingpp/build/Release/easyloggingpp-unit-tests
home/smallville7123/AndroidCompositor/app/src/main/jni/GLIS/dependancies/pipeline/dependancies/easyloggingpp/build/Debug/easyloggingpp-unit-tests
home/smallville7123/AndroidCompositor/app/src/main/jni/GLIS/dependancies/pipeline/dependancies/easyloggingpp/build/Debug/easyloggingpp-unit-tests
home/smallville7123/AndroidCompositor/app/src/main/jni/GLIS/dependancies/pipeline/dependancies/easyloggingpp/build/MinSizeRel/easyloggingpp-unit-tests
home/smallville7123/AndroidCompositor/app/src/main/jni/GLIS/dependancies/pipeline/dependancies/easyloggingpp/build/MinSizeRel/easyloggingpp-unit-tests
home/smallville7123/AndroidCompositor/app/src/main/jni/GLIS/dependancies/pipeline/dependancies/easyloggingpp/build/RelWithDebInfo/easyloggingpp-unit-tests
home/smallville7123/AndroidCompositor/app/src/main/jni/GLIS/dependancies/pipeline/dependancies/easyloggingpp/build/RelWithDebInfo/easyloggingpp-unit-tests
home/smallville7123/AndroidCompositor/app/src/main/jni/GLIS/dependancies/pipeline/dependancies/easyloggingpp/build/Deployment/easyloggingpp-unit-tests
home/smallville7123/AndroidCompositor/app/src/main/jni/GLIS/dependancies/pipeline/dependancies/easyloggingpp/build/Deployment/easyloggingpp-unit-tests
home/smallville7123/AndroidCompositor/app/src/main/jni/GLIS/dependancies/pipeline/dependancies/easyloggingpp/build/Development/easyloggingpp-unit-tests
home/smallville7123/AndroidCompositor/app/src/main/jni/GLIS/dependancies/pipeline/dependancies/easyloggingpp/build/Development/easyloggingpp-unit-tests
Unable to find executable: /home/smallville7123/AndroidCompositor/app/src/main/jni/GLIS/dependancies/pipeline/dependancies/easyloggingpp/build/easyloggingpp-unit-tests
1/1 Test #1: easyloggingppUnitTests ...........***Not Run 0.00 sec
0% tests passed, 1 tests failed out of 1
Total Test time (real) = 0.00 sec
The following tests FAILED:
1 - easyloggingppUnitTests (Not Run)
Errors while running CTest
make: *** [Makefile:130: test] Error 8
smallville7123@smallville7123-MacBookPro:~/AndroidCompositor/app/src/main/jni/GLIS/dependancies/pipeline/dependancies/easyloggingpp/build$ ls
CMakeCache.txt CMakeFiles cmake_install.cmake CTestTestfile.cmake easyloggingpp.pc Makefile Testing
smallville7123@smallville7123-MacBookPro:~/AndroidCompositor/app/src/main/jni/GLIS/dependancies/pipeline/dependancies/easyloggingpp/build$
wow this has not been updated yet?
been 2 years