Author Topic: Newbie question - wxSmith and its contrib items??  (Read 3251 times)

Offline softfoot

  • Single posting newcomer
  • *
  • Posts: 5
Newbie question - wxSmith and its contrib items??
« on: April 14, 2009, 05:31:10 pm »
Please forgive a newbie question but several attempts at searching for a solution have yielded nothing.

I have installed the latest CB (8.02) and wxWidgets (2.8.10) and have built the wxWidgets libraries OK and I am using wxSmith.
Various "hello world" programs work OK as do the wxSmith tutorials :-)

However, I want to use one of the contributed items that appear on the toolbar (ie wxFlatNoteBook) and I can add this to my project but when I compile the project it fails because of missing include files (eg wxFlatNoteBook.h).

Have I missed a build step here ??  Do I have to add the flatnotebook sources to the wx directory??

Any help appreciated.
Dave

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: Newbie question - wxSmith and its contrib items??
« Reply #1 on: April 14, 2009, 08:26:59 pm »
Have I missed a build step here ??  Do I have to add the flatnotebook sources to the wx directory??
Notice that wxFlatNotebook is not part of the wxWidgets release. It's an addition developed by Eran Ifrah (alias "eranif"). You can access the sources at:
http://sourceforge.net/projects/wxflatnotebook
You need to compile this as a library in order to work.
The same applies to the other wxSmith contrib items, like e.g. wxChart.

That's why they are called "contrib" btw... ;-)
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline softfoot

  • Single posting newcomer
  • *
  • Posts: 5
Re: Newbie question - wxSmith and its contrib items??
« Reply #2 on: April 14, 2009, 08:46:34 pm »
I appreciate the need to produce a library :-)

I think I lack a more fundamental understanding of what is needed ...

Is there a tutorial describing how to take a downloaded contrib pakage, compile it (and with what tools (eg CB, devcpp, ...), how to install the resulting output so that wxSmith/CB can find the source and include files ???

Really struggling here to understand how this fits together :-(

Any help welcome
Dave