-
-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
error: ‘BasicJsonType’ in namespace ‘::’ does not name a type #770
Comments
Seems to be this line: This is weird, the "simple-type-specifier" works since C++11, do you have a more recent GCC version to try? You could also take the latest release, it should work fine. |
I don't think the problem lies in the GCC version. The library passed on all tests. |
I think I solved it. I was running the last commit. Changed to v2.1.1 and it worked. |
Just some information for people running into the situation lately: The problem showed up again with v3.1.2 when compiling with nvcc 9. Upgrading to CUDA 10 will automatically solve it. Apparently this is an issue of the nvcc compiler. |
This answer can solve the problem. |
I'm using g++ 5.4.0 and nvcc 8.0.44 to compile the most recent commit of the library. I compiled, installed the library, and included in my code (with C++11 flag) but when I try to compile my code I get:
What am I missing?
The text was updated successfully, but these errors were encountered: