building wmf plugin on OS X?

From: Seth Delackner (seth@jtan.com)
Date: Wed Mar 12 2003 - 17:05:45 EST

  • Next message: Randy Kramer: "Reference TWiki Plugin Matrix on "Main" Web Site?"

    Has anyone managed to build the wmf plugin on OS X? I got to the final link
    step but it complains that the major 'API' functions are missing. I think this
    has to do with my attempting to statically link against libwmflite.dylib,
    though I'm uncertain of how to dynamically link it (or how I would make sure
    the dylib is found when the program runs with the dylib sitting in a totally
    nonstandard location (executable_dir/.libs or something like that).

    g++ -bundle -bundle_loader /Users/sara/Desktop/abiword-1.0.4/abi/src/tools/abiconvert/abiconvert -o .libs/libAbiWMF.so .libs/ie_impGraphic_WMF.o -L/Applications/AbiWord-2.0/lib /Applications/AbiWord-2.0/lib/libfribidi.dylib /Applications/AbiWord-2.0/lib/libglib-2.0.dylib /Applications/AbiWord-2.0/lib/libintl.dylib /Applications/AbiWord-2.0/lib/libiconv.dylib ./.libs/libfreetype.dylib ./.libs/libwmflite.dylib -L/usr/lib/gcc/darwin/3.1 -L/usr/lib/gcc/darwin -L/usr/libexec/gcc/darwin/ppc/3.1/../../.. -lstdc++ -lgcc -lSystem
    ld: Undefined symbols:
    _wmf_api_create
    _wmf_api_destroy
    _wmf_gd_function



    This archive was generated by hypermail 2.1.4 : Wed Mar 12 2003 - 17:13:48 EST