fatal error C1083
--------------------Configuration: fggfg - Win32 Debug--------------------
Compiling...
QQ.c
c:\new\quartics\qq.c(1) : fatal error C1083: Cannot open include file: ''stdafx.h'': No such file or directory
Error executing cl.exe.
QQ.obj - 1 error(s), 0 warning(s)
anyone know how do one solve this problem?
i have tried removing the usage of precompiled header, and i have created workspace on MFC .exe, but all in vain...
please advice anyone?
There is still the 1083 error in compiling cpp file.
but this errors below
as
GLUquadricObj *quadratic; // Storage For Our Quadratic
already make it a pointer for storage
i do not know why it''s giving errors at
quadratic = gluNewQuadric(); // Create A Pointer To The Quadric Object ( NEW )
--------------------Configuration: hope - Win32 Debug--------------------
Compiling...
hope.cpp
C:\New\hope\hope.cpp(86) : error C2501: ''quadratic'' : missing storage-class or type specifiers
C:\New\hope\hope.cpp(86) : error C2040: ''quadratic'' : ''int'' differs in levels of indirection from ''class GLUquadric *''
C:\New\hope\hope.cpp(86) : error C2440: ''initializing'' : cannot convert from ''class GLUquadric *'' to ''int''
This conversion requires a reinterpret_cast, a C-style cast or function-style cast
C:\New\hope\hope.cpp(87) : error C2501: ''gluQuadricNormals'' : missing storage-class or type specifiers
C:\New\hope\hope.cpp(87) : error C2373: ''gluQuadricNormals'' : redefinition; different type modifiers
c:\program files\microsoft visual studio\vc98\include\gl\glu.h(182) : see declaration of ''gluQuadricNormals''
C:\New\hope\hope.cpp(87) : error C2078: too many initializers
C:\New\hope\hope.cpp(88) : error C2501: ''gluQuadricTexture'' : missing storage-class or type specifiers
C:\New\hope\hope.cpp(88) : error C2373: ''gluQuadricTexture'' : redefinition; different type modifiers
c:\program files\microsoft visual studio\vc98\include\gl\glu.h(186) : see declaration of ''gluQuadricTexture''
C:\New\hope\hope.cpp(88) : error C2078: too many initializers
C:\New\hope\hope.cpp(99) : error C2065: ''LoadBMP'' : undeclared identifier
C:\New\hope\hope.cpp(99) : error C2440: ''='' : cannot convert from ''int'' to ''struct _AUX_RGBImageRec *''
Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
C:\New\hope\hope.cpp(100) : error C2440: ''='' : cannot convert from ''int'' to ''struct _AUX_RGBImageRec *''
Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
C:\New\hope\hope.cpp(188) : error C2501: ''glTexGeni'' : missing storage-class or type specifiers
C:\New\hope\hope.cpp(188) : error C2373: ''glTexGeni'' : redefinition; different type modifiers
c:\program files\microsoft visual studio\vc98\include\gl\gl.h(1450) : see declaration of ''glTexGeni''
C:\New\hope\hope.cpp(188) : error C2078: too many initializers
C:\New\hope\hope.cpp(189) : error C2501: ''glTexGeni'' : missing storage-class or type specifiers
C:\New\hope\hope.cpp(189) : error C2373: ''glTexGeni'' : redefinition; different type modifiers
c:\program files\microsoft visual studio\vc98\include\gl\gl.h(1450) : see declaration of ''glTexGeni''
C:\New\hope\hope.cpp(189) : error C2078: too many initializers
C:\New\hope\hope.cpp(245) : error C2143: syntax error : missing '';'' before ''if''
C:\New\hope\hope.cpp(246) : error C2143: syntax error : missing '';'' before ''{''
C:\New\hope\hope.cpp(246) : error C2447: missing function header (old-style formal list?)
C:\New\hope\hope.cpp(253) : error C2143: syntax error : missing '';'' before ''}''
C:\New\hope\hope.cpp(253) : error C2143: syntax error : missing '';'' before ''}''
C:\New\hope\hope.cpp(253) : error C2143: syntax error : missing '';'' before ''}''
Error executing cl.exe.
hope.obj - 24 error(s), 0 warning(s)
but this errors below
as
GLUquadricObj *quadratic; // Storage For Our Quadratic
already make it a pointer for storage
i do not know why it''s giving errors at
quadratic = gluNewQuadric(); // Create A Pointer To The Quadric Object ( NEW )
--------------------Configuration: hope - Win32 Debug--------------------
Compiling...
hope.cpp
C:\New\hope\hope.cpp(86) : error C2501: ''quadratic'' : missing storage-class or type specifiers
C:\New\hope\hope.cpp(86) : error C2040: ''quadratic'' : ''int'' differs in levels of indirection from ''class GLUquadric *''
C:\New\hope\hope.cpp(86) : error C2440: ''initializing'' : cannot convert from ''class GLUquadric *'' to ''int''
This conversion requires a reinterpret_cast, a C-style cast or function-style cast
C:\New\hope\hope.cpp(87) : error C2501: ''gluQuadricNormals'' : missing storage-class or type specifiers
C:\New\hope\hope.cpp(87) : error C2373: ''gluQuadricNormals'' : redefinition; different type modifiers
c:\program files\microsoft visual studio\vc98\include\gl\glu.h(182) : see declaration of ''gluQuadricNormals''
C:\New\hope\hope.cpp(87) : error C2078: too many initializers
C:\New\hope\hope.cpp(88) : error C2501: ''gluQuadricTexture'' : missing storage-class or type specifiers
C:\New\hope\hope.cpp(88) : error C2373: ''gluQuadricTexture'' : redefinition; different type modifiers
c:\program files\microsoft visual studio\vc98\include\gl\glu.h(186) : see declaration of ''gluQuadricTexture''
C:\New\hope\hope.cpp(88) : error C2078: too many initializers
C:\New\hope\hope.cpp(99) : error C2065: ''LoadBMP'' : undeclared identifier
C:\New\hope\hope.cpp(99) : error C2440: ''='' : cannot convert from ''int'' to ''struct _AUX_RGBImageRec *''
Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
C:\New\hope\hope.cpp(100) : error C2440: ''='' : cannot convert from ''int'' to ''struct _AUX_RGBImageRec *''
Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
C:\New\hope\hope.cpp(188) : error C2501: ''glTexGeni'' : missing storage-class or type specifiers
C:\New\hope\hope.cpp(188) : error C2373: ''glTexGeni'' : redefinition; different type modifiers
c:\program files\microsoft visual studio\vc98\include\gl\gl.h(1450) : see declaration of ''glTexGeni''
C:\New\hope\hope.cpp(188) : error C2078: too many initializers
C:\New\hope\hope.cpp(189) : error C2501: ''glTexGeni'' : missing storage-class or type specifiers
C:\New\hope\hope.cpp(189) : error C2373: ''glTexGeni'' : redefinition; different type modifiers
c:\program files\microsoft visual studio\vc98\include\gl\gl.h(1450) : see declaration of ''glTexGeni''
C:\New\hope\hope.cpp(189) : error C2078: too many initializers
C:\New\hope\hope.cpp(245) : error C2143: syntax error : missing '';'' before ''if''
C:\New\hope\hope.cpp(246) : error C2143: syntax error : missing '';'' before ''{''
C:\New\hope\hope.cpp(246) : error C2447: missing function header (old-style formal list?)
C:\New\hope\hope.cpp(253) : error C2143: syntax error : missing '';'' before ''}''
C:\New\hope\hope.cpp(253) : error C2143: syntax error : missing '';'' before ''}''
C:\New\hope\hope.cpp(253) : error C2143: syntax error : missing '';'' before ''}''
Error executing cl.exe.
hope.obj - 24 error(s), 0 warning(s)
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement