Home » U++ TheIDE » U++ TheIDE: Compiling, Linking, Debugging of your packages » How to link to external libraries
Re: How to link to external libraries [message #11524 is a reply to message #11522] |
Sun, 16 September 2007 15:51   |
 |
mirek
Messages: 14267 Registered: November 2005
|
Ultimate Member |
|
|
Ishi wrote on Sun, 16 September 2007 07:49 | Hi all.
I've got a .lib and .h file that I want to link to in my project - not sure where I'm going wrong though. The files are in C:\lib\TXF.
In Setup->Build Methods, I've added that directory to the INCLUDE and LIB sections. Then in the Package Organizer I've tried adding TXF.lib as a library, and as various other things, (leaving the When bit empty), but when I try and compile, I just get linker errors about the library's functions not being defined.
If anyone can point out what I might be missing or doing wrong, that'd be brilliant. Thanks in advance!
|
Project/Package organizer, click host package, right-click right big pane, choose "New Libraries".
You can look to e.g. Draw or Core package for example how the names of libraries are to be entered.
Mirek
|
|
|
Goto Forum:
Current Time: Wed Aug 27 07:11:39 CEST 2025
Total time taken to generate the page: 0.07539 seconds
|