User forums > Using Code::Blocks

Newbie question - wxSmith and its contrib items??

(1/1)

softfoot:
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

MortenMacFly:

--- Quote from: softfoot on April 14, 2009, 05:31:10 pm ---Have I missed a build step here ??  Do I have to add the flatnotebook sources to the wx directory??

--- End quote ---
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... ;-)

softfoot:
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

Navigation

[0] Message Index

Go to full version