but can’t really run it using the command provided
[19:59:36] ~\..\NewSysImageEnv on❯ julia -q -JExampleSysimage.so
ERROR: could not load library "C:\Users\aryan\Documents\NewSysImageEnv\ExampleSysimage"
The specified module could not be found.
Has anyone been able to solve this? I am trying to get PackageCompiler to work on my machine and run into the same issue. I thought it had to do with package dependencies not being properly installed, but even following the example in the documentation in a fresh environment fails in the same way as it is for @AbhimanyuAryan. I can’t get it to work on either a Windows 11 machine or my Mac.
I have found that this has been an issue in the past (issue#207), but it seems like it has been fixed at some point. Maybe something isn’t configured right in my environment or the documentation doesn’t reflect the current syntax?
This is not a great answer to your question, mainly because I have not followed the tutorial you used and can not help debug it, but: have you tried other more “automated” tools for making sysimages?
Thanks for the suggestion. It took a little while for me to get it up and running correctly (needed to make sure useCustomSysimage was check in VSCode), but it works very well. I’m getting something like a 2.5x speed-up when including files in a script that uses CairoMakie and GLMakie. A huge improvement. TTFP is also better. I will absolutely be using this.