From: Geoff C. <geo...@bj...> - 2002-07-14 23:08:42
|
On Sat, 13 Jul 2002 00:36, Mark Hamzy wrote: > Hi Geoff, > > How do you enable omni into ghostscript? Did you recompile ghostscript > with our patch? I am just using the debian package for ghostscript. A 'gs -h' shows omni listed as an available device. > If so, can you check out Ghostscript/new_src/gomni.c, change fDebugOutput > to 1 and recompile and retest. > That should give more debug output as to what is wrong. > > As far as your test program, libomni.so is C++ code so the calling > application should link with stdc++. Also, > while I don't know if this causes problems or not, all of our loading code > uses glib's g_module_open instead of dlopen. I had vague thoughts that might be a problem with my dlopen code, but I'm not really a programmer, so I wasn't sure. Ah yes. I changed the dlopen program, and compiled with g++, and it opened the libomni library without any problems. > > Also, as a test you can run OmniDeviceOptions libKyocera_FS_1600_.so and > see if that works. > Yep, that worked. I will have to get the debian source package for ghostscript, and try out that debugging option that you suggested. I'll let you know how that goes, when I get around to it :( Cheers, Thanks for the suggestions Geoff Crompton |