Hello,
I am trying to install Googletest, and I keep getting this error.
In file included from gtest_dir/src/gtest-all.cc:39:0:
gtest_dir/include/gtest/gtest.h:54:10: fatal error: limits: No such file or directory
#include
^~~~
compilation terminated.
I followed the directions in README with my own path to the necessary files. Is there something else that I should be including?
Thank you.
I am using OSX and have the updated Xcode and GCC to use for compiling
Googletest. It appears to be finding the documents, so I don't think it's a
path issue. I'm not sure if there is some program that is incompatible or
if I didn't install all of the necessary tools.
On Mon, Oct 2, 2017 at 1:45 AM, Dariusz Ostolski notifications@github.com
wrote:
is a standard C++ header file(see http://en.cppreference.com/w/
cpp/header/limits). What is your environment? It seems that C++ standard
headers are not installed on your machine or include paths are incorrectly
set in your case.—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/google/googletest/issues/1279#issuecomment-333462516,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ARCR-oepDzOYBhTlCQR9vyTGlUc0tOnsks5soJSbgaJpZM4PqCHU
.
--
Maybellene P. Gamboa
PhD Candidate, Department of Biology
Graduate Degree Program in Ecology
Colorado State University
Office: Biology 309
Phone: (970) 495-5226
E-mail: [email protected]
Alt. e-mail: [email protected]
Could you please attach output from command:
make VERBOSE=1
BR
Dariusz
This error appears then you use gcc compiler instead g++.
For example then compiling .c file
Is there a workaround to this issue? I've been trying to use gtest for C.
Thank you very much for this report. Unfortunately there appears to be no actionable information.
Most helpful comment
Is there a workaround to this issue? I've been trying to use gtest for C.