User forums > Using Code::Blocks
Test CB into command line ... failed. Don't find target ... Why ?
(1/1)
ThierryD:
Hi,
I (re)test to run CB in command line on Windows (11 64 bit), to rebuild only "one" target of my project (here CLANG on Cygwin64, new version 20.1.8)
Just command to excute in command console : "codeblocks.exe --target="Debug CLANG CYG N24" /nd /ns --rebuild Lesson25.workspace --log-to-file"
Here result of log (codeblocks.log) :
--- Code: ---Manager initialized
Loaded config file 'C:\Users\thier\AppData\Roaming\CodeBlocks\default.conf' (personality: 'default')
Configured 0 tools
Scanning for plugins in C:\Users\thier\AppData\Roaming\CodeBlocks\share\codeblocks\plugins
Loaded 0 plugins
Scanning for plugins in C:\Codeblocks\share\codeblocks\plugins
Loaded 1 plugins
Loading:
Compiler
Initial scaling factor is 1.000 (actual: 1.000)
Opening C:\src\OpenGL\NeHe_Lesson25-master\Lesson25.cbp
Done.
ProjectManager::LoadProject took: 0.112 seconds.
ProjectManager::SetProject() took: 0.061 seconds.
Warning: No target named 'Debug CLANG CYG N24' in project 'Lesson25'. Project will not be built...
Warning: No target named 'Debug CLANG CYG N24' in project 'Lesson25'. Project will not be built...
--- End code ---
Sure, this target exist in my project (joined in zip file).
What's wrong ?
Thank's.
Regards
stahta01:
"Debug CLANG CYG N64" does not equal 'Debug CLANG CYG N24'
Extra hint: 6 does not equal 2
Problem is user error!
ThierryD:
YES ... you're rigth !!!
Shame on me, I'm very tired today ! problem is often beetween keyboard and screen ...). :D
Test OK with "good" target. Sorry.
Regards.
Navigation
[0] Message Index
Go to full version