When trying to start OpenOCD, I got a message "missing dll libgcc_s_dw2-1.dll".
One option is to copy the file fromChibiStudio/tools/gnutools/bin to ChibiStudio/tools/openocd/bin
(I start OpenOCD from a batch file in the project directory, so maybe the dll isn't in the path).
Chibi 18 missing DLL for OpenOCD Topic is solved
- RoccoMarco
- Posts: 655
- Joined: Wed Apr 24, 2013 4:11 pm
- Location: Munich (Germany)
- Has thanked: 83 times
- Been thanked: 67 times
- Contact:
Re: Chibi 18 missing DLL for OpenOCD
Or maybe you can set the path in your bat file...
set PATH=C:\ChibiStudio\tools\gnutools\bin;%PATH%
I will add this dll by default in the next built
set PATH=C:\ChibiStudio\tools\gnutools\bin;%PATH%
I will add this dll by default in the next built
Ciao,
RM
RM
- Giovanni
- Site Admin
- Posts: 14453
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1076 times
- Been thanked: 922 times
- Contact:
- RoccoMarco
- Posts: 655
- Joined: Wed Apr 24, 2013 4:11 pm
- Location: Munich (Germany)
- Has thanked: 83 times
- Been thanked: 67 times
- Contact:
Re: Chibi 18 missing DLL for OpenOCD
I have to check this. BTW it is good as is for standard use (since the dll is added by the chibistudio start batch file)
Ciao,
RM
RM
Re: Chibi 18 missing DLL for OpenOCD
Giovanni wrote:Could it be compiled to not use DLLs?
Giovanni
Some of the comments on playembedded suggest its just a compiler switch.
(I could add paths to a batch file, but I prefer to keep as much as possible position-independent, since I don't always have Chibi installed on the same drive. And I'm not keen on long search paths)
- RoccoMarco
- Posts: 655
- Joined: Wed Apr 24, 2013 4:11 pm
- Location: Munich (Germany)
- Has thanked: 83 times
- Been thanked: 67 times
- Contact:
Re: Chibi 18 missing DLL for OpenOCD
It seems that link gcc statically would require an edit to the PKGBUILD which actually is a kind of standard.
Right now I have solved the problem adding the missing dll taking it from the compiler used to build openocd. I have also updated the related article on PLAY Embedded.
I will ask to Alexpux (the maintainer of PKGBUILD) if it makes any sense to create an alternative PKGBUILD to link dlls statically.
Attached the latest version of OpenOCD. Can you try it? If it is good I will create another ChibiStudio package. (Preview 19)
Thanks for reporting.
EDIT: tested on my side and it works
Right now I have solved the problem adding the missing dll taking it from the compiler used to build openocd. I have also updated the related article on PLAY Embedded.
I will ask to Alexpux (the maintainer of PKGBUILD) if it makes any sense to create an alternative PKGBUILD to link dlls statically.
Attached the latest version of OpenOCD. Can you try it? If it is good I will create another ChibiStudio package. (Preview 19)
Thanks for reporting.
EDIT: tested on my side and it works
- Attachments
-
- openocd.7z
- (1.21 MiB) Downloaded 217 times
Ciao,
RM
RM
Who is online
Users browsing this forum: No registered users and 3 guests