Help please, with error using emIDE/Code::Blocks IDE

Status
Not open for further replies.

stevech

Well-known member
I'm attempting to use the emIDE (derived from Code::Blocks).

This error occurs during the build

Code:
output\Debug\obj\Src\HardwareSerial1.o:(.rodata._ZTV6Stream[_ZTV6Stream]+0x8)||undefined reference to `__cxa_pure_virtual'

something to do with HardwareSerial1 (UART0) and perhaps use of the special stream class.

Any clues?
--

I have this emIDE setup to use the Teensy include directory for all .h files. In emIDE, I have, I think, the requisite .c and .cpp files.

Edit: Ah ha. Missing mk20dx128.c.
Now on to the next error :p

Steve
 
Last edited:
I have this emIDE setup to use the Teensy include directory for all .h files.
Steve

Hi Steve,
I also like to use the teensy with emIDE but I have problems for example to include <avr/pgmspace.h>. emIDE does't find the files... Where can you set the include directory in emIDE?

Thanks
 
in emIDE
right-click on project name within workspace listing, left on screen.
in menu, choose: Build Options
In Build Options dialog, look at Search Directories
And look at the other options in this area.
 
yes.
I have for now set aside emIDE and all the other code::blocks derivatives.
I don't yet have the concept of how these IDEs can support, as do Makefiles, and I suppose the java in Auduino- two different compiler command lines, one for C and one for C++. There are some options unique to each, and if passed to GCC, there are warnings/errors about options that are unique to C++ and vice versa. I know that GCC is supposed to pass some or all options on to a call to G++, but I don't know much more than that.

I also noted a posting here re the (Apple-oriented, but multi-platform) XCode. Looks interesting, but may not be stable on other platforms. Still buggy on Apple, so says the demo video.
 
Status
Not open for further replies.
Back
Top