From: Xiaofan C. <xia...@gm...> - 2021-07-23 09:48:20
|
On Fri, Jul 23, 2021 at 3:54 PM R. Diez <rdi...@ya...> wrote: > ... > This is the log from OpenOCD v0.11.0, but with the same libusb v1.0.24.11584: > > -------------------------------------------------------------------------------- > [ 0.002000] [000003b4] libusb: debug [libusb_init] created default context > [ 0.002000] [000003b4] libusb: debug [libusb_init] libusb v1.0.23.11397 > > But there is one important issue. Note that the libusb version that OpenOCD v0.11.0 > reports is v1.0.23.11397 . I was surprised. > > I manually deleted libusb-1.0.dll and I got the expected error "cannot > open shared object file". > > Then I placed the same libusb v1.0.24.11584 I have used with OpenOCD > v0.10.0, but OpenOCD v0.11.0 kept saying it was using version > v1.0.23.11397. > > Is it possible that OpenOCD v0.11.0 is opening the libusb DLL, but then > using a statically-linked version instead? Very good findings. It seems to me you can not just change the DLL with the github binary in this case. You may have to build by your own. -- Xiaofan |