Lucan1d
unread,Mar 15, 2012, 4:09:06 AM3/15/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to freetype-gl
I am having build issues again. I have just checked-out the latest
sources and am trying to build them with CMake and Visual Studio 2010
with no luck.
I am getting lots and lots of errors but the most common ones look
like these:
2>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/
gl.h(1152): error C2054: expected '(' to follow 'WINGDIAPI'
2>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/
gl.h(1152): error C2085: 'APIENTRY' : not in formal parameter list
2>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/
gl.h(1152): error C2146: syntax error : missing ',' before identifier
'glAccum'
2>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/
gl.h(1152): error C2143: syntax error : missing ';' before '('
2>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/
gl.h(1152): error C2059: syntax error : ')'
2>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/
gl.h(1153): error C2054: expected '(' to follow 'WINGDIAPI'
2>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/
gl.h(1153): error C2085: 'APIENTRY' : not in formal parameter list
2>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/
gl.h(1153): error C2146: syntax error : missing ',' before identifier
'glAlphaFunc'
2>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/
gl.h(1153): error C2143: syntax error : missing ';' before '('
2>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/
gl.h(1153): error C2059: syntax error : ')'
2>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/
gl.h(1154): error C2054: expected '(' to follow 'WINGDIAPI'
2>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/
gl.h(1154): error C2085: 'APIENTRY' : not in formal parameter list
2>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/
gl.h(1154): error C2146: syntax error : missing ',' before identifier
'glAreTexturesResident'
2>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/
gl.h(1154): error C2143: syntax error : missing ';' before '('
2>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/
gl.h(1154): error C2059: syntax error : ')'
2>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/
gl.h(1155): error C2054: expected '(' to follow 'WINGDIAPI'
2>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/
gl.h(1155): error C2085: 'APIENTRY' : not in formal parameter list
2>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/
gl.h(1155): error C2146: syntax error : missing ',' before identifier
'glArrayElement'
2>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/
gl.h(1155): error C2143: syntax error : missing ';' before '('
2>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/
gl.h(1155): error C2059: syntax error : ')'
but I don't know why it is complaining about things in gl.h. Any
ideas as to why these might be occurring?
Then there are more specific errors such as:
2>D:\SVN\freetype-gl\texture-atlas.c(56): error C2143: syntax error :
missing ';' before 'type'
2>D:\SVN\freetype-gl\texture-atlas.c(57): error C2065: 'self' :
undeclared identifier
2>D:\SVN\freetype-gl\texture-atlas.c(57): warning C4047: '==' : 'int'
differs in levels of indirection from 'void *'
2>D:\SVN\freetype-gl\texture-atlas.c(63): error C2065: 'self' :
undeclared identifier
2>D:\SVN\freetype-gl\texture-atlas.c(63): error C2223: left of '-
>nodes' must point to struct/union
2>D:\SVN\freetype-gl\texture-atlas.c(64): error C2065: 'self' :
undeclared identifier
2>D:\SVN\freetype-gl\texture-atlas.c(64): error C2223: left of '-
>used' must point to struct/union
2>D:\SVN\freetype-gl\texture-atlas.c(65): error C2065: 'self' :
undeclared identifier
2>D:\SVN\freetype-gl\texture-atlas.c(65): error C2223: left of '-
>width' must point to struct/union
2>D:\SVN\freetype-gl\texture-atlas.c(66): error C2065: 'self' :
undeclared identifier
2>D:\SVN\freetype-gl\texture-atlas.c(66): error C2223: left of '-
>height' must point to struct/union
2>D:\SVN\freetype-gl\texture-atlas.c(67): error C2065: 'self' :
undeclared identifier
2>D:\SVN\freetype-gl\texture-atlas.c(67): error C2223: left of '-
>depth' must point to struct/union
2>D:\SVN\freetype-gl\texture-atlas.c(68): error C2065: 'self' :
undeclared identifier
2>D:\SVN\freetype-gl\texture-atlas.c(68): error C2223: left of '->id'
must point to struct/union
2>D:\SVN\freetype-gl\texture-atlas.c(69): error C2275: 'ivec3' :
illegal use of this type as an expression
2> d:\svn\freetype-gl\vec234.h(114) : see declaration of
'ivec3'
2>D:\SVN\freetype-gl\texture-atlas.c(69): error C2146: syntax error :
missing ';' before identifier 'node'
2>D:\SVN\freetype-gl\texture-atlas.c(69): error C2065: 'node' :
undeclared identifier
2>D:\SVN\freetype-gl\texture-atlas.c(69): error C2059: syntax error :
'{'
which seems to suggest it doesn't like the definition of "assert".
Other errors include:
2>D:\SVN\freetype-gl\texture-font.c(34): fatal error C1083: Cannot
open include file: 'ft2build.h': No such file or directory
and:
2>D:\SVN\freetype-gl\vector.c(84): error C2036: 'void *const ' :
unknown size
2>D:\SVN\freetype-gl\vector.c(119): error C2143: syntax error :
missing ';' before 'type'
2>D:\SVN\freetype-gl\vector.c(120): error C2065: 'i' : undeclared
identifier
2>D:\SVN\freetype-gl\vector.c(120): error C2065: 'i' : undeclared
identifier
2>D:\SVN\freetype-gl\vector.c(120): warning C4018: '<' : signed/
unsigned mismatch
2>D:\SVN\freetype-gl\vector.c(120): error C2065: 'i' : undeclared
identifier
2>D:\SVN\freetype-gl\vector.c(122): error C2065: 'i' : undeclared
identifier
2>D:\SVN\freetype-gl\vector.c(210): error C2036: 'void *' : unknown
size
2>D:\SVN\freetype-gl\vector.c(230): error C2036: 'void *' : unknown
size
2>D:\SVN\freetype-gl\vector.c(231): error C2036: 'void *' : unknown
size
2>D:\SVN\freetype-gl\vector.c(250): error C2036: 'void *' : unknown
size
2>D:\SVN\freetype-gl\vector.c(251): error C2036: 'void *' : unknown
size
2>D:\SVN\freetype-gl\vector.c(322): error C2036: 'void *' : unknown
size
2>D:\SVN\freetype-gl\vector.c(344): error C2036: 'void *' : unknown
size
2>D:\SVN\freetype-gl\vector.c(345): error C2036: 'void *' : unknown
size
2>D:\SVN\freetype-gl\vector.c(347): error C2036: 'void *' : unknown
size
Could you please assist me to resolve these issues so I can at least
get things to build?
Much appreciated,
-Luc