-
Notifications
You must be signed in to change notification settings - Fork 323
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
[Bug] Weird problem about corrosion #355
Comments
Hi! Thanks for opening your first issue here! 😄 |
possibly related: #318 (comment) #354 |
Sorry to not mentnion. In my case, it was windows not linux. |
@coolit Have you tried removing the FetchContent lines from your rust.cmake? When you already have the package you should only need the find_package line. |
@Desdaemon Yes, after removing thm, seems the problem is gone now. Thanks so much. |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new issue. |
Describe the bug
In the rust.cmake, I have enabled this:
find_package(Corrosion REQUIRED)
And have install corrosion as per here:
https://github.com/corrosion-rs/corrosion#installation
And put the following in the system PATH: (as I'm not sure which one should be used, so I use all)
C:\Program Files (x86)\Corrosion\Corrosion\lib
C:\Program Files (x86)\Corrosion\Corrosion
C:\Program Files (x86)\Corrosion
But when I ran exactly the same command such as "flutter build windows", sometimes the problem occurred, sometimes didn't.
According to the log, it was trying to access 'https://github.com/AndrewGaspar/corrosion.git/', regardless of that corrosion is already installed.
Do you have an idea how to solve this problem?
Thanks.
Codegen logs with
RUST_LOG=debug
env variableThe text was updated successfully, but these errors were encountered: