Build curlCpp universal on osx 10.5

31 views
Skip to first unread message

mojo...@web.de

unread,
Nov 12, 2010, 9:40:49 AM11/12/10
to curlpp
Hi,

I would really like to use curlcpp on osx 10.5 but I can't really make
it work. I can build the library but it does not seem to be the
correct format since if I try to use it in a xcode project, where the
target settings are put to 10.5sdk, GCC 4.2 and 32-bit universal, I
get the following warning, and alot of errors related to the curlcpp
code:

ld: warning: in .../libcurlpp.dylib, file was built for unsupported
file format which is not the architecture being linked (i386)


ld: warning: in .../libutilspp.dylib, file was built for unsupported
file format which is not the architecture being linked (i386)

I tried configuring the build like this: ./configure --prefix=/Users/
moka/Documents/xcode/curlcpp --host=i386-apple-darwin10.5.0 --
build=i386-apple-darwin10.5.0

but I am pretty sure I somehow need to build a fat lib. 32-bit would
be great, 32/64-bit universal would be the best, is that possible? I
am using the last stable release from the website.

Thanks alot,

Matthias



Reply all
Reply to author
Forward
0 new messages