3 months, 1 week ago.

Including c++ standard libraries

I'm trying to compile an existing firmware (originally written for NUCLEO-F767 using visual studio / VisualGDB) to a GD32F307VG-mbed -board. The code has following lines:

#include <list>
#include <unordered_map>

compiling stops at the second line with error "no such file or directory". The first line goes through well.

This seems like a very basic thing. The library should be available, no?

Thanks and BR!

Comment on this question

1 Answer

3 months, 1 week ago.

unordered_map was only added in c++11. <map> should be available for all platforms but unordered_map will depend on the compiler and settings used.


You need to log in to post a question