MathewWi / freetype-gl

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

C/VC++ 2010 express errors #46

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The library and files do not build with visual C++ express because it's mainly 
a c89 compiler. Disregarding the demos, attached are the modification you need 
to do on the code so it can build. Remember, it's trying to compile as C89 
code, variables need to be declared at the start of the scope.

You need to modify the CMakeLists.txt and include GLEW since it's also missing.

Original issue reported on code.google.com by wael.elo...@gmail.com on 19 Feb 2013 at 3:38

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks a lot !
I applied the patch and fix it where it failed. I also tried to fix the 
CMakefile for the demo.

Nicolas

Original comment by Nicolas.Rougier@gmail.com on 20 Feb 2013 at 10:52