octpos Posted July 2, 2011 Report 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 Quote Link to comment Share on other sites More sharing options...
Yves Posted July 3, 2011 Report Share Posted July 3, 2011 Have you installed the "build-essential" package? Quote Link to comment Share on other sites More sharing options...
octpos Posted July 3, 2011 Author Report 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 Quote Link to comment Share on other sites More sharing options...
octpos Posted July 3, 2011 Author Report 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 Quote Link to comment Share on other sites More sharing options...
historic_bruno Posted July 5, 2011 Report 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. Quote Link to comment Share on other sites More sharing options...
Ykkrosh Posted July 5, 2011 Report 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.) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.