User forums > Using Code::Blocks

How to change the "wxWidgets library settings" in a created project?

<< < (3/3)

TDragon:
You can't; thus the need to add all these additional libraries by hand. See above re: facts of life.

Biplab:

--- Quote from: 00061205 on July 24, 2008, 04:10:36 am ---How to re-run the wxWidgets project wizard without overwrite my project?

--- End quote ---

1) Open the project.
2) File > New > Build Target...
3) Select wxWidgets and follow the steps.

Please note that this will work if you don't change your project compiler.

00061205:

--- Quote from: Biplab on July 24, 2008, 06:21:34 am ---
--- Quote from: 00061205 on July 24, 2008, 04:10:36 am ---How to re-run the wxWidgets project wizard without overwrite my project?

--- End quote ---

1) Open the project.
2) File > New > Build Target...
3) Select wxWidgets and follow the steps.

Please note that this will work if you don't change your project compiler.

--- End quote ---
This method doesn't work. A lot of link errors show up. The libs must be add manually after re-run the wxWidgets project.
libwxpng.a
libwxzlib.a
libkernel32.a
libuser32.a
libgdi32.a
libwinspool.a
libcomdlg32.a
libadvapi32.a
libshell32.a
libole32.a
liboleaut32.a
libuuid.a
libcomctl32.a
libwsock32.a
libodbc32.a

00061205:
I found a way to solve this problem.
Open your project and then:
1.file->new->project
2.select wxWidgets project. next->next->next->next->next->next
3.uncheck the "Use wxWidgets DLL";check the "Create Empty Project"
4.right click the project name in management->projects windows->add files
4.add all source files.
6.build project.

Biplab:

--- Quote from: 00061205 on July 24, 2008, 07:39:58 am ---This method doesn't work. A lot of link errors show up. The libs must be add manually after re-run the wxWidgets project.

--- End quote ---

You've found a bug. A refactoring of wxWidgets wizard is necessary.

Navigation

[0] Message Index

[*] Previous page

Go to full version