PDA

View Full Version : Question to Alfonse Reinheart



SasMaster
06-13-2011, 06:45 AM
Hi Alfonse!I would like to thank you for writing such an outstanding manual for Modern OpenGL learning.Pity you don't publish it in a hardcover. I am a beginner and initially bought OpenGL SuperBible.But soon understood it is not what I need as it primarily teaches you using authors wrapping tools.Now the only problem with your stuff is that I can't get it set up in the VisualStudio (2010).I am pretty new to OpenGL and to C++ programming. I find it frustrating to install your tutorials.After reading multiple articles on VS config I came up with this error:


1>mainprog.obj : error LNK2001: unresolved external symbol ___gleGetShaderInfoLog
1>mainprog.obj : error LNK2001: unresolved external symbol ___gleGetShaderiv
1>mainprog.obj : error LNK2001: unresolved external symbol ___gleCompileShader
1>mainprog.obj : error LNK2001: unresolved external symbol ___gleShaderSource
1>mainprog.obj : error LNK2001: unresolved external symbol ___gleCreateShader



I tried pretty everything ,at least from what I could find online.Compiled free_glut,linked,linked your glload library,downloaded and linked glew .Still, I have been receiving these errors.The examples where I don't use shaders are ok.But once I start writing all that shader stuff I get this error.It would be awesome if you could supply some more Newbie oriented setup manual.Also any help on this issue will be appreciated. Thanks

Alfonse Reinheart
06-13-2011, 11:04 AM
After reading multiple articles on VS config

I missed the part where you talked about using Premake4. So I'm guessing you just tried to build a Visual Studio solution/project manually.

You should follow the instructions (http://www.arcsynthesis.org/gltut/Building%20the%20Tutorials.html) that come with the tutorial.


downloaded and linked glew

Why would you do that? My instructions for building the tutorials said nothing about GLEW.


The examples where I don't use shaders are ok.

What examples don't use shaders? I seem to recall them all using shaders. Are you sure you're talking about my tutorials?

SasMaster
06-13-2011, 12:24 PM
I did not mention Premake4 because I tried it.I built all the tut projects.And was having even bigger mess.So I went back to the basics.Removes all the shaders compilation blocks and it worked.From that point I have been struggling to get rid of the lines I wrote above.Now I am getting something else trying to do it in VS2008:


gl_3_3_comp.h(142) : error C2143: syntax error : missing ')' before '*'
1>c:\documents and settings\administrator\my documents\opengl stuff\alfonse-gltut-6b6c3cbab3ab\alfonse-gltut-6b6c3cbab3ab\glloader\include\glloader\gl_3_3_comp .h(142) : error C2143: syntax error : missing ';' before '*'
1>c:\documents and settings\administrator\my documents\opengl stuff\alfonse-gltut-6b6c3cbab3ab\alfonse-gltut-6b6c3cbab3ab\glloader\include\glloader\gl_3_3_comp .h(142) : error C2059: syntax error : ')'
1>c:\documents and settings\administrator\my documents\opengl stuff\alfonse-gltut-6b6c3cbab3ab\alfonse-gltut-6b6c3cbab3ab\glloader\include\glloader\gl_3_3_comp .h(142) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\documents and settings\administrator\my documents\opengl stuff\alfonse-gltut-6b6c3cbab3ab\alfonse-gltut-6b6c3cbab3ab\glloader\include\glloader\gl_3_3_comp .h(145) : error C2143: syntax error : missing ')' before '*'
1>c:\documents and settings\administrator\my documents\opengl stuff\alfonse-gltut-6b6c3cbab3ab\alfonse-gltut-6b6c3cbab3ab\glloader\include\glloader\gl_3_3_comp .h(145) : error C2143: syntax error : missing ';' before '*'
1>c:\documents and settings\administrator\my documents\opengl stuff\alfonse-gltut-6b6c3cbab3ab\alfonse-gltut-6b6c3cbab3ab\glloader\include\glloader\gl_3_3_comp .h(145) : error C2059: syntax error : ')'
1>c:\documents and settings\administrator\my documents\opengl stuff\alfonse-gltut-6b6c3cbab3ab\alfonse-gltut-6b6c3cbab3ab\glloader\include\glloader\gl_3_3_comp .h(145) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\documents and settings\administrator\my documents\opengl stuff\alfonse-gltut-6b6c3cbab3ab\alfonse-gltut-6b6c3cbab3ab\glloader\include\glloader\gl_3_3_comp .h(1078) : error C2143: syntax error : missing ')' before '*'
1>c:\documents and settings\administrator\my documents\opengl stuff\alfonse-gltut-6b6c3cbab3ab\alfonse-gltut-6b6c3cbab3ab\glloader\include\glloader\gl_3_3_comp .h(1078) : error C2143: syntax error : missing ';' before '*'
1>c:\documents and settings\administrator\my documents\opengl stuff\alfonse-gltut-6b6c3cbab3ab\alfonse-gltut-6b6c3cbab3ab\glloader\include\glloader\gl_3_3_comp .h(1078) : error C2059: syntax error : ')'
1>c:\documents and settings\administrator\my documents\opengl stuff\alfonse-gltut-6b6c3cbab3ab\alfonse-gltut-6b6c3cbab3ab\glloader\include\glloader\gl_3_3_comp .h(1078) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\documents and settings\administrator\my documents\opengl stuff\alfonse-gltut-6b6c3cbab3ab\alfonse-gltut-6b6c3cbab3ab\glloader\include\glloader\gl_3_3_comp .h(1079) : error C2143: syntax error : missing ')' before '*'
1>c:\documents and settings\administrator\my documents\opengl stuff\alfonse-gltut-6b6c3cbab3ab\alfonse-gltut-6b6c3cbab3ab\glloader\include\glloader\gl_3_3_comp .h(1079) : error C2143: syntax error : missing ';' before '*'
1>c:\documents and settings\administrator\my documents\opengl stuff\alfonse-gltut-6b6c3cbab3ab\alfonse-gltut-6b6c3cbab3ab\glloader\include\glloader\gl_3_3_comp .h(1079) : error C2059: syntax error : ')'
1>c:\documents and settings\administrator\my documents\opengl stuff\alfonse-gltut-6b6c3cbab3ab\alfonse-gltut-6b6c3cbab3ab\glloader\include\glloader\gl_3_3_comp .h(1079) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\documents and settings\administrator\my documents\opengl stuff\alfonse-gltut-6b6c3cbab3ab\alfonse-gltut-6b6c3cbab3ab\glloader\include\glloader\gl_3_3_comp .h(1080) : error C2143: syntax error : missing ')' before '*'
1>c:\documents and settings\administrator\my documents\opengl stuff\alfonse-gltut-6b6c3cbab3ab\alfonse-gltut-6b6c3cbab3ab\glloader\include\glloader\gl_3_3_comp .h(1080) : error C2143: syntax error : missing ';' before '*'
1>c:\documents and settings\administrator\my documents\opengl stuff\alfonse-gltut-6b6c3cbab3ab\alfonse-gltut-6b6c3cbab3ab\glloader\include\glloader\gl_3_3_comp .h(1080) : error C2059: syntax error : ')'
1>c:\documents and settings\administrator\my documents\opengl stuff\alfonse-gltut-6b6c3cbab3ab\alfonse-gltut-6b6c3cbab3ab\glloader\include\glloader\gl_3_3_comp .h(1080) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\documents and settings\administrator\my documents\opengl stuff\alfonse-gltut-6b6c3cbab3ab\alfonse-gltut-6b6c3cbab3ab\glloader\include\glloader\gl_3_3_comp .h(1081) : error C2143: syntax error : missing ')' before '*'
1>c:\documents and settings\administrator\my documents\opengl stuff\alfonse-gltut-6b6c3cbab3ab\alfonse-gltut-6b6c3cbab3ab\glloader\include\glloader\gl_3_3_comp .h(1081) : error C2143: syntax error : missing ';' before '*'
1>c:\documents and settings\administrator\my documents\opengl stuff\alfonse-gltut-6b6c3cbab3ab\alfonse-gltut-6b6c3cbab3ab\glloader\include\glloader\gl_3_3_comp .h(1081) : error C2059: syntax error : ')'
1>c:\documents and settings\administrator\my documents\opengl stuff\alfonse-gltut-6b6c3cbab3ab\alfonse-gltut-6b6c3cbab3ab\glloader\include\glloader\gl_3_3_comp .h(1081) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\documents and settings\administrator\my documents\opengl stuff\alfonse-gltut-6b6c3cbab3ab\alfonse-gltut-6b6c3cbab3ab\glloader\include\glloader\gl_3_3_comp .h(1082) : error C2143: syntax error : missing ')' before '*'
1>c:\documents and settings\administrator\my documents\opengl stuff\alfonse-gltut-6b6c3cbab3ab\alfonse-gltut-6b6c3cbab3ab\glloader\include\glloader\gl_3_3_comp .h(1082) : error C2143: syntax error : missing ';' before '*'
1>c:\documents and settings\administrator\my documents\opengl stuff\alfonse-gltut-6b6c3cbab3ab\alfonse-gltut-6b6c3cbab3ab\glloader\include\glloader\gl_3_3_comp .h(1082) : error C2059: syntax error : ')'
1>c:\documents and settings\administrator\my documents\opengl stuff\alfonse-gltut-6b6c3cbab3ab\alfonse-gltut-6b6c3cbab3ab\glloader\include\glloader\gl_3_3_comp .h(1082) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\documents and settings\administrator\my documents\opengl stuff\alfonse-gltut-6b6c3cbab3ab\alfonse-gltut-6b6c3cbab3ab\glloader\include\glloader\gl_3_3_comp .h(1083) : error C2143: syntax error : missing ')' before '*'
1>c:\documents and settings\administrator\my documents\opengl stuff\alfonse-gltut-6b6c3cbab3ab\alfonse-gltut-6b6c3cbab3ab\glloader\include\glloader\gl_3_3_comp .h(1083) : error C2143: syntax error : missing ';' before '*'
1>c:\documents and settings\administrator\my documents\opengl stuff\alfonse-gltut-6b6c3cbab3ab\alfonse-gltut-6b6c3cbab3ab\glloader\include\glloader\gl_3_3_comp .h(1083) : error C2059: syntax error : ')'
1>c:\documents and settings\administrator\my documents\opengl stuff\alfonse-gltut-6b6c3cbab3ab\alfonse-gltut-6b6c3cbab3ab\glloader\include\glloader\gl_3_3_comp .h(1083) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\documents and settings\administrator\my documents\opengl stuff\alfonse-gltut-6b6c3cbab3ab\alfonse-gltut-6b6c3cbab3ab\glloader\include\glloader\gl_3_3_comp .h(1084) : error C2143: syntax error : missing ')' before '*'
1>c:\documents and settings\administrator\my documents\opengl stuff\alfonse-gltut-6b6c3cbab3ab\alfonse-gltut-6b6c3cbab3ab\glloader\include\glloader\gl_3_3_comp .h(1084) : error C2143: syntax error : missing ';' before '*'
1>c:\documents and settings\administrator\my documents\opengl stuff\alfonse-gltut-6b6c3cbab3ab\alfonse-gltut-6b6c3cbab3ab\glloader\include\glloader\gl_3_3_comp .h(1084) : error C2059: syntax error : ')'
1>c:\documents and settings\administrator\my documents\opengl stuff\alfonse-gltut-6b6c3cbab3ab\alfonse-gltut-6b6c3cbab3ab\glloader\include\glloader\gl_3_3_comp .h(1084) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\documents and settings\administrator\my documents\opengl stuff\alfonse-gltut-6b6c3cbab3ab\alfonse-gltut-6b6c3cbab3ab\glloader\include\glloader\gl_3_3_comp .h(1085) : error C2143: syntax error : missing ')' before '*'
1>c:\documents and settings\administrator\my documents\opengl stuff\alfonse-gltut-6b6c3cbab3ab\alfonse-gltut-6b6c3cbab3ab\glloader\include\glloader\gl_3_3_comp .h(1085) : error C2143: syntax error : missing ';' before '*'
1>c:\documents and settings\administrator\my documents\opengl stuff\alfonse-gltut-6b6c3cbab3ab\alfonse-gltut-6b6c3cbab3ab\glloader\include\glloader\gl_3_3_comp .h(1085) : error C2059: syntax error : ')'
1>c:\documents and settings\administrator\my documents\opengl stuff\alfonse-gltut-6b6c3cbab3ab\alfonse-gltut-6b6c3cbab3ab\glloader\include\glloader\gl_3_3_comp .h(1085) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\documents and settings\administrator\my documents\opengl stuff\alfonse-gltut-6b6c3cbab3ab\alfonse-gltut-6b6c3cbab3ab\glloader\include\glloader\gl_3_3_comp .h(1086) : error C2143: syntax error : missing ')' before '*'
1>c:\documents and settings\administrator\my documents\opengl stuff\alfonse-gltut-6b6c3cbab3ab\alfonse-gltut-6b6c3cbab3ab\glloader\include\glloader\gl_3_3_comp .h(1086) : error C2143: syntax error : missing ';' before '*'
1>c:\documents and settings\administrator\my documents\opengl stuff\alfonse-gltut-6b6c3cbab3ab\alfonse-gltut-6b6c3cbab3ab\glloader\include\glloader\gl_3_3_comp .h(1086) : error C2059: syntax error : ')'
1>c:\documents and settings\administrator\my documents\opengl stuff\alfonse-gltut-6b6c3cbab3ab\alfonse-gltut-6b6c3cbab3ab\glloader\include\glloader\gl_3_3_comp .h(1086) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\documents and settings\administrator\my documents\opengl stuff\alfonse-gltut-6b6c3cbab3ab\alfonse-gltut-6b6c3cbab3ab\glloader\include\glloader\gl_3_3_comp .h(1087) : error C2143: syntax error : missing ')' before '*'
1>c:\documents and settings\administrator\my documents\opengl stuff\alfonse-gltut-6b6c3cbab3ab\alfonse-gltut-6b6c3cbab3ab\glloader\include\glloader\gl_3_3_comp .h(1087) : error C2143: syntax error : missing ';' before '*'
1>c:\documents and settings\administrator\my documents\opengl stuff\alfonse-gltut-6b6c3cbab3ab\alfonse-gltut-6b6c3cbab3ab\glloader\include\glloader\gl_3_3_comp .h(1087) : error C2059: syntax error : ')'
1>c:\documents and settings\administrator\my documents\opengl stuff\alfonse-gltut-6b6c3cbab3ab\alfonse-gltut-6b6c3cbab3ab\glloader\include\glloader\gl_3_3_comp .h(1087) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\documents and settings\administrator\my documents\opengl stuff\alfonse-gltut-6b6c3cbab3ab\alfonse-gltut-6b6c3cbab3ab\glloader\include\glloader\gl_3_3_comp .h(1088) : error C2143: syntax error : missing ')' before '*'
1>c:\documents and settings\administrator\my documents\opengl stuff\alfonse-gltut-6b6c3cbab3ab\alfonse-gltut-6b6c3cbab3ab\glloader\include\glloader\gl_3_3_comp .h(1088) : error C2143: syntax error : missing ';' before '*'
1>c:\documents and settings\administrator\my documents\opengl stuff\alfonse-gltut-6b6c3cbab3ab\alfonse-gltut-6b6c3cbab3ab\glloader\include\glloader\gl_3_3_comp .h(1088) : error C2059: syntax error : ')'
1>c:\documents and settings\administrator\my documents\opengl stuff\alfonse-gltut-6b6c3cbab3ab\alfonse-gltut-6b6c3cbab3ab\glloader\include\glloader\gl_3_3_comp .h(1088) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\documents and settings\administrator\my documents\opengl stuff\alfonse-gltut-6b6c3cbab3ab\alfonse-gltut-6b6c3cbab3ab\glloader\include\glloader\gl_3_3_comp .h(1089) : error C2143: syntax error : missing ')' before '*'
1>c:\documents and settings\administrator\my documents\opengl stuff\alfonse-gltut-6b6c3cbab3ab\alfonse-gltut-6b6c3cbab3ab\glloader\include\glloader\gl_3_3_comp .h(1089) : error C2143: syntax error : missing ';' before '*'
1>c:\documents and settings\administrator\my documents\opengl stuff\alfonse-gltut-6b6c3cbab3ab\alfonse-gltut-6b6c3cbab3ab\glloader\include\glloader\gl_3_3_comp .h(1089) : error C2059: syntax error : ')'
1>c:\documents and settings\administrator\my documents\opengl stuff\alfonse-gltut-6b6c3cbab3ab\alfonse-gltut-6b6c3cbab3ab\glloader\include\glloader\gl_3_3_comp .h(1089) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\documents and settings\administrator\my documents\opengl stuff\alfonse-gltut-6b6c3cbab3ab\alfonse-gltut-6b6c3cbab3ab\glloader\include\glloader\gl_3_3_comp .h(1090) : error C2143: syntax error : missing ')' before '*'
1>c:\documents and settings\administrator\my documents\opengl stuff\alfonse-gltut-6b6c3cbab3ab\alfonse-gltut-6b6c3cbab3ab\glloader\include\glloader\gl_3_3_comp .h(1090) : error C2143: syntax error : missing ';' before '*'
1>c:\documents and settings\administrator\my documents\opengl stuff\alfonse-gltut-6b6c3cbab3ab\alfonse-gltut-6b6c3cbab3ab\glloader\include\glloader\gl_3_3_comp .h(1090) : error C2059: syntax error : ')'
1>c:\documents and settings\administrator\my documents\opengl stuff\alfonse-gltut-6b6c3cbab3ab\alfonse-gltut-6b6c3cbab3ab\glloader\include\glloader\gl_3_3_comp .h(1090) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\documents and settings\administrator\my documents\opengl stuff\alfonse-gltut-6b6c3cbab3ab\alfonse-gltut-6b6c3cbab3ab\glloader\include\glloader\gl_3_3_comp .h(1091) : error C2143: syntax error : missing ')' before '*'
1>c:\documents and settings\administrator\my documents\opengl stuff\alfonse-gltut-6b6c3cbab3ab\alfonse-gltut-6b6c3cbab3ab\glloader\include\glloader\gl_3_3_comp .h(1091) : error C2143: syntax error : missing ';' before '*'
1>c:\documents and settings\administrator\my documents\opengl stuff\alfonse-gltut-6b6c3cbab3ab\alfonse-gltut-6b6c3cbab3ab\glloader\include\glloader\gl_3_3_comp .h(1091) : error C2059: syntax error : ')'
1>c:\documents and settings\administrator\my documents\opengl stuff\alfonse-gltut-6b6c3cbab3ab\alfonse-gltut-6b6c3cbab3ab\glloader\include\glloader\gl_3_3_comp .h(1091) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\documents and settings\administrator\my documents\opengl stuff\alfonse-gltut-6b6c3cbab3ab\alfonse-gltut-6b6c3cbab3ab\glloader\include\glloader\gl_3_3_comp .h(1092) : error C2143: syntax error : missing ')' before '*'
1>c:\documents and settings\administrator\my documents\opengl stuff\alfonse-gltut-6b6c3cbab3ab\alfonse-gltut-6b6c3cbab3ab\glloader\include\glloader\gl_3_3_comp .h(1092) : error C2143: syntax error : missing ';' before '*'
1>c:\documents and settings\administrator\my documents\opengl stuff\alfonse-gltut-6b6c3cbab3ab\alfonse-gltut-6b6c3cbab3ab\glloader\include\glloader\gl_3_3_comp .h(1092) : error C2059: syntax error : ')'
1>c:\documents and settings\administrator\my documents\opengl stuff\alfonse-gltut-6b6c3cbab3ab\alfonse-gltut-6b6c3cbab3ab\glloader\include\glloader\gl_3_3_comp .h(1092) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\documents and settings\administrator\my documents\opengl stuff\alfonse-gltut-6b6c3cbab3ab\alfonse-gltut-6b6c3cbab3ab\glloader\include\glloader\gl_3_3_comp .h(1093) : error C2143: syntax error : missing ')' before '*'
1>c:\documents and settings\administrator\my documents\opengl stuff\alfonse-gltut-6b6c3cbab3ab\alfonse-gltut-6b6c3cbab3ab\glloader\include\glloader\gl_3_3_comp .h(1093) : error C2143: syntax error : missing ';' before '*'
1>c:\documents and settings\administrator\my documents\opengl stuff\alfonse-gltut-6b6c3cbab3ab\alfonse-gltut-6b6c3cbab3ab\glloader\include\glloader\gl_3_3_comp .h(1093) : error C2059: syntax error : ')'
1>c:\documents and settings\administrator\my documents\opengl stuff\alfonse-gltut-6b6c3cbab3ab\alfonse-gltut-6b6c3cbab3ab\glloader\include\glloader\gl_3_3_comp .h(1093) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\documents and settings\administrator\my documents\opengl stuff\alfonse-gltut-6b6c3cbab3ab\alfonse-gltut-6b6c3cbab3ab\glloader\include\glloader\gl_3_3_comp .h(1094) : error C2143: syntax error : missing ')' before '*'
1>c:\documents and settings\administrator\my documents\opengl stuff\alfonse-gltut-6b6c3cbab3ab\alfonse-gltut-6b6c3cbab3ab\glloader\include\glloader\gl_3_3_comp .h(1094) : error C2143: syntax error : missing ';' before '*'
1>c:\documents and settings\administrator\my documents\opengl stuff\alfonse-gltut-6b6c3cbab3ab\alfonse-gltut-6b6c3cbab3ab\glloader\include\glloader\gl_3_3_comp .h(1094) : error C2059: syntax error : ')'
1>c:\documents and settings\administrator\my documents\opengl stuff\alfonse-gltut-6b6c3cbab3ab\alfonse-gltut-6b6c3cbab3ab\glloader\include\glloader\gl_3_3_comp .h(1094) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\documents and settings\administrator\my documents\opengl stuff\alfonse-gltut-6b6c3cbab3ab\alfonse-gltut-6b6c3cbab3ab\glloader\include\glloader\gl_3_3_comp .h(1095) : error C2143: syntax error : missing ')' before '*'
1>c:\documents and settings\administrator\my documents\opengl stuff\alfonse-gltut-6b6c3cbab3ab\alfonse-gltut-6b6c3cbab3ab\glloader\include\glloader\gl_3_3_comp .h(1095) : error C2143: syntax error : missing ';' before '*'
1>c:\documents and settings\administrator\my documents\opengl stuff\alfonse-gltut-6b6c3cbab3ab\alfonse-gltut-6b6c3cbab3ab\glloader\include\glloader\gl_3_3_comp .h(1095) : error C2059: syntax error : ')'
1>c:\documents and settings\administrator\my documents\opengl stuff\alfonse-gltut-6b6c3cbab3ab\alfonse-gltut-6b6c3cbab3ab\glloader\include\glloader\gl_3_3_comp .h(1095) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\documents and settings\administrator\my documents\opengl stuff\alfonse-gltut-6b6c3cbab3ab\alfonse-gltut-6b6c3cbab3ab\glloader\include\glloader\gl_3_3_comp .h(1096) : error C2143: syntax error : missing ')' before '*'
1>c:\documents and settings\administrator\my documents\opengl stuff\alfonse-gltut-6b6c3cbab3ab\alfonse-gltut-6b6c3cbab3ab\glloader\include\glloader\gl_3_3_comp .h(1096) : error C2143: syntax error : missing ';' before '*'
1>c:\documents and settings\administrator\my documents\opengl stuff\alfonse-gltut-6b6c3cbab3ab\alfonse-gltut-6b6c3cbab3ab\glloader\include\glloader\gl_3_3_comp .h(1096) : error C2059: syntax error : ')'
1>c:\documents and settings\administrator\my documents\opengl stuff\alfonse-gltut-6b6c3cbab3ab\alfonse-gltut-6b6c3cbab3ab\glloader\include\glloader\gl_3_3_comp .h(1096) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\documents and settings\administrator\my documents\opengl stuff\alfonse-gltut-6b6c3cbab3ab\alfonse-gltut-6b6c3cbab3ab\glloader\include\glloader\gl_3_3_comp .h(1097) : error C2143: syntax error : missing ')' before '*'
1>c:\documents and settings\administrator\my documents\opengl stuff\alfonse-gltut-6b6c3cbab3ab\alfonse-gltut-6b6c3cbab3ab\glloader\include\glloader\gl_3_3_comp .h(1097) : error C2143: syntax error : missing ';' before '*'
1>c:\documents and settings\administrator\my documents\opengl stuff\alfonse-gltut-6b6c3cbab3ab\alfonse-gltut-6b6c3cbab3ab\glloader\include\glloader\gl_3_3_comp .h(1097) : error C2059: syntax error : ')'
1>c:\documents and settings\administrator\my documents\opengl stuff\alfonse-gltut-6b6c3cbab3ab\alfonse-gltut-6b6c3cbab3ab\glloader\include\glloader\gl_3_3_comp .h(1097) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\documents and settings\administrator\my documents\opengl stuff\alfonse-gltut-6b6c3cbab3ab\alfonse-gltut-6b6c3cbab3ab\glloader\include\glloader\gl_3_3_comp .h(1098) : error C2143: syntax error : missing ')' before '*'
1>c:\documents and settings\administrator\my documents\opengl stuff\alfonse-gltut-6b6c3cbab3ab\alfonse-gltut-6b6c3cbab3ab\glloader\include\glloader\gl_3_3_comp .h(1098) : error C2143: syntax error : missing ';' before '*'
1>c:\documents and settings\administrator\my documents\opengl stuff\alfonse-gltut-6b6c3cbab3ab\alfonse-gltut-6b6c3cbab3ab\glloader\include\glloader\gl_3_3_comp .h(1098) : error C2059: syntax error : ')'
1>c:\documents and settings\administrator\my documents\opengl stuff\alfonse-gltut-6b6c3cbab3ab\alfonse-gltut-6b6c3cbab3ab\glloader\include\glloader\gl_3_3_comp .h(1098) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\documents and settings\administrator\my documents\opengl stuff\alfonse-gltut-6b6c3cbab3ab\alfonse-gltut-6b6c3cbab3ab\glloader\include\glloader\gl_3_3_comp .h(1099) : error C2143: syntax error : missing ')' before '*'
1>c:\documents and settings\administrator\my documents\opengl stuff\alfonse-gltut-6b6c3cbab3ab\alfonse-gltut-6b6c3cbab3ab\glloader\include\glloader\gl_3_3_comp .h(1099) : error C2143: syntax error : missing ';' before '*'
1>c:\documents and settings\administrator\my documents\opengl stuff\alfonse-gltut-6b6c3cbab3ab\alfonse-gltut-6b6c3cbab3ab\glloader\include\glloader\gl_3_3_comp .h(1099) : error C2059: syntax error : ')'
1>c:\documents and settings\administrator\my documents\opengl stuff\alfonse-gltut-6b6c3cbab3ab\alfonse-gltut-6b6c3cbab3ab\glloader\include\glloader\gl_3_3_comp .h(1099) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\documents and settings\administrator\my documents\opengl stuff\alfonse-gltut-6b6c3cbab3ab\alfonse-gltut-6b6c3cbab3ab\glloader\include\glloader\gl_3_3_comp .h(1100) : error C2143: syntax error : missing ')' before '*'
1>c:\documents and settings\administrator\my documents\opengl stuff\alfonse-gltut-6b6c3cbab3ab\alfonse-gltut-6b6c3cbab3ab\glloader\include\glloader\gl_3_3_comp .h(1100) : error C2143: syntax error : missing ';' before '*'
1>c:\documents and settings\administrator\my documents\opengl stuff\alfonse-gltut-6b6c3cbab3ab\alfonse-gltut-6b6c3cbab3ab\glloader\include\glloader\gl_3_3_comp .h(1100) : error C2059: syntax error : ')'
1>c:\documents and settings\administrator\my documents\opengl stuff\alfonse-gltut-6b6c3cbab3ab\alfonse-gltut-6b6c3cbab3ab\glloader\include\glloader\gl_3_3_comp .h(1100) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\documents and settings\administrator\my documents\opengl stuff\alfonse-gltut-6b6c3cbab3ab\alfonse-gltut-6b6c3cbab3ab\glloader\include\glloader\gl_3_3_comp .h(1101) : error C2143: syntax error : missing ')' before '*'
1>c:\documents and settings\administrator\my documents\opengl stuff\alfonse-gltut-6b6c3cbab3ab\alfonse-gltut-6b6c3cbab3ab\glloader\include\glloader\gl_3_3_comp .h(1101) : error C2143: syntax error : missing ';' before '*'
1>c:\documents and settings\administrator\my documents\opengl stuff\alfonse-gltut-6b6c3cbab3ab\alfonse-gltut-6b6c3cbab3ab\glloader\include\glloader\gl_3_3_comp .h(1101) : error C2059: syntax error : ')'
1>c:\documents and settings\administrator\my documents\opengl stuff\alfonse-gltut-6b6c3cbab3ab\alfonse-gltut-6b6c3cbab3ab\glloader\include\glloader\gl_3_3_comp .h(1101) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\documents and settings\administrator\my documents\opengl stuff\alfonse-gltut-6b6c3cbab3ab\alfonse-gltut-6b6c3cbab3ab\glloader\include\glloader\gl_3_3_comp .h(1102) : error C2143: syntax error : missing ')' before '*'
1>c:\documents and settings\administrator\my documents\opengl stuff\alfonse-gltut-6b6c3cbab3ab\alfonse-gltut-6b6c3cbab3ab\glloader\include\glloader\gl_3_3_comp .h(1102) : error C2143: syntax error : missing ';' before '*'
1>c:\documents and settings\administrator\my documents\opengl stuff\alfonse-gltut-6b6c3cbab3ab\alfonse-gltut-6b6c3cbab3ab\glloader\include\glloader\gl_3_3_comp .h(1102) : error C2059: syntax error : ')'
1>c:\documents and settings\administrator\my documents\opengl stuff\alfonse-gltut-6b6c3cbab3ab\alfonse-gltut-6b6c3cbab3ab\glloader\include\glloader\gl_3_3_comp .h(1102) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

The question is simple .How I configure the glloader linkage in order to stop receiving all those errors.Btw after using built demo projects following your manual They still don't compile.Thanks

Alfonse Reinheart
06-13-2011, 12:42 PM
I did not mention Premake4 because I tried it.I built all the tut projects.And was having even bigger mess.

So... what happened? What was this "bigger mess" that you were having?

Premake4 is the build configuration system that I support; that's why the instructions tell you to use it. If it isn't generating VS projects that compile for you, then that is the problem that needs to be fixed.

Or, to put it another way, I'm not going to tell you how to manually put together VS projects to build the tutorials. If for no other reason than I myself don't know how, since I use Premake4 and it works.

Also, put a space after periods in your sentences; it makes your posts easier to read.

SasMaster
06-13-2011, 01:07 PM
OK! After building everything with premake4 I am able to run the demos.But still the question I am asking is how I setup a project from scratch.I mean ,if I don't use the framework included in the demos why I am getting all those errors?
Thanks for your patience once again.