-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[compatibility] undefined reference to `libusb_set_option' #896
Comments
Please try the |
The mentionned error isn't displayed but the compilation failed. |
I want to add a remark. The last log indicates that I have already libusb in my system. What is your opinion about this. |
@purjus74 I think the problem with libusb, that you download manually. |
@slyshykO: You are right, I did not notice at first that an external |
I think this behavior (error during libusb-1.0.22.7z extraction) is due to my compagny protection :( But I'm not sure that is a problem to download before the good libusb archive and put it inside the build folder.
|
@purjus74: Does your whole compilation succeed now? |
The problem is that windows have many options on how to install libusb, also many compilers with different ABI. That is why we should provide windows builds. |
I just tried on other machine (without old libusb inside C:\Windows\System32) and it's work (with develop branch, last commit #a09ef54). |
Thank you for your support and for your job ;) |
Reopening this as documentation and related work remains outstanding... |
- Added info on version support - Updated compiling instructions - Updated minGW-w64 gcc-TC to v8.1.0 - Minor formatting fixes (Closes stlink-org#896, stlink-org#897, stlink-org#899)
Hi all,
I will try to compile the project on Windows 10 with MinGW-w64 without success.
The error is:
C:/stlink/src/sg.c:972: undefined reference to 'libusb_set_option'
My environement is:
Can you help me?
Complete log of the compilation: log.txt
Thank you in advance.
Ju
The text was updated successfully, but these errors were encountered: