RikoW
August 10th, 2006, 04:20 AM
hi,
i'm looking for the ubuntu deb package for libemf (enhanced meta file lib).
It's not in the repositories and I didn't manage to compile it from source, even though i believe I have all the necessary packages installed. Errors I get after ./configure and make:
> make
Making all in include
make[1]: Entering directory `/home/wichmann/Desktop/libEMF-1.0/include'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/wichmann/Desktop/libEMF-1.0/include'
Making all in libemf
make[1]: Entering directory `/home/wichmann/Desktop/libEMF-1.0/libemf'
source='libemf.cpp' object='libemf.lo' libtool=yes \
depfile='.deps/libemf.Plo' tmpdepfile='.deps/libemf.TPlo' \
depmode=gcc3 /bin/sh ../config/depcomp \
/bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../config -I../include -g -O2 -D_REENTRANT -DPTHREADS -c -o libemf.lo `test -f libemf.cpp || echo './'`libemf.cpp
mkdir .libs
g++ -DHAVE_CONFIG_H -I. -I. -I../config -I../include -g -O2 -D_REENTRANT -DPTHREADS -c libemf.cpp -MT libemf.lo -MD -MP -MF .deps/libemf.TPlo -fPIC -DPIC -o .libs/libemf.lo
libemf.cpp: In static member function 'static bool EMF::DATASTREAM::bigEndian()':libemf.cpp:51: error: 'cerr' was not declared in this scope
libemf.cpp:51: error: 'endl' was not declared in this scope
libemf.cpp: In function 'HENHMETAFILE CloseEnhMetaFile(HDC)':
libemf.cpp:852: error: 'mem_fun1' is not a member of 'std'
libemf.cpp: In function 'HENHMETAFILE CloseEnhMetaFileWithFILE(HDC)':
libemf.cpp:899: error: 'mem_fun1' is not a member of 'std'
libemf.cpp: In function 'HENHMETAFILE GetEnhMetaFileW(const WCHAR*)':
libemf.cpp:1035: error: 'cerr' was not declared in this scope
libemf.cpp:1035: error: 'endl' was not declared in this scope
libemf.cpp:1053: error: 'cerr' was not declared in this scope
libemf.cpp:1054: error: 'endl' was not declared in this scope
make[1]: *** [libemf.lo] Error 1
make[1]: Leaving directory `/home/wichmann/Desktop/libEMF-1.0/libemf'
make: *** [all-recursive] Error 1
I found an rpm package, which I , trying my luck, converted to deb via alien and installed. But that wasn't successful either :(
Anybody knows of a secret repository where I might find it (or how to fix the compiling problem above - seems like some standard functions cannot be found ... weired.
Thanks,
Riko
i'm looking for the ubuntu deb package for libemf (enhanced meta file lib).
It's not in the repositories and I didn't manage to compile it from source, even though i believe I have all the necessary packages installed. Errors I get after ./configure and make:
> make
Making all in include
make[1]: Entering directory `/home/wichmann/Desktop/libEMF-1.0/include'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/wichmann/Desktop/libEMF-1.0/include'
Making all in libemf
make[1]: Entering directory `/home/wichmann/Desktop/libEMF-1.0/libemf'
source='libemf.cpp' object='libemf.lo' libtool=yes \
depfile='.deps/libemf.Plo' tmpdepfile='.deps/libemf.TPlo' \
depmode=gcc3 /bin/sh ../config/depcomp \
/bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../config -I../include -g -O2 -D_REENTRANT -DPTHREADS -c -o libemf.lo `test -f libemf.cpp || echo './'`libemf.cpp
mkdir .libs
g++ -DHAVE_CONFIG_H -I. -I. -I../config -I../include -g -O2 -D_REENTRANT -DPTHREADS -c libemf.cpp -MT libemf.lo -MD -MP -MF .deps/libemf.TPlo -fPIC -DPIC -o .libs/libemf.lo
libemf.cpp: In static member function 'static bool EMF::DATASTREAM::bigEndian()':libemf.cpp:51: error: 'cerr' was not declared in this scope
libemf.cpp:51: error: 'endl' was not declared in this scope
libemf.cpp: In function 'HENHMETAFILE CloseEnhMetaFile(HDC)':
libemf.cpp:852: error: 'mem_fun1' is not a member of 'std'
libemf.cpp: In function 'HENHMETAFILE CloseEnhMetaFileWithFILE(HDC)':
libemf.cpp:899: error: 'mem_fun1' is not a member of 'std'
libemf.cpp: In function 'HENHMETAFILE GetEnhMetaFileW(const WCHAR*)':
libemf.cpp:1035: error: 'cerr' was not declared in this scope
libemf.cpp:1035: error: 'endl' was not declared in this scope
libemf.cpp:1053: error: 'cerr' was not declared in this scope
libemf.cpp:1054: error: 'endl' was not declared in this scope
make[1]: *** [libemf.lo] Error 1
make[1]: Leaving directory `/home/wichmann/Desktop/libEMF-1.0/libemf'
make: *** [all-recursive] Error 1
I found an rpm package, which I , trying my luck, converted to deb via alien and installed. But that wasn't successful either :(
Anybody knows of a secret repository where I might find it (or how to fix the compiling problem above - seems like some standard functions cannot be found ... weired.
Thanks,
Riko