-
Notifications
You must be signed in to change notification settings - Fork 147
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
PICKit 2: MSVC build of avrdude Windows binary does not work #1006
Comments
BTW, there is no issue with avrdude msvc CMake related files. I just built avrdude using VS2022 from the source using the instructions mentioned in the Wiki and the binary is okay. So somehow the github action build is the problem. Reference: CMake configure output from my VS2022 build
|
If I looked at github action MSVC build, somehow it does not detect libhid. Ref: https://github.com/avrdudes/avrdude/runs/7188141729?check_suite_focus=true#step:4:43
|
No idea why this happens, maybe it has something to do with the CI environment. In the end, probably the following is the ultimate fix. |
This may be related to the Windows SDK version used in github action. As of now, this is used. https://github.com/avrdudes/avrdude/blob/main/.github/workflows/build.yml#L214
I am thinking that github actions like the following may help. Ref: or maybe we can just change that to a supported version. I will try this as well. |
Unfortunately, the above two methods do not help at all.
Then it failed to build if I hard code the libhid path. The linking step failed. |
Somehow the official avrdude-7.0 Windows binary release and the github action Windows MSVC build do not work with PICKit 2.
MSYS2 build has no issues.
The text was updated successfully, but these errors were encountered: