I apologise for the simple mistakes. But I only made those spelling errors after the fact and I was trying to get it working, I saw from google one forums post where the U was capitalised so I thought I&#39;d try it, I just had forgot to put it back.<br>
<br>I have fixed all the error and now it doesn&#39;t complain about any errors with the file but I think my make file is not correct. After I fixed the paths to the linking library libcudart.so.2.0, now it is saying it that the linking isn&#39;t done.<br>
<br>&nbsp;gcc: /usr/local/cuda/lib/libcudart.so.2.0: linker input file unused because linking not done<br><br>Also after that I get an error about libcudart.so.2-LhAtfa.o is an empty file. What is that LhAtfa.o? Of course it is an empty file as far as I know that isn&#39;t a real file. What is it trying to link to?<br>
<br>Thanks,<br><br>Seth Shelnutt<br><br><br><div class="gmail_quote">On Mon, Jul 7, 2008 at 5:59 PM, Juan Lang &lt;<a href="mailto:juan.lang@gmail.com" target="_blank">juan.lang@gmail.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<div>&gt; I have #include &lt;GL/gl.h&gt;, maybe I do not have my makefile correct. I&#39;ve<br>
&gt; attached the makefile, the cudart.c and all the nvidia header&#39;s need (14 of<br>
&gt; them) in one tar.bz2 file. Can someone check my makefile and all? I read<br>
&gt; through the nvidia license and it is ok to redistribute the headers.<br>
<br>
</div>Nothing to do with the makefile. &nbsp;Your includes are wrong. &nbsp;I changed<br>
your includes as follows:<br>
--- cudart.c.orig &nbsp; &nbsp; &nbsp; 2008-07-07 14:54:51.000000000 -0700<br>
+++ cudart.c &nbsp; &nbsp;2008-07-07 14:54:57.000000000 -0700<br>
@@ -1,8 +1,9 @@<br>
&nbsp;/*This is a wrapper for cudart.dll and libdudart.so.2.0*/<br>
<br>
<br>
-#include &lt;GL/gl.h&gt;<br>
&nbsp;#include &lt;stdlib.h&gt;<br>
+#include &lt;windows.h&gt;<br>
+#include &lt;GL/gl.h&gt;<br>
&nbsp;#include &lt;string.h&gt;<br>
&nbsp;#include &quot;cuda_runtime.h&quot;<br>
&nbsp;#include &quot;cuda_runtime_api.h&quot; /*I am unsure if both these headers are<br>
needed, both do contain some of the functions*/<br>
<br>
This gets a lot of the compile errors to go away, but not all of them.<br>
&nbsp;In several places you misspelled GLuint as GLUint. &nbsp;In the future<br>
please be more careful, discussing basic stuff like this gets a little<br>
tedious.<br>
<font color="#888888">--Juan<br>
</font></blockquote></div><br>