Recently I have been playing around with the Quark D2000 development board and am interested in using C++. I am able to include header (.hpp) and source (.cpp) files, but when I create a main.cpp...
# include "MyCPPHeader.hpp"
It says there is an undefined reference to main(). I'm assuming the build settings are default to C, as keywords such as "class" do not light up. How then, would it be possible to enable C++ for the Quark D2000 MCU through Intel System Studio for Microcontrollers?
Were you ever able to find a way to invoke the C++ compiler for Intel System Studio for Microcontrollers? Is the Quark platform not setup for C++, such as heap management etc, or is this something that the project template for Quark in the IDE was not set up for?
Have you try with int main(void) ?
Or you can try sample code at https://software.intel.com/en-us/articles/intel-system-studio-tutorials Intel® System Studio Samples and Tutorials | Intel® Software .
Intel Customer Support.