News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

"That file isn't assigned to any target" message when trying to build [solved]

Started by astroannie, August 28, 2016, 05:39:05 PM

Previous topic - Next topic

astroannie

Running code::blocks in Linux Mint 17.3 and I apparently didn't have g++ installed initially.  I remedied that, but it kept not compiling.  So I tried just compiling the one file (It's a one-file project).

EDITED TO ADD BUILDLOG


-------------- Build: Debug in RollDIce (compiler: GNU GCC Compiler)---------------

Linking stage skipped (build target has no object files to link)
Nothing to be done (all items are up-to-date).

I tried uninstalling and reinstalling code::blocks.  I tried resetting gcc to the defaults under compiler options.  I tried deleting the .codeblocks from my home directory.  None of that worked.

Suggestions, please.


stahta01

Edit the file properties inside CB and add it to a build target!

Tim S.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]