Closed GoogleCodeExporter closed 8 years ago
Thanks. I included your fixes 2 & 3.
For fix 1, it seems current cmakelist already get the fix.
For fix 4, it's also a mystery to me.
I Put your alias in the README as contributor. Just drop me an email if you
prefer your real name to appear instead.
Original comment by Nicolas.Rougier@gmail.com
on 29 Mar 2013 at 7:22
You forgot to add the stdint.h-file :)
Also, you should change "pen = (vec2) {{32, 252}};" on line 170 in demo-gamma.c
as well, since that is a syntax-error on (at least) VS2012.
Lastly, the final error (exluding the one about exit) I get is in demo-cube.c
"#include <GL/glut.h>" should be "#include <GLUT/glut.h>" on Windows. You can
just update the whole include-bit to match the other demos and it'll work.
Cheers.
Original comment by cforf...@gmail.com
on 29 Mar 2013 at 10:13
Ooops, thanks, just did that.
Original comment by Nicolas.Rougier@gmail.com
on 29 Mar 2013 at 10:17
Hi, thanks for your quick responses!
I just tried to verify the fixes on svn revision 204 with a clean checkout.
@cforf...: Thanks for pointing out the include-bit - that also worked for my
problem in demo-makefont.c
Remaining 2 issues with fixes:
Typo in demo-gamma.c 171: "pex.y = 252;" should be "pen.y = 252;"
demo-makefont.c 43-41: Just include stdlib.h first:
34 #include <stdlib.h>
35 #if defined(__APPLE__)
36 #include <Glut/glut.h>
37 #elif defined(_WIN32) || defined(_WIN64)
38 #include <GLUT/glut.h>
39 #else
40 #include <GL/glut.h>
41 #endif
42
43 #include <stdio.h>
44 #include <wchar.h>
45 #include "arial-16.h"
With these two changes, everything works, builds and runs now
(Windows XP 32 bit, VisualStudio 8 2005, CMake 2.8.10.2, libs and includes from
repository)
Looking forward to rev. 205 ;-)
Thanks
Original comment by dse...@googlemail.com
on 30 Mar 2013 at 10:31
Thanks, jut committed.
Original comment by Nicolas.Rougier@gmail.com
on 30 Mar 2013 at 12:15
Original issue reported on code.google.com by
dse...@googlemail.com
on 29 Mar 2013 at 12:23