Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile EXE on non-VM, copy to VM gives "ERROR: Unable to find compatible target in system image" #231

Closed
jonbarkerlondon opened this issue Apr 25, 2019 · 1 comment

Comments

@jonbarkerlondon
Copy link

  1. Compile on my win10 x64 desktop,

  2. Copy the .EXE to WinServer2012 x64 VM

  3. Execute the EXE on the VM I receive the error above.

I guess this is due to different CPU features or something between the 2 computers.
Any recommendations? I could probably execute LD.exe on the VM targetting the .A file generated by PackageCompiler but trying to just copy the .EXE/.DLL directly.

Thanks

@jonbarkerlondon
Copy link
Author

Should have spent more time researching. Found this

#118
https://discourse.julialang.org/t/static-julia-compilation-with-own-package/1435/3

Fixed it by adding the parameter cpu_target="core2" or --cpu-target=core2 depending on how you execute PackageCreator.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant