dhoegh / BuildExecutable.jl

Build a standalone executables from a Julia script
Other
156 stars 21 forks source link

Fails with "@unix_only not defined" #44

Open dluciv opened 7 years ago

dluciv commented 7 years ago

Fails with @unix_only not defined on:

timofeymukha commented 7 years ago

Experiencing this too.

nodrygo commented 7 years ago

idem Linux Mint 64bits Julia 0.6.0

akaldine commented 7 years ago

https://github.com/dhoegh/BuildExecutable.jl/commit/7da95d8855f90da89431eb8d11520e8c9f15ffac

nodrygo commented 7 years ago

Works fine for simple code thank's

tomchor commented 6 years ago

This is my first time trying this package, so I might be doing something wrong, but I'm also experiencing this. Fails even with this very simple code for me:

function rowcol(N)
    # preferred way
    A=zeros(N,N)
    for j=1:N
        for i=1:N
            A[i,j]=i+j*N
        end
    end
end

function colrow(N)
    A=zeros(N,N)
    for i=1:N
        for j=1:N
            A[i,j]=i+j*N
        end
    end
end

println(rowcol(10000))