Check out our new iPad forum.
iPod touch 3G deals: 8GB $183.99, 32GB $269.99, 64GB $357.00 with free shipping

Go Back   iPod touch Fans forum > iPod touch / iPhone Developers > Toolchain and SDK Development

Reply
 
Thread Tools
  #1  
Old 11-20-2009
iPod touch Admirer
Join Date: Sep 2009
 
Default error linking the libxml2 library (cygwin)

My goal is to compile my application linking the libxml2 library in my makefile (cygwin toolchain)


the libxml2 path is:
cygwin/toolchain/sys/usr/include/libxml2


I changed the makefile:
...
LDFLAGS = -lobjc
LDFLAGS += -lxml2
LDFLAGS += -F"/toolchain/sys/System/Library/Frameworks"
LDFLAGS += -F"/toolchain/sys/usr/include/libxml2"
LDFLAGS += -framework Foundation
LDFLAGS += -framework UIKit
...


building the application I got:
error: libxml/tree.h: NO such file or directory

the tree.h file is in cygwin/toolchain/sys/usr/include/libxml2/libxml


Where am I wrong?
Thanks
__________________
  #2  
Old 11-23-2009
iPod touch Admirer
Join Date: Sep 2009
 
I fixed the problem, thanks a lot.
bye
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT -7. The time now is 11:35 AM.


Sort of vBulletin-powered
Copyright 2007 - 2010 Vigorous Media LLC - All Rights Reserved.


Page generated in 0.02943 seconds with 9 queries