I can't compile my CUDA code

G

Guest

Guest
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!

 

Scott_D_Bowen

Honorable
Nov 28, 2012
50
0
10,590
1
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 ...)
 
G

Guest

Guest
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!
 
Thread starter Similar threads Forum Replies Date
A Apps General Discussion 1
G Apps General Discussion 5
wiky123 Apps General Discussion 8
Z Apps General Discussion 1
Sp5297 Apps General Discussion 3
A Apps General Discussion 4
B Apps General Discussion 7
tojonegi Apps General Discussion 3
C Apps General Discussion 5
S Apps General Discussion 1
N Apps General Discussion 2
A Apps General Discussion 1
M Apps General Discussion 1
S Apps General Discussion 7
S Apps General Discussion 2
A Apps General Discussion 1
Y Apps General Discussion 2
J Apps General Discussion 1
UA67 Apps General Discussion 2
J Apps General Discussion 1

ASK THE COMMUNITY