Closed
Description
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:
#include <uv.h>
#include <Windows.h>
#include <julia.h>
int main(int argc, char* argv[])
{
jl_init();
jl_eval_string("print(sqrt(2.0))");
jl_atexit_hook(0);
return 0;
}
Error:
'jl_atomic_load_relaxed': identifier not found julia.h 880
'jl_atomic_load_relaxed': identifier not found julia.h 924
'jl_atomic_load_relaxed': identifier not found locks.h 24
'jl_atomic_load_relaxed': identifier not found locks.h 40