Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: BobM on May 12, 2015, 12:46:23 am

Title: My first project
Post by: BobM on May 12, 2015, 12:46:23 am
Hi

I have opened an existing project namely- cgp-Library.cbp
This project is provided by http://www.cgplibrary.co.uk/

I have selected one of the provided examples and done a 'build'
When I try to 'run' it I get the following message..........

You must select a host application to 'run' a library

What exactly should I be doing to run each of the examples, one at a time, to see the output ?

Bob M
Title: Re: My first project
Post by: Jenna on May 12, 2015, 06:26:45 am
I suggest asking the developers of the library and not the developers of the IDE, they should know it.
Title: Re: My first project
Post by: BobM on May 12, 2015, 09:45:16 am
thanks............

It is up to the user as to which IDE he/she uses with this library

I just presumed that the error message pertained to Code:Blocks and not the library

Bob M
Title: Re: My first project
Post by: Jenna on May 12, 2015, 09:52:36 am
thanks............

It is up to the user as to which IDE he/she uses with this library

I just presumed that the error message pertained to Code:Blocks and not the library

Bob M
If you build a library, you can (of course) not test it directly but you need an (example) application using it.
You can configure this application in "Project -> Set program's arguments" .