-
-
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
I get the error 'jl_atomic_load_relaxed: identifier not found.' #39595
Comments
Looks like the MSVC versions of these are missing from atomics.h |
Thank you for your answer. I think the following lines should be added to Atomics.h file. template<typename T>
static inline T jl_atomic_load_relaxed(volatile T *obj)
{
#code....
#code....
} |
Is there a reason compiler builtins are used instead of a higher level abstraction like stdatomic.h or mintomic? |
I got it to work with
I guess this is not ideal, since Some googling led me to believe that |
I also had to handle #34201 to get embedding to work (tried with Julia 1.6.0 in MSVC 2017), described what I did in that issue. |
I am using Julia 1.6.0-rc1. As stated at https://docs.julialang.org/en/v1/manual/embedding/, I made the necessary settings in Visual Studio 2019, but when I compile the code, I get the error 'jl_atomic_load_relaxed: identifier not found.'
Code:
Error:
The text was updated successfully, but these errors were encountered: