[Ipe-discuss] Building ipe on Cygwin
Otfried Cheong
ocheong at win.tue.nl
Wed Apr 14 15:18:15 CEST 2004
Ullal Devappa Kini writes:
> g++ -c -pipe -fdata-sections -Wall -W -Wno-unused -Wno-sign-compare -O2 -D_R
> EENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I/usr/local/qt/mkspecs/default
> -I. -I../../../../include/freetype2 -I/usr/local/qt/include -o
> ../../build/obj/xpdflib/stream.o stream.cpp
> stream.cpp: In member function `virtual void FileStream::setPos(unsigned
> int, int)':
> stream.cpp:673: error: cannot convert `OCFILE*' to `FILE*' for argument `1'
> to `void rewind(FILE*)'
> make[1]: *** [../../build/obj/xpdflib/stream.o] Error 1
> make[1]: Leaving directory `/usr/src/ipe-6.0pre12/src/xpdflib'
>
> Edit xpdflib/stream.cpp so that line 673 becomes
>
> rewind((FILE *) f);
This is not going to work. Better just comment out the line:
// rewind(f);
Otfried
More information about the Ipe-discuss
mailing list