iMXRT1024 / MCUXpresso - Including C++ streams gives errors in libc++

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

iMXRT1024 / MCUXpresso - Including C++ streams gives errors in libc++

Jump to solution
634 Views
GUnderdown
Contributor IV

Hi,

I have a MCUXpresso project setup for C++, but anytime I want to include any of the stream function (stringstream, iostream, etc), I get errors in libc++.

 

Here is an example of one of those errors

c:\nxp\mcuxpressoide_11.8.1_1197\ide\plugins\com.nxp.mcuxpresso.tools.win32_11.8.1.202308071233\tools\arm-none-eabi\include\c++\12.2.1\bits\istream.tcc:1118:26: error: expected ';' before '&' token
 1118 |   extern template istream& istream::_M_extract(unsigned long long&);

 

Is there anything special I need to do in order to enable these C++ functions for use?

0 Kudos
Reply
1 Solution
614 Views
EdwinHz
NXP TechSupport
NXP TechSupport

Hi @GUnderdown,

I'm afraid we do not have any resources about adding these libraries to MCUXpresso. However, the posts from the following link might prove useful for your inquiry, so please take a look into them: https://mcuoneclipse.com/?s=lib&submit=Search

BR,
Edwin.

View solution in original post

1 Reply
615 Views
EdwinHz
NXP TechSupport
NXP TechSupport

Hi @GUnderdown,

I'm afraid we do not have any resources about adding these libraries to MCUXpresso. However, the posts from the following link might prove useful for your inquiry, so please take a look into them: https://mcuoneclipse.com/?s=lib&submit=Search

BR,
Edwin.