User forums > Help

About wxmsw28u_gcc_custom.dll

(1/6) > >>

zac:
Dear all,

I'm trying to create a project using wxWidgets DLL and enable unicode. The issue is, if I want to have a version of wxmsw28u_gcc_xxx.dll instead of wxmsw28u_gcc_custom.dll, like Code:Blocks using wxmsw28u_gcc_cb.dll, how can I configure the project to look up the wxmsw28u_gcc_xxx.dll?

Thanks a lot.

zac

raph:
You need to overwrite the VENDOR variable when compiling wxWidgets.
see build/msw/config.gcc

--- Quote ---# Use this to name your customized DLLs differently
VENDOR := custom
--- End quote ---

zac:
Dear raph,

Sorry, I've not made myself clear. I've already compiled the wxmsw28u_gcc_xxx.dll with the makefile VENDOR=xxx option already. The problem is, when I create a project in Code:Blocks, how can I configure the project to use wxmsw28u_gcc_xxx.dll? (Projects created with the wizard will use wxmsw28u_gcc_custom.dll)

If I copy the wxmsw28u_gcc_xxx.dll to the exe folder and run the exe, it will complain that it cannot find the file wxmsw28u_gcc_custom.dll.

Thanks.

zac

raph:
You need to link against the libwxmsw28u.a being created when you compiled your wxmsw28u_gcc_xxx.dll.
You probably have some wxmsw28u_gcc_custom.dll wxwidgets folder around. Simply adjust the path of the global variable you specified in wxWidget wizard ("wx" by default) to point to wxmsw28u_gcc_xxx.dll wxwidgets folder.

zac:
Dear raph,

I've used the default folder of wxWidgets to compiled the wxmsw28u_gcc_xxx.dll and should I change the global variables?

Since when I create a new project with the wizard, it is ok and have the source file created for me. However, when I compiled and run my project, it is still looking for the wxmsw28u_gcc_custom.dll.

Thanks.

zac

Navigation

[0] Message Index

[#] Next page

Go to full version