Biplab, I have changed the global variable settings to have base pointed to K:\DEV\bin\wxWidgets-2.8.4, include pointed to K:\DEV\bin\wxWidgets-2.8.4\include and lib pointed to K:\DEV\bin\wxWidgets-2.8.4\lib, but I got error when using the wizard to create a new project. This back to the original question of how to make CB to use the wxmsw28u_gcc_xxx.dll as CB seems to look for wxmsw28u_gcc_custom.dll instead.
Wizard looks for appropriate (import) libraries. So if you provide the following information to the wizard:
Shared= true, Unicode = true, Monolithic = true,
$(#wx)=C:\foo then wizard will look for-
- C:\foo\lib\gcc_dll\libwxmsw28ud.a for Debug configuration
- C:\foo\lib\gcc_dll\libwxmsw28u.a for Release configuration
This ensures that you have the proper libraries installed.
I guess in your case a
libwxmsw28u.a file exists in your
C:\MinGW\lib folder. That could be the cause that despite you provide link to the new import library it tries to load old dll.
BTW, the errors you have posted shows that there is no
setup.h file inside
K:\DEV\bin\wxWidgets-2.8.4\lib\gcc_dll\mswu\wx folder. Which also means that there is no library inside
K:\DEV\bin\wxWidgets-2.8.4\lib\gcc_dll\ folder.