abumq / easyloggingpp

C++ logging library. It is extremely powerful, extendable, light-weight, fast performing, thread and type safe and consists of many built-in features. It provides ability to write logs in your own customized format. It also provide support for logging your classes, third-party libraries, STL and third-party containers etc.
MIT License
3.75k stars 918 forks source link

fatal error: gtest/gtest.h: No such file or directory #825

Open To-be-or-not opened 1 year ago

To-be-or-not commented 1 year ago

Hi all, When I build and make the file. There is a problem like ` $ 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 In file included from /afs/cern.ch/work/w/wangxi/public/SS_3L/strong/easyloggingpp/test/main.cc:3: /afs/cern.ch/work/w/wangxi/public/SS_3L/strong/easyloggingpp/test/test.h:11:10: fatal error: gtest/gtest.h: No such file or directory

include <gtest/gtest.h>

`

Do you have any experience abou this? Any comments are welcome!