Post Go back to editing

GNU on ADuCM360 IDE


Hi all,

I'm using ADuCM360 IDE in oder to build some examples.

In an example, included  cstddef(#include <cstddef>) library from GNU.

I also installed GNU(Version:5.3 2016q1) on my PC.

Below picture is errors when i try to build CN0359 source code.

but, when i right-click on cstddef and choose Open Declaration

please let me know what wrong

Thank all !

Parents
  • Hi

    I made below changes in your project:

    - As I said the template actually contain the system clock configuration => removed ClockInit() call.

    - The low drivers for ADuCM360 are written in C language so when you will want to use them inside of the C++ project you should make sure that you use:

    #ifdef __cplusplus

    extern "C" {

    #ifdef __cplusplus

    }

    #endif

    I added this in Interrupts.cpp, your interrupt routines never were reached. Please check the project I attached.

    Regards,

    Veronica

    Mekong_fix.zip
Reply
  • Hi

    I made below changes in your project:

    - As I said the template actually contain the system clock configuration => removed ClockInit() call.

    - The low drivers for ADuCM360 are written in C language so when you will want to use them inside of the C++ project you should make sure that you use:

    #ifdef __cplusplus

    extern "C" {

    #ifdef __cplusplus

    }

    #endif

    I added this in Interrupts.cpp, your interrupt routines never were reached. Please check the project I attached.

    Regards,

    Veronica

    Mekong_fix.zip
Children
No Data