User forums > Using Code::Blocks

wxwidgets build and compile problem

(1/2) > >>

poda19:
Hi, i have a problem
i have installed wxpack in win xp sp3
when i create a project and check the 'use wxwidgets dll', the program builds and runs fine. but when i compile it and run the .exe file it gives this error: "The application couldn't start, because 'wxmsw28u_gcc.dll" was not found."
then if i unckeck the 'use wxwidgets dll', the program won't be built and it gives "undefined reference to _Unwind_*" errors.

additional information: i have read WxWindowsQuickRef, it says it is a bulid problem for wxwidgets. but as i have installed wxpack it doesn't make sense.
i use global variable for wxwidgets location in project.
when i check the wxwidgets directory, in dll folder there are many dlls but there is not wxmsw28u_gcc.dll.other dlls with similar names are there.
wxwidgets are not in same drive with gcc and codeblocks

i know it was discussed in a topic before but that didn't help.

thanks in advise

MortenMacFly:

--- Quote from: poda19 on August 04, 2011, 10:51:24 am ---then if i unckeck the 'use wxwidgets dll', the program won't be built and it gives "undefined reference to _Unwind_*" errors.

--- End quote ---
Remember, that you need to re-build is you are changing the underlying framework.

poda19:
i don't understand, i'm not rebuilding anything, just trying to build my GUI hello world
in create new project options, if i check the 'use dll', it  builds but .exe doesn't run. if i don't check it it doesn't even build.

Freem:

--- Quote from: poda19 on August 04, 2011, 10:51:24 am ---when i check the wxwidgets directory, in dll folder there are many dlls but there is not wxmsw28u_gcc.dll.other dlls with similar names are there.

--- End quote ---

Is there is a wxmsw28u_gcc_custom.dll ?
If the problem is the one about I think, then it is because you don't use an official build of wxWidgets (wxPack is not official if I remember correctly) and so the name of dll is not wxmsw28u_gcc.dll. The most probable is that it's name is wxmsw28u_gcc_custom.dll.

If it is this problem you have, try to modify in your C::B's project the dll name (adding the "_custom" part).

stahta01:

--- Quote from: poda19 on August 04, 2011, 10:51:24 am ---when i check the wxwidgets directory, in dll folder there are many dlls but there is not wxmsw28u_gcc.dll.other dlls with similar names are there.
wxwidgets are not in same drive with gcc and codeblocks

--- End quote ---

And, the DLL names you have are what?

Note: Some versions of wxPack use different Compiler Versions that are not compatible with other Compilers of the same name; but different version/builds.

Tim S.

Navigation

[0] Message Index

[#] Next page

Go to full version