Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
What does "error: cycle in targets detected: \obj\_cuda.obj" mean??
gde23 last edited by
I'm trying to compile an project with QtCreator (qmake) and Visualstudio 2017Compiler. I am getting following error, but have no idea what it means.
error: cycle in targets detected: \obj\_cuda.obj
Anybody an idea what the error message means?
Do you have any CUDA code in your project ?
Any file with cuda in its name ?
mranger90 last edited by
It looks to me like an unresolved macro in either the .pro, .pri or .prf files used by the project.
I'm guessing somewhere there is a $$MACRO_VARIABLE_cuda.obj dependency that isn't being resolved.
raator last edited by
Accidentally got Error: cycle in targets detected: ui_.h after I add h-, cpp- and ui-files to project.
Sometime after using context menu "Add Existing Files...." of the project backslash-space-backslash instead single backslash appended after added filename in the pro-file.
FORMS += \ gui/mainwindow.ui \ \ gui/newwindow.ui
That '\ \' causes Error: cycle in targets detected.