Thank you for your answer.
That is not the case. I installed Julia 0.4 into the Juno folder.

One thing I am not entirely sure is whether I need CMake for this (and 
whether all executable/programs/processes know where it is installed). I 
have installed CMake, but its purpose is not clear to me.

I note that I can also compile with the help of julia-config.jl. But I do 
get the same error.


Am Montag, 12. Oktober 2015 13:05:54 UTC+2 schrieb Tracy Wadleigh:
>
> My guess is that your installed version of Julia is 0.3, while you are 
> building against a source tree that is 0.4+.
>
> On Mon, Oct 12, 2015, 1:45 AM bernhard <[email protected] <javascript:>> 
> 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
>>
>

Reply via email to