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 » How to link to external libraries
Re: How to link to external libraries [message #11535 is a reply to message #11530] Sun, 16 September 2007 22:25 Go to previous message
Ishi is currently offline  Ishi
Messages: 5
Registered: July 2007
Location: Middlesbrough, UK
Promising Member
c++ -static -mwindows -o "C:\upp\out\MINGW.Debug_full.Gui\EngineEditor.exe" -ggdb -L"C:\upp\mingw\lib" -L"C:\lib\TXF" -Wl,-O,2 "C:/upp/out/E
ngineEditor/MINGW.Debug_full.Gui.Main\$blitz.o" " C:/upp/out/EngineEditor/MINGW.Debug_full.Gui.Main\EngineEdit or$rc.o " "C:/upp/out/EngineE
ditor/MINGW.Debug_full.Gui.Main\Editor-Project.o" "C:/upp/out/CtrlLib/MINGW.Debug_full.Gui\CtrlLib.o" "C:/upp/out/CtrlLib/MINGW.Debug_ful
l.Gui\$blitz.o" "C:/upp/out/CtrlLib/MINGW.Debug_full.Gui\ChWin32.o" "C:/upp/out/CtrlCore/MINGW.Debug_full.Gui\CtrlCore.o" "C:/upp/out/Ctr
lCore/MINGW.Debug_full.Gui\$blitz.o" "C:/upp/out/RichText/MINGW.Debug_full.Gui\RichImage.o" "C:/upp/out/RichText/MINGW.Debug_full.Gui\$bl
itz.o" "C:/upp/out/Draw/MINGW.Debug_full.Gui\$blitz.o" "C:/upp/out/Core/MINGW.Debug_full.Gui\$blitz.o" "C:/upp/out/Core/MINGW.Debug_full.
Gui\OL_Set.o" "C:/upp/out/plugin/bmp/MINGW.Debug_full.Gui\BmpReg.o" "C:/upp/out/plugin/bmp/MINGW.Debug_full.Gui\$blitz.o" "C:/upp/out/plu
gin/z/MINGW.Debug_full.Gui\adler32.o" "C:/upp/out/plugin/z/MINGW.Debug_full.Gui\compress.o" "C:/upp/out/plugin/z/MINGW.Debug_full.Gui\crc
32.o" "C:/upp/out/plugin/z/MINGW.Debug_full.Gui\deflate.o" "C:/upp/out/plugin/z/MINGW.Debug_full.Gui\gzio.o" "C:/upp/out/plugin/z/MINGW.D
ebug_full.Gui\infblock.o" "C:/upp/out/plugin/z/MINGW.Debug_full.Gui\infcodes.o" "C:/upp/out/plugin/z/MINGW.Debug_full.Gui\inffast.o" "C:/
upp/out/plugin/z/MINGW.Debug_full.Gui\inflate.o" "C:/upp/out/plugin/z/MINGW.Debug_full.Gui\inftrees.o" "C:/upp/out/plugin/z/MINGW.Debug_f
ull.Gui\infutil.o" "C:/upp/out/plugin/z/MINGW.Debug_full.Gui\trees.o" "C:/upp/out/plugin/z/MINGW.Debug_full.Gui\uncompr.o" "C:/upp/out/pl
ugin/z/MINGW.Debug_full.Gui\zutil.o" "C:/upp/out/plugin/png/MINGW.Debug_full.Gui\pngreg.o" "C:/upp/out/plugin/png/MINGW.Debug_full.Gui\pn
glib.o" "C:/upp/out/plugin/png/MINGW.Debug_full.Gui\pngupp.o" -Wl,--start-group -ladvapi32 -lcomdlg32 -lcomctl32 -luser32 -lgdi32 -ladva
pi32 -lshell32 -lwinmm -lole32 -loleaut32 -luuid "C:\lib\TXF\TXF.lib" -Wl,--end-group


There we go. The .lib path and filename are correct. That's as far as my analysis goes, I have no idea what the rest of the options do or if they're relevant or not. Smile
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: New mingw version
Next Topic: problem with compilation/linking - Duplicate .cpp file in single package
Goto Forum:
  


Current Time: Wed Aug 27 07:11:52 CEST 2025

Total time taken to generate the page: 0.05619 seconds