This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Code is not link compatible with the new (C++14) library

Hi,

I am using IAR for the pca10056 with a nrf52840 chip. Can I change the compiler in IAR? I simply just downloaded the newest version from the IAR homepage and specified the chipset. Made the addtional includes for the *.h files, and defined the required symbols. I am trying to build: thread_cli.eww from the examples folder from: nRF5_SDK_for_Thread_v0.10.0_e1c3d11

Complete message:

Error[Li060]: module "icmp6_api.o(libopenthread-ftd.a)" contains C++ code built for use with the (E)C++98 library. This code is not link compatible with the new (C++14) library.

Parents Reply
  • Hi,

    You are not using IAR to flash the device? What error do you get when you use nRF Studio?

    Make sure that you have the latest Segger J-link drivers, you can download it from here. Latest version is V6.20f.

    In IAR you only need to set the target core to Cortex-M4, and set the FPU to VFPv4-single precision. If you get a pop-up from the Segger J-link flasher tool, select the nRF52840.

Children
No Data
Related