Author Topic: Building CB : cannot find -lexchndl.dll: No such file or directory  (Read 134 times)

Offline charles5577

  • Multiple posting newcomer
  • *
  • Posts: 14
I have been using wxWidgets + CodeBlocks for quite a few years now. Very good IDE. Every year or so I check for updates and reinstall everything including the compiler. Before I used the TDM-GCC compiler but this time I switched to the MSYS2. I downloaded a functional version of CodeBlocks and then tried to build a new version of CodeBlocks using CodeBlocks_wx32_64.cbp. It does not find exchndl.dll.

exchndl.dll exists in "C:\msys64\codeblocks_25.03\src\exchndl\win64\bin"
I tried moving it to "C:\msys64\codeblocks_25.03\src\exchndl\win64\lib" but that did not work.
I tried renaming it to exchndl.dll.a. That did not work.

For the linker, line 150 of CodeBlocks_wx32_64.cbp has "<Add library="exchndl.dll" />" and line 166 has         
"<Add directory="exchndl/win64/lib" />".

I am wondering if the new compiler/linker does not accept a dll as a linkable library.

Can anyone help with this?

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7835
    • My Best Post
Are you trying to build the last release or a recent SVN version of CB?

If last release, build the package linked here https://github.com/msys2/MINGW-packages/blob/master/mingw-w64-codeblocks/PKGBUILD

Tim S
« Last Edit: Yesterday at 08:52:30 pm by stahta01 »
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org