Author Topic: build and run within CB IDE is fine ,but run .exe file outside CB is error  (Read 4127 times)

Offline maninthewind

  • Single posting newcomer
  • *
  • Posts: 4
hi ,
It was fine to run a simple wxwidget with wxsmith program in CB .but it displayed an error like 'couldn't find wxbase28ud_gcc.dll' when I run the .exe file in F:\CodeBlocks\project\client\bin\Debug.
I saw this dll file is in F:\wxWidgets2.8\lib\gcc_dll

ps:I use wxPack_v2.8.8.04.exe  (F:\wxWidgets2.8)  and codeblocks-8.02mingw-setup.exe (F:\CodeBlocks) .



Can someone help me? :)



Offline jens

  • Administrator
  • Lives here!
  • *****
  • Posts: 7254
dll's have to be either in executables directory or in the systems search path.

Offline maninthewind

  • Single posting newcomer
  • *
  • Posts: 4
thanks,jens.
it works.

Offline dje

  • Lives here!
  • ****
  • Posts: 683
Hi,

more info on dll search order at this place.

Dje