AnsweredAssumed Answered

Compiling a simple c++ file

Question asked by PT CAOS on Mar 27, 2019
Latest reply on Mar 27, 2019 by Con Verse



I want to test MCUXpressoIDE to use it in my C++ projects. In my first test, I have create a C++ project and I have added a cpp file with this lines:

#include <stdio.h>


int main()
    int i, j;
    i = 1;
    j = 2;
    j += 1;


    return 0;

However, building project reports me some errors... It seems I NEED TO add a SDK to my MCXU IDE, with I would like to use MCUX with no FRDM-KLxx board, only for C++ code.


What am I doing wrong?