Thanks for your response.
My project file "console.cbp" contains the following stuff
<?xml version="1.0"?>
<!DOCTYPE CodeBlocks_project_file>
<CodeBlocks_project_file>
<FileVersion major="1" minor="1"/>
<Project>
<Option title="Console application"/>
<Option makefile="Makefile"/>
<Build>
<Target title="default">
<Option type="1"/>
<Option parameters=""/>
<Option includeInTargetAll="1"/>
<Option projectCompilerOptionsRelation="3"/>
<Option projectLinkerOptionsRelation="3"/>
<Option projectIncludeDirsRelation="3"/>
<Option projectLibDirsRelation="3"/>
<Compiler>
<Add option=""/>
</Compiler>
<Linker>
<Add option=""/>
</Linker>
</Target>
</Build>
</Project>
</CodeBlocks_project_file>
The build log contains that:
Project : Console application
Compiler : GNU GCC Compiler (called directly)
Directory : /home/christian/workspace/
--------------------------------------------------------------------------------
Switching to target: default
Linking console executable: /home/christian/workspace/console
g++: no input files
Process terminated with status 1 (0 minutes, 0 seconds)
0 errors, 0 warnings
hmm no input files?
Yeah look at the XML closely. Right between
<Compiler>
<Add option=""/>
</Compiler>
There are no files there (which is why G++ is telling you this).
So just add some files to your project, and you are all set. :D
Oh BTW are you using RC2? I would compile from SVN trunk or get a nightly from here (I think SuSE supports RPM's been awhile since I used that distro).
http://forums.codeblocks.org/index.php?board=20.0