Jump to content

Building Errors In Debian 6


Recommended Posts

Hi,

I downloaded 2 files to build the game, not from svn repo, and proceeded with the instructions*... but when the nvtt started to build, many errors appears. Some of then is extreme weird oO, like "'size_t' has not been declared" , even stddef.h is included ....

So, I don't have idea what to do.... last night I updated nvidia cuda, cleaned the building and started over, but the same errors happened ...

I'm using gcc and g++ version (Debian 4.6.0-10) , and the last cuda with nvidia drive provided.

The building errors :

http://pastebin.com/pAfgAPrU

* http://trac.wildfire...ompilingonLinux

Link to comment
Share on other sites

Have you installed the "build-essential" package?

Yes, I had all installed . I'm able to compile my kernel ^^, but not the cuda ¬¬ ...

I'm using for now the svn version updated today, in this moment rev 9750, and only 'size_t' errors is happing ... MAYBE I edit the config to use OpenCL and not cuda, but I prefer the first option :(

Link to comment
Share on other sites

Looks like the error comes from the CUDA compiler rather than from GCC. I think it's been tested successfully with CUDA 3.0 - what version do you have? (The CUDA code is optional and the game doesn't use it, but it looks like NVTT detects and uses it automatically and there isn't an entirely trivial way to disable it.)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...