Code::Blocks Forums

User forums => Help => Topic started by: Rakan on May 04, 2008, 12:36:12 am

Title: Ubuntu and wxFlatNotebook
Post by: Rakan on May 04, 2008, 12:36:12 am
Hello,
I am working on Ubuntu Hardy and developing a simple app using CodeBlocks in C++.
I included the wxFlatNotebook control to my frame but it didn't compile because the header files were not there. I managed to get the files from sourceforge, i knew where to place the header files for this control but not the cpp files. They are included in the src directory of wxFlatNotebook.
Even though headers are there CodeBlocks gives me:
Code
Main.cpp|66|undefined reference to `wxFlatNotebook::wxFlatNotebook(wxWindow*, int, wxPoint const&, wxSize const&, long, wxString const&)'|
I know its because the cpp files are missing, but where am i supposed to put them on my Ubuntu?

Thanks,
Rakan
Title: Re: Ubuntu and wxFlatNotebook
Post by: byo on May 04, 2008, 10:09:21 pm
Did you try to include cpp files into your project? You probably won't even have to create separate target for them.

Regards
   BYO