User forums > General (but related to Code::Blocks)

Turn Empty Project into a Wxwidgets Project?

(1/3) > >>

CPF:
I was building a simple application using wxwidgets.
i did that by creating an Empty Project in code:blocks.
but then it seems that, i couldnt compile it properly.
is there any way to compile it by doing some settings? other than creating a new wxwidgets project ?

Thanks Much!

TDragon:
You could create a new wxWidgets project as a test and examine the differences in settings between the two projects.

mandrav:
Or create a new build target using the wxwidgets wizard (File->New->Target).

CPF:
Thanks for the replies..

i did try to create a wxwidgets project and check out the different..
even when i did every setting inside the "build option" exactly the same for both project..
i just simply couldnt comply it..
it had some error like "undefined reference"...
and the problem exists even when i tried the build target option

TDragon:
It's clear you missed something. "Undefined reference" errors come from the linker and indicate that you've failed to include an important library or object file. Make sure the correct wxWidgets libraries are being used, and make sure the linker can find them (i.e. your "undefined reference" messages aren't proceeded by a "can't find -lwxmsw" message).

Navigation

[0] Message Index

[#] Next page

Go to full version