I've submitted an issue: *https://github.com/JuliaLang/julia/issues/13570*
On Monday, October 12, 2015 at 1:45:24 AM UTC-4, bernhard wrote: > > Hi all > > I am trying out the example shown in > http://julia.readthedocs.org/en/latest/manual/embedding/ > > I can compile successfully with gcc (MSYS2) with the following command > > gcc.exe -o test -I"C:\Program > Files\Juno\resources\app\julia\include\julia" -L"C:\Program > Files\Juno\resources\app\julia\bin" -Wl,-rpath,"C:\Program > Files\Juno\resources\app\julia\lib\julia" "R:\TariffWatch New > Repo\algorithms\Julia\Testing\test.c" -lm -ljulia > > The test.c file contains the few lines from the documentation. I only > changed the arguments to jl_init (to the julia bin folder) and > jl_atexit_hook (to 0). > > However when I run the compiled code I get "Exception: > EXCEPTION_ACCESS_VIOLATION at 0x0 -- uknown function (ip:00000000000000). > > Can anybody help me with this? > > I note that I did not compile julia (would that be necessary?). I am using > the binaries from the website. > > Thank you. > Bernhard >
