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
Latest release stlink-1.8.0-win32 doesn't run #1364
Comments
@sijk It did run successfully on Windows 11 where it has been tested originally. |
Just reviewed: We never published a |
There appears to be a bug in the compilation routine somewhere regarding the binding of |
@sijk I'm confident that a patch will be available soon. |
We still need to find the correct C-Make prefix for the provided config files in our top-level |
Thanks for the updates. It sounds like the relative path issue should be solvable with the appropriate CMake contortions. Regarding libusb, all I know is that if I unzip stlink-1.7.0-x86_64-w64-mingw32.zip then I can run bin/st-util.exe successfully, but if I unzip stlink-1.8.0-win32.zip on the same machine then bin/st-util.exe gives the error in the original bug report. You're right that there's no libusb-1.0.dll in the v1.7.0 archive; perhaps it was statically linked? |
@sijk I know, I've done some testing with it here as well. |
I believe to have found the issue causing the undesired dynamic/shared linking with |
Unzipping the GitHub Release
stlink-1.8.0-win32.zip
and running the executables doesn't work:If I put a copy of
libusb-1.0.dll
in that directory then I get the following:It's searching for the chip configs at a hard-coded absolute path. If I copy the config files to that path then everything works, but it's a pain to have to do that.
Expected behaviour:
libusb-1.0.dll
is present out of the box,The text was updated successfully, but these errors were encountered: