Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compiling issue [Windows] : error C2039 '...' not member of std #13

Closed
Arag24 opened this issue Aug 21, 2019 · 1 comment · Fixed by #14 or Arag24/ifm3d-examples#3
Closed

Compiling issue [Windows] : error C2039 '...' not member of std #13

Arag24 opened this issue Aug 21, 2019 · 1 comment · Fixed by #14 or Arag24/ifm3d-examples#3

Comments

@Arag24
Copy link
Contributor

Arag24 commented Aug 21, 2019

I compiled ifm3d 0.15.1 succesfully and started a new clone of ifm3d-example.

However, I can not make it.
Both ex-multi_camera_grabber and ex-timestamp project are not compiling due to some C2039 / C3861 errors.

error C2039: 'time_t': is not a member of 'std'

Thinking it was an old version of my VS Studio, I updated it. No change.

My environment is following :

-- The CXX compiler identification is MSVC 19.16.27032.1 (Visual Studio 2017 version 15.9.15)
-- Windows SDK version 10.0.17763.0

Any ideas ? I will go deeper, too, from my side...

@theseankelly
Copy link
Contributor

theseankelly commented Aug 21, 2019

time_t is part of the <ctime> header (https://en.cppreference.com/w/cpp/chrono/c/time_t) and this header is not included by either project you mention. Perhaps it gets included in some system library on Linux and not on Windows. Either way it should be explicitly included. If you want to try it and submit a PR I'll happily push it through, assuming that solves your issues. Otherwise give me a day or two and I'll to get to it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants