Open jedahan opened 10 years ago
Alternatively could you provide a universal binary of libmicrohttpd.a?
you can compile, using "sudo port install libmicrohttpd +universal", replace library and in Xcode add for section "other linker flags" values "-lgnutls -lgcrypt"
or you can download universal arch library from there: http://www.alexeyrudenko.com/files/libmicrohttpd.a
The embedded libmicrohttpd server throws a bunch of errors for me:
When I try to manually add libmicrohttpd.a, the linked ignores it, citing:
ld: warning: ignoring file /Users/jedahan/Dropbox/code/jedahan/openFrameworks/addons/ofxHttpServer/libs/microhttpd/lib/macosx/libmicrohttpd.a, file was built for archive which is not the architecture being linked (i386): /Users/jedahan/Dropbox/code/jedahan/openFrameworks/addons/ofxHttpServer/libs/microhttpd/lib/macosx/libmicrohttpd.a
Is there a way to tell the compiler to link against x86_64?