Code::Blocks Forums

User forums => Help => Topic started by: Zahid.Aziz on September 05, 2006, 10:52:44 am

Title: Code Blocks can't find dll in Windows
Post by: Zahid.Aziz on September 05, 2006, 10:52:44 am
I have installed the latest nightly build for Windows following all the step at the link:

http://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_nightly_build_on_Windows

When I try to start Code Blocks it produces the message that wxmsw26u_gcc_cb.dll was not found, even though this dll is in the same directory as codeblocks.exe. I have also tried placing the dll in my Windows directory, and have re-booted the PC, but the message persists.

Presumably I have overlooked something simple. Any advice would be appreciated.

Zahid.
Title: Re: Code Blocks can't find dll in Windows
Post by: kelo81 on September 05, 2006, 11:28:13 am
Hello,

Just download it from this link, and place it under the same path where the codeblocs.exe file is located:

http://prdownload.berlios.de/codeblocks/wxmsw26u_gcc_cb_wx2.6.3p2.7z
 (http://prdownload.berlios.de/codeblocks/wxmsw26u_gcc_cb_wx2.6.3p2.7z)
Title: Re: Code Blocks can't find dll in Windows
Post by: kelo81 on September 05, 2006, 11:51:39 am
One more thing, make sure you are not uncompresing the Nightly build under an ancient installation (try to sue a clean folder), the steps are quite intuitive:

- Uncompress the Codeblocks Nicghtly build into an empty folder.
- Place the unicode DLL on the same folder.
- If you don't have MingW installed on your system, you will need the mingw DLL, just download it from this link: http://prdownload.berlios.de/codeblocks/mingwm10.7z (http://prdownload.berlios.de/codeblocks/mingwm10.7z) and uncompress it into the CB folder.

It should be working rigth now  :D
Title: Re: Code Blocks can't find dll in Windows
Post by: Zahid.Aziz on September 05, 2006, 03:38:24 pm
I had followed exactly these instructions that you have listed, and the error occurred. I have never before downloaded or installed a nightly build. I have also tried downloading and installing this on another PC (which we keep in a "clean" state for development purposes), and got the same error upon starting Codeblocks, namely, that it cannot find the file wxmsw26u_gcc_cb.dll. But this file is right there in the Codeblocks directory!

Zahid
Title: Re: Code Blocks can't find dll in Windows
Post by: Zahid.Aziz on September 05, 2006, 04:37:56 pm
I have sorted out my problem. The zip file which I downloaded yesterday was in fact called:

wxmsw26_gcc_cb_wx2[1].6.3p2.7z

and not:

wxmsw26u_gcc_cb_wx2[1].6.3p2.7z

Therefore the dll is my directory was:

wxmsw26_gcc_cb.dll

and not:

wxmsw26u_gcc_cb.dll

I have got hold of the correct dll file now amd it is working. Thanks.
Title: Re: Code Blocks can't find dll in Windows
Post by: kelo81 on September 05, 2006, 06:21:07 pm
I have sorted out my problem. The zip file which I downloaded yesterday was in fact called:

wxmsw26_gcc_cb_wx2[1].6.3p2.7z

and not:

wxmsw26u_gcc_cb_wx2[1].6.3p2.7z

Therefore the dll is my directory was:

wxmsw26_gcc_cb.dll

and not:

wxmsw26u_gcc_cb.dll

I have got hold of the correct dll file now amd it is working. Thanks.

Yes, you used the ANSI build, that's the reason why I sent you the link to download the UNICODE version. The ansi build just works with ANSI Codeblocks compilations (you ahve to compile it by yourself).
Anyway, it's good to know that it is working right now  :D