Hello!
I’m a student of applied maths who’s starting to play with cuda in order to learn his capabilities…
i have a notebook:
http://h10010.www1.hp.com/wwpc/us/en/sm/WF…95-3254425.html with ubuntu 8.04
without a CUDA gpu, but from what i understood CUDA should be able to emulate one, therefore the note should plenty fits my needs of learner…
I followed the direction on the site, although not being able to install the nvidia driver, and following the readme i launched make to start compiling the examples, but the follow error occurred:
cleo@ubuntu:~/NVIDIA_CUDA_SDK$ make
make[1]: Entering directory `/home/cleo/NVIDIA_CUDA_SDK/common'
mkdir: cannot create directory `obj': Permission denied
make[1]: *** [makedirectories] Error 1
make[1]: Leaving directory `/home/cleo/NVIDIA_CUDA_SDK/common'
make: *** [lib/libcutil.so] Error 2
cleo@ubuntu:~/NVIDIA_CUDA_SDK$ sudo !!
sudo make
make[1]: Entering directory `/home/cleo/NVIDIA_CUDA_SDK/common'
ar: creating ./../lib/libcutil.a
a - obj/release/bank_checker.cpp_o
a - obj/release/cmd_arg_reader.cpp_o
a - obj/release/cutil.cpp_o
a - obj/release/stopwatch.cpp_o
a - obj/release/stopwatch_linux.cpp_o
a - obj/release/multithreading.cpp_o
make[1]: Leaving directory `/home/cleo/NVIDIA_CUDA_SDK/common'
make[1]: Entering directory `/home/cleo/NVIDIA_CUDA_SDK/common'
In file included from ./../common/inc/paramgl.h:13,
        from src/paramgl.cpp:8:
./../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:13,
        from src/paramgl.cpp:8:
./../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:12: error: ‘GL_MODELVIEW’ was not declared in this scope
src/paramgl.cpp:12: error: ‘glMatrixMode’ was not declared in this scope
src/paramgl.cpp:13: error: ‘glPushMatrix’ was not declared in this scope
src/paramgl.cpp:14: error: ‘glLoadIdentity’ was not declared in this scope
src/paramgl.cpp:15: error: ‘glutGet’ cannot be used as a function
src/paramgl.cpp:15: error: ‘glTranslatef’ was not declared in this scope
src/paramgl.cpp:16: error: ‘glScalef’ was not declared in this scope
src/paramgl.cpp:18: error: ‘GL_PROJECTION’ was not declared in this scope
src/paramgl.cpp:21: error: ‘glutGet’ cannot be used as a function
src/paramgl.cpp:21: error: ‘glutGet’ cannot be used as a function
src/paramgl.cpp:21: error: ‘glOrtho’ was not declared in this scope
src/paramgl.cpp: In function ‘void endWinCoords()’:
src/paramgl.cpp:28: error: ‘GL_PROJECTION’ was not declared in this scope
src/paramgl.cpp:28: error: ‘glMatrixMode’ was not declared in this scope
src/paramgl.cpp:29: error: ‘glPopMatrix’ was not declared in this scope
src/paramgl.cpp:31: error: ‘GL_MODELVIEW’ was not declared in this scope
src/paramgl.cpp: In function ‘void glPrint(int, int, const char*, void*)’:
src/paramgl.cpp:39: error: ‘glRasterPos2f’ was not declared in this scope
src/paramgl.cpp: In function ‘void glPrintShadowed(int, int, const char*, void*, float*)’:
src/paramgl.cpp:48: error: ‘glColor3f’ was not declared in this scope
src/paramgl.cpp:51: error: ‘GLfloat’ was not declared in this scope
src/paramgl.cpp:51: error: expected primary-expression before ‘)’ token
src/paramgl.cpp:51: error: ‘glColor3fv’ was not declared in this scope
src/paramgl.cpp: At global scope:
src/paramgl.cpp:46: warning: unused parameter ‘color’
src/paramgl.cpp: In member function ‘void ParamListGL::Render(int, int, bool)’:
src/paramgl.cpp:108: error: ‘glColor3fv’ was not declared in this scope
src/paramgl.cpp:110: error: ‘glColor3fv’ was not declared in this scope
src/paramgl.cpp:122: error: ‘GL_LINE_LOOP’ was not declared in this scope
src/paramgl.cpp:122: error: ‘glBegin’ was not declared in this scope
src/paramgl.cpp:123: error: ‘glVertex2f’ was not declared in this scope
src/paramgl.cpp:127: error: ‘glEnd’ was not declared in this scope
src/paramgl.cpp:130: error: ‘glRectf’ was not declared in this scope
make[1]: *** [obj/release/paramgl.cpp_o] Error 1
make[1]: Leaving directory `/home/cleo/NVIDIA_CUDA_SDK/common'
make: *** [lib/libparamgl.so] Error 2
cleo@ubuntu:~/NVIDIA_CUDA_SDK$ cd bin
cleo@ubuntu:~/NVIDIA_CUDA_SDK/bin$ ls
cleo@ubuntu:~/NVIDIA_CUDA_SDK/bin$
maybe is that the emulator is only for windows, therefore linux users have to have a geforce card?
thank you