good afternoon … I’m new to the forum and I’m working with CUDA…my problem is this:
I am using CUDA in emulation mode…and you install the Toolkit and SDK, the driver still does not because i dont’t have the nVidia GPU…and when run make emu=1 from the command line I get the following error:
[antonio@pc-antonio C]$ make emu=1
make[1]: Entering directory /home/antonio/NVIDIA_GPU_Computing_SDK/C/common' make[1]: Leaving directory
/home/antonio/NVIDIA_GPU_Computing_SDK/C/common’
make[1]: Entering directory /home/antonio/NVIDIA_GPU_Computing_SDK/C/common' In file included from ./../common/inc/paramgl.h:24, from src/paramgl.cpp:19: ./../common/inc/GL/glut.h:59:19: error: GL/gl.h: No such file or directory ./../common/inc/GL/glut.h:60:20: error: GL/glu.h: No such file or directory In file included from ./../common/inc/paramgl.h:24, from src/paramgl.cpp:19: ./../common/inc/GL/glut.h:433: warning: ‘glutUseLayer’ initialized and declared ‘extern’ ./../common/inc/GL/glut.h:433: error: variable or field ‘glutUseLayer’ declared void ./../common/inc/GL/glut.h:433: error: ‘GLenum’ was not declared in this scope ./../common/inc/GL/glut.h:491: error: ‘GLfloat’ has not been declared ./../common/inc/GL/glut.h:491: error: ‘GLfloat’ has not been declared ./../common/inc/GL/glut.h:491: error: ‘GLfloat’ has not been declared ./../common/inc/GL/glut.h:492: error: ‘GLfloat’ does not name a type ./../common/inc/GL/glut.h:496: warning: ‘glutGet’ initialized and declared ‘extern’ ./../common/inc/GL/glut.h:496: error: ‘GLenum’ was not declared in this scope ./../common/inc/GL/glut.h:497: warning: ‘glutDeviceGet’ initialized and declared ‘extern’ ./../common/inc/GL/glut.h:497: error: ‘GLenum’ was not declared in this scope ./../common/inc/GL/glut.h:504: warning: ‘glutLayerGet’ initialized and declared ‘extern’ ./../common/inc/GL/glut.h:504: error: ‘GLenum’ was not declared in this scope ./../common/inc/GL/glut.h:518: warning: ‘glutWireSphere’ initialized and declared ‘extern’ ./../common/inc/GL/glut.h:518: error: variable or field ‘glutWireSphere’ declared void ./../common/inc/GL/glut.h:518: error: ‘GLdouble’ was not declared in this scope ./../common/inc/GL/glut.h:518: error: ‘GLint’ was not declared in this scope ./../common/inc/GL/glut.h:518: error: ‘GLint’ was not declared in this scope ./../common/inc/GL/glut.h:519: warning: ‘glutSolidSphere’ initialized and declared ‘extern’ ./../common/inc/GL/glut.h:519: error: variable or field ‘glutSolidSphere’ declared void ./../common/inc/GL/glut.h:519: error: ‘GLdouble’ was not declared in this scope ./../common/inc/GL/glut.h:519: error: ‘GLint’ was not declared in this scope ./../common/inc/GL/glut.h:519: error: ‘GLint’ was not declared in this scope ./../common/inc/GL/glut.h:520: warning: ‘glutWireCone’ initialized and declared ‘extern’ ./../common/inc/GL/glut.h:520: error: variable or field ‘glutWireCone’ declared void ./../common/inc/GL/glut.h:520: error: ‘GLdouble’ was not declared in this scope ./../common/inc/GL/glut.h:520: error: ‘GLdouble’ was not declared in this scope ./../common/inc/GL/glut.h:520: error: ‘GLint’ was not declared in this scope ./../common/inc/GL/glut.h:520: error: ‘GLint’ was not declared in this scope ./../common/inc/GL/glut.h:521: warning: ‘glutSolidCone’ initialized and declared ‘extern’ ./../common/inc/GL/glut.h:521: error: variable or field ‘glutSolidCone’ declared void ./../common/inc/GL/glut.h:521: error: ‘GLdouble’ was not declared in this scope ./../common/inc/GL/glut.h:521: error: ‘GLdouble’ was not declared in this scope ./../common/inc/GL/glut.h:521: error: ‘GLint’ was not declared in this scope ./../common/inc/GL/glut.h:521: error: ‘GLint’ was not declared in this scope ./../common/inc/GL/glut.h:522: warning: ‘glutWireCube’ initialized and declared ‘extern’ ./../common/inc/GL/glut.h:522: error: variable or field ‘glutWireCube’ declared void ./../common/inc/GL/glut.h:522: error: ‘GLdouble’ was not declared in this scope ./../common/inc/GL/glut.h:523: warning: ‘glutSolidCube’ initialized and declared ‘extern’ ./../common/inc/GL/glut.h:523: error: variable or field ‘glutSolidCube’ declared void ./../common/inc/GL/glut.h:523: error: ‘GLdouble’ was not declared in this scope ./../common/inc/GL/glut.h:524: warning: ‘glutWireTorus’ initialized and declared ‘extern’ ./../common/inc/GL/glut.h:524: error: variable or field ‘glutWireTorus’ declared void ./../common/inc/GL/glut.h:524: error: ‘GLdouble’ was not declared in this scope ./../common/inc/GL/glut.h:524: error: ‘GLdouble’ was not declared in this scope ./../common/inc/GL/glut.h:524: error: ‘GLint’ was not declared in this scope ./../common/inc/GL/glut.h:524: error: ‘GLint’ was not declared in this scope ./../common/inc/GL/glut.h:525: warning: ‘glutSolidTorus’ initialized and declared ‘extern’ ./../common/inc/GL/glut.h:525: error: variable or field ‘glutSolidTorus’ declared void ./../common/inc/GL/glut.h:525: error: ‘GLdouble’ was not declared in this scope ./../common/inc/GL/glut.h:525: error: ‘GLdouble’ was not declared in this scope ./../common/inc/GL/glut.h:525: error: ‘GLint’ was not declared in this scope ./../common/inc/GL/glut.h:525: error: ‘GLint’ was not declared in this scope ./../common/inc/GL/glut.h:528: warning: ‘glutWireTeapot’ initialized and declared ‘extern’ ./../common/inc/GL/glut.h:528: error: variable or field ‘glutWireTeapot’ declared void ./../common/inc/GL/glut.h:528: error: ‘GLdouble’ was not declared in this scope ./../common/inc/GL/glut.h:529: warning: ‘glutSolidTeapot’ initialized and declared ‘extern’ ./../common/inc/GL/glut.h:529: error: variable or field ‘glutSolidTeapot’ declared void ./../common/inc/GL/glut.h:529: error: ‘GLdouble’ was not declared in this scope ./../common/inc/GL/glut.h:539: warning: ‘glutVideoResizeGet’ initialized and declared ‘extern’ ./../common/inc/GL/glut.h:539: error: ‘GLenum’ was not declared in this scope ./../common/inc/GL/glut.h:579: warning: ‘glutGameModeGet’ initialized and declared ‘extern’ ./../common/inc/GL/glut.h:579: error: ‘GLenum’ was not declared in this scope src/paramgl.cpp: In function ‘void beginWinCoords()’: src/paramgl.cpp:24: error: ‘GL_MODELVIEW’ was not declared in this scope src/paramgl.cpp:24: error: ‘glMatrixMode’ was not declared in this scope src/paramgl.cpp:25: error: ‘glPushMatrix’ was not declared in this scope src/paramgl.cpp:26: error: ‘glLoadIdentity’ was not declared in this scope src/paramgl.cpp:27: error: ‘glutGet’ cannot be used as a function src/paramgl.cpp:27: error: ‘glTranslatef’ was not declared in this scope src/paramgl.cpp:28: error: ‘glScalef’ was not declared in this scope src/paramgl.cpp:30: error: ‘GL_PROJECTION’ was not declared in this scope src/paramgl.cpp:33: error: ‘glutGet’ cannot be used as a function src/paramgl.cpp:33: error: ‘glutGet’ cannot be used as a function src/paramgl.cpp:33: error: ‘glOrtho’ was not declared in this scope src/paramgl.cpp: In function ‘void endWinCoords()’: src/paramgl.cpp:40: error: ‘GL_PROJECTION’ was not declared in this scope src/paramgl.cpp:40: error: ‘glMatrixMode’ was not declared in this scope src/paramgl.cpp:41: error: ‘glPopMatrix’ was not declared in this scope src/paramgl.cpp:43: error: ‘GL_MODELVIEW’ was not declared in this scope src/paramgl.cpp: In function ‘void glPrint(int, int, const char*, void*)’: src/paramgl.cpp:49: error: ‘glRasterPos2f’ was not declared in this scope src/paramgl.cpp: In function ‘void glPrintShadowed(int, int, const char*, void*, float*)’: src/paramgl.cpp:58: error: ‘glColor3f’ was not declared in this scope src/paramgl.cpp:61: error: ‘GLfloat’ was not declared in this scope src/paramgl.cpp:61: error: expected primary-expression before ‘)’ token src/paramgl.cpp:61: error: ‘glColor3fv’ was not declared in this scope src/paramgl.cpp: At global scope: src/paramgl.cpp:56: warning: unused parameter ‘color’ src/paramgl.cpp: In member function ‘void ParamListGL::Render(int, int, bool)’: src/paramgl.cpp:105: error: ‘glColor3fv’ was not declared in this scope src/paramgl.cpp:107: error: ‘glColor3fv’ was not declared in this scope src/paramgl.cpp:117: error: ‘GLfloat’ was not declared in this scope src/paramgl.cpp:117: error: expected primary-expression before ‘)’ token src/paramgl.cpp:117: error: ‘glColor3fv’ was not declared in this scope src/paramgl.cpp:118: error: ‘GL_LINE_LOOP’ was not declared in this scope src/paramgl.cpp:118: error: ‘glBegin’ was not declared in this scope src/paramgl.cpp:119: error: ‘glVertex2f’ was not declared in this scope src/paramgl.cpp:123: error: ‘glEnd’ was not declared in this scope src/paramgl.cpp:125: error: expected primary-expression before ‘)’ token src/paramgl.cpp:126: error: ‘glRectf’ was not declared in this scope make[1]: *** [obj/release/paramgl.cpp.o] Error 1 make[1]: Leaving directory
/home/antonio/NVIDIA_GPU_Computing_SDK/C/common’
make: *** [lib/libparamgl.so] Error 2
please if anyone can help me, will thank you much