Recent Posts

Pages: [1] 2 3 4 5 6 ... 10
Help / Re: Changing the color of comments in Codeblocks
« Last post by Amptroll on Today at 06:45:29 am »
Thank you so much
There are only night builds. See the sub forum. I'm not using mac too much. Xcode would work a lot better for sure. :)
Is there a newer version of Codeblocks available for Mac? If not, would you not recommend using a Mac for C++? Or, would I be better served using Xcode? Thank you.
You have to use something newer than 13.12. There are recent night builds for macOS, which work a bit better, but don't expect smooth ride on this OS.
I am running Code::Blocks version Code::13.12 on macOS Version 10.14.6
The compiler I use is GNU GCC Compiler

When I try to build and run any code by either clicking Build > Build & Run or just F9, I get the message "It seems that this project has not been built yet. Do you want to build it now?" Then, whether I click "No," "Cancel," or "Yes," the same thing happens: nothing.

For example/dummy code, if I run:

#include <iostream>

using namespace std;

int main()
    char box = 'z';
    cout << box << endl << box << endl;

    return 0;

that prompt saying "It seems your project has not been built yet" comes up.

The build log after I ran that code is this:

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

g++ -Wall -fexceptions -g  -c /Users/teddyhiggins/Desktop/Folders/Tutorial/main.cpp -o obj/Debug/main.o
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
Process terminated with status 1 (0 minute(s), 0 second(s))
0 error(s), 0 warning(s) (0 minute(s), 0 second(s))

All the best, and thank you for any help.
Plugins development / Re: Keybinder v2 notes/problems
« Last post by oBFusCATed on Yesterday at 03:11:50 pm »
Another problem I've discovered is that a v2 file saved with wx28 build doesn't work on wx313 build on linux. I've tried relatively recent build. Please let me know if you need more details.
Help / Re: Changing the color of comments in Codeblocks
« Last post by oBFusCATed on Yesterday at 09:52:17 am »
What you're editing is the colour for the plugin for creating Nassi-Schneiderman diagrams.

For the colour of comments in the editor you have to go to Settings -> Editor -> Syntax hightight
Help / Changing the color of comments in Codeblocks
« Last post by Amptroll on Yesterday at 09:39:54 am »
Hello All.  I am new here so thanks for letting me in!!
My question of help is:  How do you change the color of the comments // in Codeblocks IDE?

This is what I am doing, but I must be missing something>
I do to > Settings > Environment > NassShneiderman : Comment Colour.   I then go to the upper right hand corner and using the color pallet that comes
up after opening it with the ... box I select a medium green like you see as the default in Visual Studio.  I close the settings window and
it never changes the comment color from the hard to see gray that is present.  Even though when I opened the Settings > Environment > Colours the default
was red, the comments were light gray.
Help / Re: Linker Problem
« Last post by stahta01 on Yesterday at 07:22:16 am »
Add the files to the CB Project.

Note: If you are not using a CB Project, then I suggest using one.

Edit: If you still have problems post a build log!

Tim S.
Help / Linker Problem
« Last post by Rbt618 on Yesterday at 07:12:06 am »
I am assuming I have a linker problem.
I run my program and get an "Undefined" function error.
But if I include the Implementation file on my main.cpp file then it will run. So I am assuming codeblocks is not linking the Header and the implementation files >> that's why I have to include the implementation file on main.cpp.
I use Ubuntu 18.04 and codeblocks 17.04.

Once I do include the implementation file on main.cpp, then my program runs perfectly. That's why I think its a Linker Error

Any Thoughts on resolving this??
Pages: [1] 2 3 4 5 6 ... 10