Hi,
I have downloaded the newest cuda sdk and try to run it.
For the project: smokeParticles
when i went to its folder and make it, i got the following two errors:
In file included from particleDemo.cpp:30:
../../common/inc/GL/glew.h:1123:20: error: GL/glu.h: No such file or directory
In file included from ParticleSystem.h:15,
from particleDemo.cpp:45:
particles_kernel.cuh:39:7: warning: no newline at end of file
In file included from ParticleSystem.h:19,
from particleDemo.cpp:45:
../../common/inc/nvMath.h:94:7: warning: no newline at end of file
In file included from particleDemo.cpp:46:
ParticleSystem.cuh:33:2: warning: no newline at end of file
In file included from particleDemo.cpp:50:
SmokeShaders.h:16:38: warning: no newline at end of file
particleDemo.cpp: In function ‘void reshape(int, int)’:
particleDemo.cpp:351: error: ‘gluPerspective’ was not declared in this scope
particleDemo.cpp: In function ‘void runEmitter()’:
particleDemo.cpp:595: warning: passing ‘float’ for argument 6 to ‘void ParticleSystem::sphereEmitter(uint&, nv::vec3f, nv::vec3f, nv::vec3f, float, int, float, float)’
particleDemo.cpp: In function ‘void idle()’:
particleDemo.cpp:616: warning: array subscript has type ‘char’
particleDemo.cpp:621: warning: array subscript has type ‘char’
particleDemo.cpp:626: warning: array subscript has type ‘char’
particleDemo.cpp:631: warning: array subscript has type ‘char’
particleDemo.cpp:636: warning: array subscript has type ‘char’
particleDemo.cpp:641: warning: array subscript has type ‘char’
make: *** [obj/release/particleDemo.cpp.o] Error 1
it seems weird to me since it really goes to the common/GL folder to find non-existent file. anyone has any idea?
I check it online, there are some discussions on Ubuntu. But for red hat, i can not find the corresponding packages.
need your help! many thanks! :rolleyes: