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

CLion IDEA 2019.2 EAP #31

Open
bondrewd opened this issue Jul 14, 2019 · 7 comments
Open

CLion IDEA 2019.2 EAP #31

bondrewd opened this issue Jul 14, 2019 · 7 comments
Labels
bug Something isn't working

Comments

@bondrewd
Copy link

bondrewd commented Jul 14, 2019

Hi! I'm reporting here the error I get since the github link is broken in CLion.
log.txt

Also, I'm not sure if it is related to the newer versions of zig, but when I am building a project, it adds the flag "--zig-install-prefix" that is not recognized by the zig compiler.

/Users/diego/.local/bin/zig build-exe /Users/diego/CLionProjects/mdtools/src/main.zig --zig-install-prefix "" --output /Users/diego/CLionProjects/mdtools/out/buildmain
Invalid argument: --zig-install-prefix
See `/Users/diego/.local/bin/zig --help` for detailed usage information
@bondrewd
Copy link
Author

I just noticed that the "install prefix" thing is part of the build system, but still, I can't figure out how to make it work. I think it is a stupid mistake I'm making while setting up the environment...

@ice1000
Copy link
Owner

ice1000 commented Jul 14, 2019

Oh no

@ice1000
Copy link
Owner

ice1000 commented Jul 14, 2019

The error should be an easy fix, but the build error should be reported to https://github.com/ziglang/zig, I think.

@ice1000 ice1000 added the bug Something isn't working label Jul 14, 2019
@bondrewd
Copy link
Author

Thank you for your response! I am new to zig, so I am not pretty sure if "--zig-install-prefix" is a bug, or if I am doing something wrong, or if it is a deprecated flag, or ...

I think I'll need to do some tests in order to figure it out.

@ice1000
Copy link
Owner

ice1000 commented Jul 14, 2019

Maybe reading the manual?

@Mikhail57
Copy link

The argument --zig-install-prefix was deleted from zig since this commit — ziglang/zig@7b2cb7e

@nmikros
Copy link

nmikros commented Jul 7, 2021

I'm sorry, is there a fix here? Everything circles back to this post but I don't see a work around.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants