small medium large xlarge

24 Oct 2017, 22:18
Dr. Richard Cordero (1 post)

Howdy. Super new, here. I’m getting some sort of error when running make to try to run tests in c2/1/ I’ve mkdir build && cd build && cmake ..ed already and when I run make, I get the following output to stdout: (stripped excessive paths, subbed ${my_dir})

In file included from ${my_dir}/gtest/googlemock/include/gmock/internal/gmock-generated-internal-utils.h:44:0,
                 from ${my_dir}/gtest/googlemock/include/gmock/internal/gmock-internal-utils.h:45,
                 from ${my_dir}/gtest/googlemock/include/gmock/gmock-actions.h:46,
                 from ${my_dir}/gtest/googlemock/include/gmock/gmock.h:58,
                 from ${my_dir}/cpp-and-tdd/c2/1/main.cpp:1:
${my_dir}/gtest/googlemock/include/gmock/internal/gmock-port.h:53:45: fatal error: gtest/internal/gtest-linked_ptr.h: No such file or directory
compilation terminated.
CMakeFiles/tests.dir/build.make:62: recipe for target 'CMakeFiles/tests.dir/main.cpp.o' failed
make[2]: *** [CMakeFiles/tests.dir/main.cpp.o] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/tests.dir/all' failed
make[1]: *** [CMakeFiles/tests.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2

Any help would be super appreciated.

You must be logged in to comment