You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 30, 2025. It is now read-only.
Hello everybody.
before compiling, i successfully installed gflag, so there was no warning when i Configure and Generate the glog.
(compile env: win10 ndk17 CMake3.12 MinGW)
then i was met errors like this:
D:\Restor\chajian\glog-0.3.5\build>make
[ 44%] Built target glog
[ 55%] Built target utilities_unittest
[ 66%] Built target demangle_unittest
[ 72%] Building CXX object CMakeFiles/logging_unittest.dir/src/logging_unittest.cc.o
D:\Restor\chajian\glog-0.3.5\src\logging_unittest.cc:617:17: error: use of undeclared identifier 'glob'
const int r = glob(pattern.c_str(), 0, NULL, &g);
^
D:\Restor\chajian\glog-0.3.5\src\logging_unittest.cc:622:3: error: use of undeclared identifier 'globfree'
globfree(&g);
^
2 errors generated.
CMakeFiles\logging_unittest.dir\build.make:61: recipe for target 'CMakeFiles/logging_unittest.dir/src/logging_unittest.cc.o' failed
make[2]: *** [CMakeFiles/logging_unittest.dir/src/logging_unittest.cc.o] Error 1
CMakeFiles\Makefile2:1078: recipe for target 'CMakeFiles/logging_unittest.dir/all' failed
make[1]: *** [CMakeFiles/logging_unittest.dir/all] Error 2
Makefile:161: recipe for target 'all' failed
make: *** [all] Error 2