wswatson / freetype-gl

Automatically exported from code.google.com/p/freetype-gl
Other
0 stars 0 forks source link

GL_TYPE defined in glext.h #47

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?
svn 189
Archlinux
$ uname -a
Linux cherry 3.6.10-1-ARCH #1 SMP PREEMPT Tue Dec 11 09:40:17 CET 2012 x86_64 
GNU/Linux

Please provide any additional information below.

Original issue reported on code.google.com by Electrom...@gmail.com on 24 Feb 2013 at 9:38

GoogleCodeExporter commented 9 years ago
hmmmm.... hit return and it submitted the issue...
When I build it I get the output:
$ make
Scanning dependencies of target freetype-gl
[  3%] Building C object CMakeFiles/freetype-gl.dir/vertex-buffer.c.o
[  7%] Building C object CMakeFiles/freetype-gl.dir/vertex-attribute.c.o
/home/erai/ftgl/freetype-gl-read-only/vertex-attribute.c: In function 
‘vertex_attribute_parse’:
/home/erai/ftgl/freetype-gl-read-only/vertex-attribute.c:138:34: error: called 
object ‘37626’ is not a function
/home/erai/ftgl/freetype-gl-read-only/vertex-attribute.c:146:34: error: called 
object ‘37626’ is not a function
/home/erai/ftgl/freetype-gl-read-only/vertex-attribute.c:158:30: error: called 
object ‘37626’ is not a function
/home/erai/ftgl/freetype-gl-read-only/vertex-attribute.c: At top level:
/home/erai/ftgl/freetype-gl-read-only/vertex-attribute.c:294:1: error: expected 
identifier or ‘(’ before numeric constant
make[2]: *** [CMakeFiles/freetype-gl.dir/vertex-attribute.c.o] Error 1
make[1]: *** [CMakeFiles/freetype-gl.dir/all] Error 2
make: *** [all] Error 2

If you rename the GL_TYPE function to something like glType avoid the naming 
conflict this issue is resolved.

Original comment by Electrom...@gmail.com on 24 Feb 2013 at 9:41

GoogleCodeExporter commented 9 years ago
I think I've changed it in the gl-3.0 branch but maybe not in the trunk.
Can you confirm you've been tested the trunk ?

Original comment by Nicolas.Rougier@gmail.com on 25 Feb 2013 at 3:19

GoogleCodeExporter commented 9 years ago
trunk can't be build and gl-3.0 branch is OK

Original comment by mink...@gmail.com on 5 Mar 2013 at 7:07

GoogleCodeExporter commented 9 years ago
Thanks for the report.

Original comment by Nicolas.Rougier@gmail.com on 5 Mar 2013 at 7:14