User forums > Using Code::Blocks

why application can not find wxmsw28u_gcc_cb.dll?

(1/3) > >>

surefire:
I have compiled wxWidgets2.8.3 successfully and also built one wxWidgets program successfully. but when I execute it, the application failded to start because wxmsw28u_gcc_cb.dll cann't be fount. So I copy this dll into current directory of application, then anything is ok, why?

Project Settings:
  wxWidgets version:2.8.3
  GUI builder:wxFormBuilder
  Application Type:Frame based
  Using wxWidgets dll: checked
  wxWidgets is built as a monolithic library:checked
  Enable Unicode:checked
other settings are as default.

any idea?

thanks
Alex
 

Pecan:
a dll has to be either in the directory of the executable module that uses it, or on the system path.

Type "path" in a dos box (console) to see the directories that are searched for dll's.

surefire:
I compiled wxWidgets as static lib again. this time wxWidgets application run normally.

my question is:Whether I should distribute the wxmsw28u_gcc_cb.dll and my application together if I checked Using wxWidgets Dll ?

surefire:
And the application is so large that almost up to 5M though I don't add any other codes in my project.  :(

Biplab:
I believe your application is linked against wxmsw28u_gcc_custom.dll which is normally created when you compile wx as dll.

In both the cases you've to distribute 5+MB. So now it's upto you. :)

Navigation

[0] Message Index

[#] Next page

Go to full version