-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Julia 1.7.0beta4 atomics.h errors embedding Julia in C++ Windows 10 MSVC 2019 v142 #42098
Comments
vtjnash
added a commit
that referenced
this issue
Sep 7, 2021
vtjnash
added a commit
that referenced
this issue
Sep 8, 2021
vtjnash
added a commit
that referenced
this issue
Sep 8, 2021
vtjnash
added a commit
that referenced
this issue
Sep 8, 2021
vtjnash
added a commit
that referenced
this issue
Sep 9, 2021
vtjnash
added a commit
that referenced
this issue
Sep 10, 2021
vtjnash
added a commit
that referenced
this issue
Sep 10, 2021
vtjnash
added a commit
that referenced
this issue
Sep 15, 2021
KristofferC
pushed a commit
that referenced
this issue
Sep 28, 2021
LilithHafner
pushed a commit
to LilithHafner/julia
that referenced
this issue
Feb 22, 2022
LilithHafner
pushed a commit
to LilithHafner/julia
that referenced
this issue
Mar 8, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I get a host of compile errors (about 30) by trying to compile the simple "Embedding Julia in C++" https://docs.julialang.org/en/v1/manual/embedding/.
Here are the first 5:
1>C:\Users\VitalRoberto\AppData\Local\Programs\Julia-1.7.0-beta4\include\julia\julia_threads.h(321,5): error C2065: ‘__ATOMIC_SEQ_CST’: undeclared identifier
1>C:\Users\VitalRoberto\AppData\Local\Programs\Julia-1.7.0-beta4\include\julia\julia_threads.h(321,5): error C3861: ‘__atomic_signal_fence’: identifier not found
1>C:\Users\VitalRoberto\AppData\Local\Programs\Julia-1.7.0-beta4\include\julia\julia_threads.h(321,5): error C2065: ‘__ATOMIC_RELEASE’: undeclared identifier
1>C:\Users\VitalRoberto\AppData\Local\Programs\Julia-1.7.0-beta4\include\julia\julia_threads.h(321,5): error C3861: ‘__atomic_store_n’: identifier not found
1>C:\Users\VitalRoberto\AppData\Local\Programs\Julia-1.7.0-beta4\include\julia\julia_threads.h(325,9): error C2065: ‘__ATOMIC_SEQ_CST’: undeclared identifier
in 1.7, atomics.h doesn’t have good definitions for MSVC.
I copied the atomics.h from Julia 1.6.5 and got it to work (also had to define jl_atomic_cmpswap). Seems like someone overlooked this platform.
The text was updated successfully, but these errors were encountered: