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 #53060 is a reply to message #53025] Tue, 18 February 2020 18:28 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14261
Registered: November 2005
Ultimate Member
Arvidas wrote on Tue, 11 February 2020 11:41
Hi,
I am new in TheIDE, earlier i was using CodeBlocks but it is too bugy.
TheIDE is not intuitive, so i need a few answers.
I'm trying include directories to GLFW 3.3.2 library, and GLEW 2.1.0(i know it is inside TheIDE)
Setup -> Build methods -> INCLUDE directories(.h, .hpp) and -> LIB directories(.lib, .a)
I added in Package organizer link options: -lglfw3 -lgdi32 -lglew32s -lglu32 -lopengl32
but TheIDE can't see files.


Useful for you at this point is Setup/Verbose. If active, it will list complete commandlines while compiling, so that you will know what is going on.

Then it is probably better to add libraries directly as libraries instead of linker options. Load some U++ example, open package organizer and check e.g. the Core package. See how system libs are added...

Also: Check that you have added build method directories to the correct build method (the one you are using to compile).

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: Sun Jun 08 01:13:14 CEST 2025

Total time taken to generate the page: 0.04660 seconds