Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

Compile Time Error

(1/3) > >>

puneet_m:
When I try to compile codeBlock I get the following error:

undefined reference to CreateBitmap@20. I tried including the necessary header file Windows.h, but the error does not go.

Any ideas as to what is the error?

Thanks,
Puneet

thomas:
You don't link with gdi32.

puneet_m:
Thanks for the reply. I linked with the gdit32, but now I am getting a different error:

undefined reference to '_imp__ZNK8wxStringllBeforeFirstEc'.

The error is because of the following line:
wxString option = token.BeforeFirst(':').

Thanks
Puneet

thomas:
You need to link with the wxWidgets library too.

puneet_m:
I have linked with wxWidget library too. The library name is wxmsw28u_gcc_custom.dll.

Can you still see what the problem might be?

Navigation

[0] Message Index

[#] Next page

Go to full version