I decided to use a make file rather than C::B's built in build partly because I don't want to be tied in to C::B and a make file seems more portable. So I've been messing around (unsuccessfully) trying to compile with a make file.
Now I can't compile with anything! I start a project and try an compile the basic framework provided, that worked when I first got C::B and I get:
C:\wxWidgets2.8\include\wx\buffer.h||In constructor `wxCharBuffer::wxCharBuffer(const char*)':|
C:\wxWidgets2.8\include\wx\buffer.h|127|error: `strdup' was not declared in this scope|
C:\wxWidgets2.8\include\wx\buffer.h|127|warning: unused variable 'strdup'|
C:\wxWidgets2.8\include\wx\buffer.h||In member function `wxCharBuffer& wxCharBuffer::operator=(const char*)':|
C:\wxWidgets2.8\include\wx\buffer.h|127|error: `strdup' was not declared in this scope| etc etc.....
I can't think what I've done but any help would be appreciated.
I am pretty sure I have set or unset something in C::B that is causing the failure.
In fact I tried reinstalling C::B but it didn't help.
I have of course unchecked the tick box in Project\Properties\custom make file.
Thanks in advance.
ps: I've never posted anything before so please be tolerant of any transgressions.