We added some libraries, but I cant get UQM to link with some of them - glib, libintl, and zlib - getting the following errors
Code:
ld: warning: in /opt/local/lib/libglib-2.0.dylib, file was built for unsupported file format which is not the architecture being linked (i386) ld: warning: in /opt/local/lib/libintl.dylib, file was built for unsupported file format which is not the architecture being linked (i386) ld: warning: in /opt/local/lib/libz.dylib, file was built for unsupported file format which is not the architecture being linked (i386) Undefined symbols: (insert list of everything we use in glib, libintl, zlib. Example follows) "_g_hash_table_new_full", referenced from: _prep_conversation_module in conversation.c.o
I built these libraries via macports, and they are up-to-date.
Sounds like there are 64-bit libraries installed, while UQM is being built in 32-bit mode (or maybe the other way around). Why does it want glib though? Does p6014 use it? Because vanilla UQM doesn't. Is it a dependency of one the other libraries?
Logged
“When Juffo-Wup is complete when at last there is no Void, no Non when the Creators return then we can finally rest.”
Yes, we're using hash tables and lists, and some of the glib string handling functions really helped, and would much rather use them than reimplement them (lists alone wouldn't be a big deal, but the others seemed a bit much)