User forums > Using Code::Blocks

Newbie wxFlatNotebook build problem

(1/3) > >>

VinceI:
Hi there,

I'm checking out code::blocks and trying to build an app with svn 4845 on Debian Lenny testing.
I created a wxSmith project consisting of a wxSplitter Window, wxTreeControl and wxFlatNotebook in a wxGridSizer.

When I build the app, I get 6 errors:
Undefined reference to wxFlatNotebook::wxFlatNotebook(wxWindow*, int....
Undefined reference to wxFlatNotebook::addPage(wxWindow*, wxString....
Undefined reference to wxFlatNotebook::addPage(wxWindow*, wxString....
Undefined reference to wxFlatNotebook::wxFlatNotebook(wxWindow*, int....
Undefined reference to wxFlatNotebook::addPage(wxWindow*, wxString....
Undefined reference to wxFlatNotebook::addPage(wxWindow*, wxString....

The plugin is present, even tried a project using wxFormBuilder, simmilar problem.
Am I missing something ??

orel:
That's because wxFlatNotebook is not part of wxWidgets library but it is an additional widgets.

You have to build it yourself before using it. You will find the source code of wxFlatNotebook (with a cb project file i think) by checking out one of CB svn directory, but i can't tell you which one (not at home)

orl

VinceI:
Thanks, will look into it.

hrle:
Can you please explain how did you manage to build wxFlatNotebook.
And yeah, Code::Blocks rocks! It is very mature piece of software. Currently, I use it on my collage and I am very thankfull for all of you who contribute to this project.

VinceI:
I didn't pursue this any further --- yet.
I decided to learn the language so I can hand-write my code instead of using an IDE.
There are lots of benefits going that direction, maybe someone else will give a reply.

Navigation

[0] Message Index

[#] Next page

Go to full version