[Vm-dev] Building PharoVM on Windows - Failure with freetype2

phil at highoctane.be phil at highoctane.be
Mon Nov 18 23:25:08 UTC 2013


Hello,

I am trying to build the pharo vm from the github sources.

The toolchain is okay and built quite a significant part of the VM.

It now fails at building freetype with:

In file included from c:\mingw\include\unistd.h:36:0,
                 from
c:/MinGW/msys/1.0/home/Philippe/pharo-vm/build/thirdparty/
freetype2/freetype-2.4.9/src/gzip/zconf.h:245,
                 from
c:/MinGW/msys/1.0/home/Philippe/pharo-vm/build/thirdparty/
freetype2/freetype-2.4.9/src/gzip/zlib.h:34,
                 from
c:/MinGW/msys/1.0/home/Philippe/pharo-vm/build/thirdparty/
freetype2/freetype-2.4.9/src/gzip/ftgzip.c:66:
c:\mingw\include\io.h:301:1: error: unknown type name 'off64_t'
 __CRT_INLINE off64_t lseek64 (int, off64_t, int);
 ^
c:\mingw\include\io.h:301:36: error: unknown type name 'off64_t'
 __CRT_INLINE off64_t lseek64 (int, off64_t, int);
                                    ^
c:\mingw\include\io.h:302:1: error: unknown type name 'off64_t'
 __CRT_INLINE off64_t lseek64 (int fd, off64_t offset, int whence) {
 ^
c:\mingw\include\io.h:302:39: error: unknown type name 'off64_t'
 __CRT_INLINE off64_t lseek64 (int fd, off64_t offset, int whence) {
                                       ^
In file included from
c:/MinGW/msys/1.0/home/Philippe/pharo-vm/build/thirdparty/
freetype2/freetype-2.4.9/src/gzip/zconf.h:245:0,
                 from
c:/MinGW/msys/1.0/home/Philippe/pharo-vm/build/thirdparty/
freetype2/freetype-2.4.9/src/gzip/zlib.h:34,
                 from
c:/MinGW/msys/1.0/home/Philippe/pharo-vm/build/thirdparty/
freetype2/freetype-2.4.9/src/gzip/ftgzip.c:66:
c:\mingw\include\unistd.h:65:20: error: unknown type name 'off_t'
 int ftruncate(int, off_t);
                    ^
make[3]: ***
[/C/MinGW/msys/1.0/home/Philippe/pharo-vm/build/thirdparty/freetype
2/freetype-2.4.9/objs/ftgzip.lo] Error 1
make[2]: *** [thirdparty/out/lib/libfreetype.dll.a] Error 2
make[1]: *** [thirdParty/freetype2/CMakeFiles/freetype2.dir/all] Error 2
make: *** [all] Error 2


Clues?

Phil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20131119/270ad5e8/attachment.htm


More information about the Vm-dev mailing list