Hi folks! First of all I should say that I really like SuSE 9.1! Are any of you familiar with libEMF? Basically, I need to write an EMF (or WMF) from Linux. Ideally, I could convert a source file--any of PS, PDF, SVG or Gnu metafile formats would work--into an EMF or WMF. Looking around the Web,
Thanks so much for your reply! I tried out your suggestion.
Unfortunately, pstoedit doesn't recognize the 32-bit version of the libEMF
library, probably because (?) linux32 simulates the i686 architecture, but
the binary libEMF is for the i586 architecture. I tried to use libEMF
anyway, by simply installing the rpm for the 32-bit version. But then
pstoedit's configure, run under linux32, when passed -lEMF for libEMF.so,
that
configure:18529: linux32 g++ -o conftest -g -O2 conftest.cc -lEMF -lm >&5
/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/../../../../x86_64-suse-linux/bin
/ld: skipping incompatible /usr/lib/libEMF.so when searching for -lEMF
/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/../../../../x86_64-suse-linux/bin
/ld: cannot find -lEMF
Bummer! Any other suggestions? Has anyone managed to get libEMF properly
installed on 64-bit SuSE?
Kevin
-----Original Message-----
From: suse-amd64-return-3122-kbartz=loyaltymatrix.com@suse.com
[mailto:suse-amd64-return-3122-kbartz=loyaltymatrix.com@suse.com] On Behalf
Of Andreas Jaeger
Sent: Tuesday, July 20, 2004 11:54 AM
To: Kevin Bartz
Cc: suse-amd64@suse.com
Subject: Re: [suse-amd64] libEMF and EMF/WMF on 64-bit platforms
"Kevin Bartz"
open-source solution seems to be a program called pstoedit, which can utilize a library called libEMF to "tell" pstoedit how to write EMFs. Unfortunately, libEMF won't build on 64-bit SuSE 9.1, giving me an error about needing to define a context for my CPU.
../include/wine/winnt.h:49:3: #error Unknown CPU architecture! ../include/wine/winnt.h:1049:2: #error You need to define a CONTEXT for your CPU
That sounds bad - I suggest to build as a 32-bit binary or use the 32-bit packages of pstoedit with the 32-bit libEMF, Andreas -- Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj SUSE Linux AG, Maxfeldstr. 5, 90409 Nürnberg, Germany GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126