octpos Posted July 2, 2011 Share Posted July 2, 2011 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 More sharing options...
Yves Posted July 3, 2011 Share Posted July 3, 2011 Have you installed the "build-essential" package? Link to comment Share on other sites More sharing options...
octpos Posted July 3, 2011 Author Share Posted July 3, 2011 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 More sharing options...
octpos Posted July 3, 2011 Author Share Posted July 3, 2011 I edited cmake to compile using debug and echoed commands, so there's the errors for now, and the compile command that originated it oOhttp://pastebin.com/NMdPAsne Link to comment Share on other sites More sharing options...
historic_bruno Posted July 5, 2011 Share Posted July 5, 2011 Maybe your version of gcc doesn't like their code? Just a shot in the dark, but I can't imagine why you'd get these errors. Link to comment Share on other sites More sharing options...
Ykkrosh Posted July 5, 2011 Share Posted July 5, 2011 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 More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now