User forums > Using Code::Blocks
wxWidget issue (wxmsw28ud_gcc.dll related)
JoeDaStudd:
Hi all,
I've just installed the wx pack on my pc (Windows XP) and created a few programs using code::blocks.
They all work when I run them from within code::blocks, but when I try to run the .exe generated (both the debug and release ones) I get the following error;
This application has failed to start because wxmsw28ud_gcc.dll was not found. Re-installing the application may fix this problem.
I'm lost on how to fix this as I'm just starting out with both Code::Blocks and wxwidgets.
PS I think this may have something to do with it.
When I re-compile the program I get a few warnings saying;
/wx pch.h/Debug wx pch h gvh;: created using different flags.
Thanks for any help in advance,
Joe
Jenna:
It's not a C::B problem, but a problem with to less knowledge of your OS.
Make sure the dll's you need are in the searchpath or in the same directory as your applications executable, or they can not be found.
JoeDaStudd:
Out of curiosity why does it work when code::blocks runs the the program?
The search directory for the compiler/linker and resource compiler point to the folder containing the .dll in question and I still get the issue.
What do I need to change to get this to run from the .exe?
alb_cb_moon:
I had the same problem, the soluton is add the directory of dll's
(in my case: C:\project\wxWidgets-2.8.8\lib\gcc_dll;), in the computer's
environment variable path.
[attachment deleted by admin]
ohir:
If project was compiled with MinGW gcc, mingwm10.dll has to be in your search path or in executable's directory.
Navigation
[0] Message Index
[#] Next page
Go to full version