- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
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!
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hello,
Thank you for reaching out to Intel® Quark™ Microcontrollers Forum.
We will be looking into this issue and get back to you shortly.
Regards
Intel Customer Support
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hello,
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?
Thank you,
Ken
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi Ken,
I am still waiting for engineering feedback on this. Please stay tuned.
Regards
CK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi,
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 .
Regards,
Intel Customer Support.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page