Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ TheIDE » U++ TheIDE: Compiling, Linking, Debugging of your packages » Compiling own library in TheIDE (librarary as an output)
Re: Compiling own library in TheIDE [message #53059 is a reply to message #53024] Tue, 18 February 2020 18:24 Go to previous message
mirek is currently offline  mirek
Messages: 14267
Registered: November 2005
Ultimate Member
Lucas wrote on Mon, 10 February 2020 20:59
Hello.

I have recently decided to switch from Code::Blocks to TheIDE and I am developing a small library. I encountered problems while doing so. There are no templates when creating new project that would be suitable for libraries. I created empty project and I can not find any options to turn its output to a lib (I need both Windows and Linux). It is obviously complaining about a lack of main function. Its been really frustrating and I can not find any solution nowhere on this forum.

edit: I am interested in static libraries.

Lucas.


That is not really what is theide designed for (U++ is designed around the concept of packages, which are sort of library in source form with metainformation), but as temporary solution:

In release mode, all packages are in fact compiled into static libraries. So I would do this: Make your library a non-main package. Use main package to test the library. While developing, it is irrelevant that the library is not really an library. Then build in release mode and pick those .lib (or .a) files in output tree.


Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: PostgreSQL under Windows
Next Topic: Debugging under Linux
Goto Forum:
  


Current Time: Tue Aug 19 06:24:13 CEST 2025

Total time taken to generate the page: 0.13499 seconds