mingw-w64 Windows build from git failing on libssh.dll

Discussion about CodeLite development process and patches
guyr
CodeLite Enthusiast
Posts: 11
Joined: Wed Feb 01, 2017 11:16 am
Genuine User: Yes
IDE Question: C++
Contact:

mingw-w64 Windows build from git failing on libssh.dll

Post by guyr »

I've been building CodeLite from git on Windows 7 64-bit for about 6 months without issue, starting with some version of CodeLite 10. I'm doing this because I submitted a bug to WxWidgets, and wanted to test with CodeLite. I'm using the MingW-w64 compiler. I'm building the Win_x64_Release configuration.

A recent pull of CodeLite would build fine, but when I tried to run it would ask me for libssh.dll. After trying a large number of solutions, I found that copying libssh64.dll to libssh.dll solves the problem. I spent so much time finding the solution that I haven't traced down the build issue that is causing this.

Thanks.

[UPDATE] I may have found the issue. If I look at sdk/libssh/lib/libssh64.dll.a, and do a regex search for "libssh.*\.dll", I find libssh.dll. If I do the same search in the same file on a copy of the the version 10 source, I find libssh64.dll. So, apparently the libssh64.dll currently in the git repo has not been properly generated.

[UPDATE 2] I created an issue for this: https://github.com/eranif/codelite/issues/1872