You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello @NHDaly , thank you very much for this GREAT package, i am in love with Julialang
having said that 👍 .
I had a couple of problems in Windows 10 using Julia 1.1.0
there is nothing special about my Windows installation or Julia installation or environment in general.
ERROR: Unable to find compatible target in system image. < this error was due to the following line, more specifically, the default value for cpu_target
i was not able to solve this by changing to cpu_target = string(Base.Sys.ARCH) but i was able to solve this by setting it to cpu_target = nothing. How it worked and why i had this problem is a mistery to me
I had some problems trying to create an installer as well
i don't have the exact error message here now to copy and paste to you but i'll try to reproduce as faithfully as i can UndefVarError: win_installer is not defined< something like that
I managed to sort this out by adding the following lines to the top of ApplicationBuilder.jl just below the Sys.isapple() check
@staticif Sys.isapple()
include("sign_mac_app.jl")
include("mac_commandline_app.jl")
end""" THIS """@staticif Sys.iswindows()
include("win-installer.jl")
end
After being able to access the win_installer method, i had another error
UndefVarError: JULIA_HOME is not defined
I managed to fix that by changing these lines
functionwin_installer(builddir; name ="nothing",
license ="$JULIA_HOME/../License.md")
I'm not sure why you build your paths this way joinpath(builddir, "..", "$name.nsi") or "$JULIA_HOME/../License.md" because i'm new to Julia and arrived on Version 1.1.0 already, maybe that's the way it used to work before, i don't know.
This doesn't resolve to parent folder
joinpath(builddir, "..")
this does
abspath(builddir, "..")
Also, for some reason makensis kept throwing not file or directory [ENOENT] at me even though the file was there so i had to download a NSIS software, load the script and build the installer manually.
After those fixes i made everything work and managed to build a Windows Executable Application with an Installer but let me know your thoughts about this, i will be making a Pull Request with the above changes because it definitely will crash on other Windows 10 users.
The text was updated successfully, but these errors were encountered:
Hello @NHDaly , thank you very much for this GREAT package, i am in love with
Julialang
having said that 👍 .
I had a couple of problems in Windows 10 using Julia 1.1.0
there is nothing special about my Windows installation or Julia installation or environment in general.
ERROR: Unable to find compatible target in system image.
< this error was due to the following line, more specifically, the default value forcpu_target
i was not able to solve this by changing to
cpu_target = string(Base.Sys.ARCH)
but i was able to solve this by setting it tocpu_target = nothing
. How it worked and why i had this problem is a mistery to mei don't have the exact error message here now to copy and paste to you but i'll try to reproduce as faithfully as i can
UndefVarError: win_installer is not defined
< something like thatI managed to sort this out by adding the following lines to the top of
ApplicationBuilder.jl
just below theSys.isapple()
checkAfter being able to access the
win_installer
method, i had another errorUndefVarError: JULIA_HOME is not defined
I managed to fix that by changing these lines
to these lines
BTW, in Windows at least,
"$JULIA_HOME/../License.md"
this doesn't seem to resolve to a valid pathso i also had to change the
nsis_file
path fromto
I'm not sure why you build your paths this way
joinpath(builddir, "..", "$name.nsi")
or"$JULIA_HOME/../License.md"
because i'm new to Julia and arrived on Version 1.1.0 already, maybe that's the way it used to work before, i don't know.This doesn't resolve to parent folder
this does
makensis
kept throwingnot file or directory [ENOENT]
at me even though the file was there so i had to download aNSIS
software, load the script and build the installer manually.After those fixes i made everything work and managed to build a Windows Executable Application with an Installer but let me know your thoughts about this, i will be making a Pull Request with the above changes because it definitely will crash on other Windows 10 users.
The text was updated successfully, but these errors were encountered: