# compiling sdk examples

**URL:** <https://forums.developer.nvidia.com/t/compiling-sdk-examples/12532>\
**Category:** CUDA Programming and Performance\
**Created:** [October 2, 2009, 1:52am UTC](https://forums.developer.nvidia.com/t/compiling-sdk-examples/12532 "2009-10-02T01:52:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mikeaw](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@mikeaw](https://forums.developer.nvidia.com/u/mikeaw)\
**Post date:** [October 2, 2009, 1:52am UTC](https://forums.developer.nvidia.com/t/compiling-sdk-examples/12532/1 "2009-10-02T01:52:59Z")

</div>

I got the sdk examples going on my mac so fast and easy, but I’m still having compiler issues on my suse 11.1 machine.

I verify that I have the cuda driver (2.3) installed, and nvcc is up and running. gcc is verified now to be 4.3.

In the common directory  
~/NVIDIA\_GPU\_Computing\_SDK/C/common  
make compiles the codes in ~/NVIDIA\_GPU\_Computing\_SDK/C/common/src, but when I  
try to compile in ~/NVIDIA\_GPU\_Computing\_SDK/C  
I keep getting the complaint that it’s looking for glu.h’ the common/inc/GL location.  
My distribution did not include a ‘glu.h’, but I do see the reference for it in  
GL/glut.h

In file included from ./…/common/inc/paramgl.h:24,  
from src/paramgl.cpp:19:  
./…/common/inc/GL/glut.h:60:20: error: GL/glu.h: No such file or directory  
make[1]: \*\*\* [obj/release/paramgl.cpp.o] Error 1  
make[1]: Leaving directory `/home/Mike/NVIDIA\_GPU\_Computing\_SDK/C/common’  
make: \*\*\* [lib/libparamgl.so] Error 2

---

<div class="post-metadata">

**Author:** ![avidday](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/avidday/32/59219_2.png) [@avidday](https://forums.developer.nvidia.com/u/avidday)\
**Post date:** [October 2, 2009, 7:33am UTC](https://forums.developer.nvidia.com/t/compiling-sdk-examples/12532/2 "2009-10-02T07:33:27Z")

</div>

Have you read [this thread](http://forums.nvidia.com/index.php?showtopic=107688&pid=593751&st=0&#entry593751)?
