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

atomic' file not found # include <atomic> ^~~~~~~~ 1 error generated. #133

Open
devnannaware opened this issue Jun 2, 2020 · 1 comment

Comments

@devnannaware
Copy link

I am trying to run cpp file in sublime but it's showing the same error again and again

In file included from /dev code/hello.cpp:1:
In file included from /Library/Developer/CommandLineTools/usr/include/c++/v1/iostream:38:
In file included from /Library/Developer/CommandLineTools/usr/include/c++/v1/ios:216:
In file included from /Library/Developer/CommandLineTools/usr/include/c++/v1/__locale:15:
In file included from /Library/Developer/CommandLineTools/usr/include/c++/v1/string:500:
In file included from /Library/Developer/CommandLineTools/usr/include/c++/v1/string_view:176:
In file included from /Library/Developer/CommandLineTools/usr/include/c++/v1/__string:56:
In file included from /Library/Developer/CommandLineTools/usr/include/c++/v1/algorithm:644:
/Library/Developer/CommandLineTools/usr/include/c++/v1/memory:668:12: fatal error: 'atomic' file not found

include

       ^~~~~~~~

1 error generated.

@foxik
Copy link
Member

foxik commented Jun 2, 2020

I would expect that your compiler is not C++11, but some older standard, because atomic was added only in C++11, see https://en.cppreference.com/w/cpp/atomic/atomic. C++11 is required for building UDPipe (there is no way around 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

No branches or pull requests

2 participants