Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: pavan_nihal on May 07, 2014, 03:47:31 pm

Title: How to compile programs in Linux Mint
Post by: pavan_nihal on May 07, 2014, 03:47:31 pm
I am not able to compile programs in Code Blocks in Linux Mint . No matter how many times I press the compile button nothing happens .
When I run it I get "It seems that this project has not been built yet . Do you want to build it now? " message . And when I press Yes it shows the same message again and again without doing anything . What should I do ? Code Blocks works perfectly in my Windows 8 but not in Linux Mint. I am attaching the screen shot .
Title: Re: How to compile programs in Linux Mint
Post by: digifuzzy on May 07, 2014, 03:57:15 pm
Have you looked at this link (http://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_nightly_build_on_Ubuntu)?
It says "nightly" but the install steps are relevant.

If you have reached the end of the steps from the link and are still having the same problem, come back and we'll figure something out. :-)
Title: Re: How to compile programs in Linux Mint
Post by: pavan_nihal on May 07, 2014, 04:18:34 pm
I followed all the steps . But I am still facing the same problem . Should uninstall and re install CodeBlocks ??
Title: Re: How to compile programs in Linux Mint
Post by: stahta01 on May 07, 2014, 06:20:45 pm
Try saving the file!

If you still have the problem post a build log.

http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28errors%29#Q:_How_do_I_troubleshoot_a_compiler_problem.3F (http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28errors%29#Q:_How_do_I_troubleshoot_a_compiler_problem.3F)

Tim S.

Title: Re: How to compile programs in Linux Mint
Post by: Jenna on May 07, 2014, 08:27:34 pm
The file needs a correct file-ending, so C::B knows which compiler to use (assuming you have an installed compiler).