MCUxpresso assertions.h issue

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

MCUxpresso assertions.h issue

Jump to solution
2,613 Views
javiervallori
Contributor III

Hi,

I think have found a small bug on MCUxpresso v11.1.1.

I haver a project previously compiled with MCUxpresso v11.1.0 without problems. But after updating to v11.1.1 I get the follwing compiler error:

c:\nxp\mcuxpressoide_11.1.1_3241\ide\plugins\com.nxp.mcuxpresso.tools.win32_11.1.0.202001081728\tools\arm-none-eabi\include\c++\8.3.1\bits\stl_iterator_base_funcs.h:65:10: fatal error: debug/assertions.h: No such file or directory

 

This assertions.h file and the debug folder is part of the arm-none-eabi\include\c++\8.3.1 tool, but there are missing on the MCUxpresso v11.1.1, but not in MCUxpresso v11.11.0 and previous versions.

It seems that you have any kind of "Debug named" filter when you create/exportated the MCUxpresso, but in this case it should not.

As workaroung I just copy this debug folder from the previously version (11.1.0) that also has 8.3.1 of c++, and everything works well again.

I didn't try it on MCUxpresso v11.2.x because I have not instaled it yet, so I don't know if it has been already fixed.

Thank you.

 

0 Kudos
Reply
1 Solution
2,565 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello javiervallori,

I test your project, there is no error on my side.

And on my PC, he debug folder reside in both the two paths.

Recommend you re-install IDE, and it better install the latest version.

 

Regards,

Alice

View solution in original post

0 Kudos
Reply
7 Replies
2,584 Views
javiervallori
Contributor III

Hi Converse,

thank you for your answer. The debug folder it is also present in my copy at:

C:\nxp\MCUXpressoIDE_11.1.1_3241\ide\tools\arm-none-eabi\include\c++\8.3.1\debug

but not in:

c:\nxp\mcuxpressoide_11.1.1_3241\ide\plugins\com.nxp.mcuxpresso.tools.win32_11.1.0.202001081728\tools\arm-none-eabi\include\c++\8.3.1\

where the compiler search for (at least in my machine).

Regards

0 Kudos
Reply
2,566 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello javiervallori,

I test your project, there is no error on my side.

And on my PC, he debug folder reside in both the two paths.

Recommend you re-install IDE, and it better install the latest version.

 

Regards,

Alice

0 Kudos
Reply
2,585 Views
javiervallori
Contributor III

Hi Alice,

I'm not allow to share the project, but I attach an example one. To trigger the compiler error, it is enough to use #include <functional>. I zipped the whole workspace with the project.

0 Kudos
Reply
2,576 Views
converse
Senior Contributor V

I downloaded your project, added

#include <debug/assertions.h>

to test.cpp and built it. No errors.

 

In my install, assertions.h is both directories

 

0 Kudos
Reply
2,574 Views
javiervallori
Contributor III

Hi Converse,

than it seems it could be something wrong related in the MCUxpresso instalation on my machine or a windows file system failure. I promise that the folder was not there!

 

Regards

0 Kudos
Reply
2,591 Views
converse
Senior Contributor V

It is definitely present in my copy of v11.1.1

It is located in

C:\nxp\MCUXpressoIDE_11.1.1_3241\ide\tools\arm-none-eabi\include\c++\8.3.1\debug

0 Kudos
Reply
2,599 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello ,

Thanks for your sharing, and could you please send your project to me, I help to test on MCUXpresso IDE v11.2.0, thanks.

 

Regards,

Alice

0 Kudos
Reply