-
Notifications
You must be signed in to change notification settings - Fork 62
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
zgt install with zigmod doesn't work #18
Comments
I see , commit introduced this change. perhaps this should be |
Ah yes, I changed the way zgt should be installed. I'll change the instructions on the README very soon. const pathToZgt = ".zigmod/deps/git/github.com/zenith391/zgt/";
try deps.imports.zgt.install(exe, pathToZgt); And then it should work! The reason, I changed the way its done is because zgt needs to copy some files and link specific objects when compiling for Windows. Using zigmod's default capabilities it wasn't possible, so I spoke with nektro who suggested this new system. |
I need not do this on Linux:
Zigmod is emitting the right compiler flags for gtk and C without having to call the Also, the
|
zig version : 0.10.0-dev.3050+e05487746
OS: 5.3.0-64-generic #58-Ubuntu SMP x86_64 GNU/Linux
zigmod: custom version with a commit on top of zigmod master to fix a breaking change in zig version mentioned above
Following instruction in the README, my zig build ends with the following error
On closer inspection, it looks like the pkg root of zgt is set to
.zigmod/deps/git/github/zenith391/zgt/build_zgt.zig
.Here is the
deps.zig
entrybuild_zgt.zig
is the main entrypoint inzgt
'szigmod.yml
file.If however, I manually tweak this
path
to point to_deeztnhr07fk ++ "src/main.zig"
instead ofbuild_zgt.zig
, it works fine. and I get a UI rendered on my desktop.Did something change in zigmod or zig that broke this behaviour, or is the
install
fn inbuild_zgt.zig
not supposed to be run, or is it supposed to run using an additional step such asdeps.doSomething()
?The text was updated successfully, but these errors were encountered: