/ Sign-up
Your question

I can't compile my CUDA code

  • Programming
  • Compile
  • Apps
Last response: in Apps General Discussion
January 4, 2013 10:46:18 PM

Hello, I've made some code on cuda and I have one single compilation error:

" ParalelComplexity.h(14): error: invalid redeclaration of type name "Complexo"
(14): here"

This is a header file, where I have the class "Complexo". The compiler says that it is redifined, but I've already changed to another name, I've inserted it in a namespace, however, nothing worked. Can anyone help me? Thank you!

More about : compile cuda code

a b L Programming
January 5, 2013 5:35:26 AM

Without seeing the code - no.
January 19, 2013 1:30:22 PM

You may need to adjust the namespace of your project in it's core properties file to 'reset' the namespace in the additional files bundled with the project that no-one ever looks at.

ZIP the folder first, just in case.

(... and yes, I know this from rather painful experience ...)
January 21, 2013 9:19:52 AM

Well, I didn't try that... But now I've done the code all from the beginning because I was ruuning out of time.

Thanks for the help anyway!