I am facing code::blocks for the first time, so mine could be a boring question.
I found nothing in the forum about this message in the build log.
Quoteg++: error: obj/Debug/remmina_devel/Remmina/remmina/CMakeFiles/remmina.dir/src/remmina_string_array.c.o.o: File o directory non esistente
the linker is searching object files with the wrong path
CMakeFiles/remmina.dir/ is added inside the path and the object file has a surplus of .o
remmina is compiling object files in the correct root: obj/xxxxxx
probably I am missing a basic setup
thanks in advance
Is this a cmake based project?
As far as I know these are custom makefile project, so the building is handled by make (an external program), so C::B has almost no control on it.
Also please read this http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28errors%29#Q:_How_do_I_troubleshoot_a_compiler_problem.3F and other FAQ entries.
Yes, it is a cmake based project.
I read many times this guide http://wiki.codeblocks.org/index.php/Code::Blocks_and_Makefiles (http://wiki.codeblocks.org/index.php/Code::Blocks_and_Makefiles)
I understood that .cbp can do the job alone, ignoring the makefile.
Does your project build fine outside codeblocks?
Yes it builds fine.
My aim is to use the debugger inside CB.
I tried using the custom makefile.
Executable and dependencies are built in the directory of the respective makefile.
I copied the executable to /bin/debug (I don't know if it is correct)
CB debug now can start but with this error
"warning: GDB: Failed to set controlling terminal"
If I am on the right way, this topic is solved.
Quote from: pineout on September 29, 2015, 11:12:06 AM
CB debug now can start but with this error
"warning: GDB: Failed to set controlling terminal"
This is not an error, but a warning. Just ignore it.