Skip to content
This repository was archived by the owner on Jun 30, 2025. It is now read-only.
This repository was archived by the owner on Jun 30, 2025. It is now read-only.

build glog with cmake error #973

@Qingyang-Liu

Description

@Qingyang-Liu

when building glog with cmake following the step in readme after conducting the 3rd step 3. Afterwards, generated files can be used to compile the project by command cmake --build build, error occurs as following:

[  3%] Building CXX object CMakeFiles/cleanup_with_absolute_prefix_unittest.dir/src/cleanup_with_absolute_prefix_unittest.cc.o
make[2]: *** No rule to make target 'CMakeFiles/glog_internal.dir/src/demangle.cc.o', needed by 'cleanup_with_absolute_prefix_unittest'.  Stop.
make[1]: *** [CMakeFiles/Makefile2:128: CMakeFiles/cleanup_with_absolute_prefix_unittest.dir/all] Error 2
make: *** [Makefile:163: all] Error 2

not really sure why this occurs and how to solve it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions