rmoorman / ttf2eot

Automatically exported from code.google.com/p/ttf2eot
0 stars 0 forks source link

in debian unstable #1

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I wanted to compile the project and see how it works. I downloaded the
tar.gz then open it and gave make command. here is the output:

mascix@mascix-debian:~/ttf2eot-0.0.1-alpha$ make
make: Warning: File `Makefile' has modification time 1.9e+04 s in the future
g++    -c -o OpenTypeUtilities.o OpenTypeUtilities.cpp
OpenTypeUtilities.cpp:218:18: warning: multi-character character constant
OpenTypeUtilities.cpp:238:18: warning: multi-character character constant
OpenTypeUtilities.cpp:248:18: warning: multi-character character constant
In file included from OpenTypeUtilities.cpp:30:
OpenTypeUtilities.h:33: error: ‘uint8_t’ was not declared in this scope
OpenTypeUtilities.h:33: error: template argument 1 is invalid
OpenTypeUtilities.h:33: error: template argument 2 is invalid
OpenTypeUtilities.cpp:56: error: ‘uint8_t’ does not name a type
OpenTypeUtilities.cpp:57: error: ‘uint8_t’ does not name a type
OpenTypeUtilities.cpp:58: error: ‘uint8_t’ does not name a type
OpenTypeUtilities.cpp:102: error: ‘uint8_t’ does not name a type
OpenTypeUtilities.cpp:104: error: ‘uint8_t’ does not name a type
OpenTypeUtilities.cpp:159: error: ‘uint8_t’ was not declared in this scope
OpenTypeUtilities.cpp:159: error: template argument 1 is invalid
OpenTypeUtilities.cpp:159: error: template argument 2 is invalid
OpenTypeUtilities.cpp: In function ‘void
appendBigEndianStringToEOTHeader(int&, const BigEndianUShort*, short
unsigned int)’:
OpenTypeUtilities.cpp:161: error: request for member ‘size’ in 
‘eotHeader’,
which is of non-class type ‘int’
OpenTypeUtilities.cpp:162: error: request for member ‘resize’ in
‘eotHeader’, which is of non-class type ‘int’
OpenTypeUtilities.cpp:163: error: request for member ‘data’ in 
‘eotHeader’,
which is of non-class type ‘int’
OpenTypeUtilities.cpp: At global scope:
OpenTypeUtilities.cpp:172: error: ‘uint8_t’ was not declared in this scope
OpenTypeUtilities.cpp:172: error: template argument 1 is invalid
OpenTypeUtilities.cpp:172: error: template argument 2 is invalid
OpenTypeUtilities.cpp: In function ‘bool getEOTHeader(unsigned char*,
size_t, int&, size_t&, size_t&, size_t&)’:
OpenTypeUtilities.cpp:181: error: request for member ‘resize’ in
‘eotHeader’, which is of non-class type ‘int’
OpenTypeUtilities.cpp:182: error: request for member ‘data’ in 
‘eotHeader’,
which is of non-class type ‘int’
OpenTypeUtilities.cpp:188: warning: invalid access to non-static data
member ‘sfntHeader::tables’ of NULL object
OpenTypeUtilities.cpp:188: warning: (perhaps the ‘offsetof’ macro was used
incorrectly)
OpenTypeUtilities.cpp:193: warning: invalid access to non-static data
member ‘sfntHeader::tables’ of NULL object
OpenTypeUtilities.cpp:193: warning: (perhaps the ‘offsetof’ macro was used
incorrectly)
OpenTypeUtilities.cpp:226: error: ‘struct EOTPrefix’ has no member named
‘fontPANOSE’
OpenTypeUtilities.cpp:226: error: ‘const struct OS2Table’ has no member
named ‘panose’
OpenTypeUtilities.cpp:227: error: ‘struct EOTPrefix’ has no member named
‘italic’
OpenTypeUtilities.cpp:250: warning: invalid access to non-static data
member ‘nameTable::nameRecords’ of NULL object
OpenTypeUtilities.cpp:250: warning: (perhaps the ‘offsetof’ macro was used
incorrectly)
OpenTypeUtilities.cpp:256: warning: invalid access to non-static data
member ‘nameTable::nameRecords’ of NULL object
OpenTypeUtilities.cpp:256: warning: (perhaps the ‘offsetof’ macro was used
incorrectly)
OpenTypeUtilities.cpp:296: error: ‘struct EOTPrefix’ has no member named
‘charset’
OpenTypeUtilities.cpp:309: error: ‘memcmp’ was not declared in this scope
OpenTypeUtilities.cpp:318: error: request for member ‘push_back’ in
‘eotHeader’, which is of non-class type ‘int’
OpenTypeUtilities.cpp:319: error: request for member ‘push_back’ in
‘eotHeader’, which is of non-class type ‘int’
OpenTypeUtilities.cpp:321: error: request for member ‘size’ in 
‘eotHeader’,
which is of non-class type ‘int’
make: *** [OpenTypeUtilities.o] Error 1

I dont know how to solve it.

Original issue reported on code.google.com by ozkan.pakdil on 29 Mar 2009 at 1:33

GoogleCodeExporter commented 8 years ago
I get the same thing on Ubuntu 9.04 beta

Original comment by adampl...@gmail.com on 16 Apr 2009 at 3:22

GoogleCodeExporter commented 8 years ago
I'll fix this today.

Original comment by taviso on 16 Apr 2009 at 7:08

GoogleCodeExporter commented 8 years ago
Thanks for the report! I made some quick changes to get it to compile on debian 
and
ubuntu, and uploaded a new tarball with the changes.

Original comment by taviso on 16 Apr 2009 at 7:43