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: Other Features Wishlist and/or Bugs » Possible bug
Possible bug [message #7854] Fri, 26 January 2007 18:11 Go to previous message
fithisux is currently offline  fithisux
Messages: 12
Registered: January 2007
Promising Member
I use windows xp SP2, and the proposed 3.4.5 mingw toolchain.

I try to link a small app I have written with libxml2. I downloaded the binaries from http://www.zlatkovic.com/pub/libxml/

and I decompressed all in my c:\xmlsoft_distro folder with layout

c:\xmlsoft_distro\bin
c:\xmlsoft_distro\lib
c:\xmlsoft_distro\include
..... blah .. blah

My app is TestXML. When the linker tries to generate according to mingw I have to do something like (in MSYS)

g++ -mwindows -mconsole -c TextXML.cpp -I"c:/xmlsoft_distro/lib"

and for linking (you have to put the full path to the lib, because mingw views it like an object file)

g++ -mwindows -mconsole -o TestXML.exe TestXML.o c:/xmlsoft_distro/libxml2.lib

It works fine.

Upp 2007.1.Beta2 does something similar for compilation and works but for linking it does something similar to

g++ -mwindows -mconsole -o TestXML.exe c:/xmlsoft_distro/libxml2.lib TestXML.o

which fails.

Can you take a look? .exe and .o must be switched I think. I used http://www.xmlsoft.org/examples/index.html#tree1.c as TreeXML.cpp

Solve some minor bugs and VS will be phased out. Thanks for the great IDE.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Bug (?) in ide\Debuggers\Exp.cpp
Next Topic: beta3 <new package> double lists templates
Goto Forum:
  


Current Time: Mon May 06 22:26:56 CEST 2024

Total time taken to generate the page: 0.01963 seconds