4 Replies Latest reply on Nov 23, 2017 7:53 PM by mohamedshaharris_intel

    How to enable C++ in Intel System Studio for Microcontrollers [Quark D2000]

    EmbeddedMan

      Hello all,

       

      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"

      int main()

      {

           return 0;

      }

       

      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?

       

      Thanks!