Code::Blocks Forums

User forums => Help => Topic started by: Sord on May 09, 2011, 04:41:56 am

Title: How to build library from source?
Post by: Sord on May 09, 2011, 04:41:56 am
Hi

Yes I mean librarys made by someone else.

So I create static library project and if I am lucky I found the one .cpp file from source pack that includes mainloop. Ok now if I am trying to build it says "You have to add host application..." or something like that. I know what it means (it need some application that test this library). But how I make test .exe to library without library because i haven't exe because i havent library because i havent exe because i havent libary...??? Yes I am windows users too so its not enought to write to console "fix_all_problems" command.

edit:
Example http://tvmet.sourceforge.net/. I dont find there even that main loop file? What I really should do?


Thanks for your help
Title: Re: How to build library from source?
Post by: Jenna on May 09, 2011, 06:43:25 am
Just build and not build and run the library.
You only get this mess<age if you try to run a library.