Unit test with arduinofake - map.h not found

I’m trying to setup unit tests for arduino - but I’m failing at the first step - can anyone give me any pointers as to what I’ve done wrong?

I’ve created an empty test under the native platform, but when I add the library for arduinofake, it always generates an error saying

.pio\libdeps\native\ArduinoFake\src/ArduinoFake.h:7:15: fatal error: map: No such file or directory

It’s obviously finding the arduinofake files, so I can only assume I’m missing something else

My platformio.ini has the following entry

platform = native
lib_deps = ArduinoFake

And my test code only has the following

#include <Arduino.h>
#include <unity.h>

using namespace fakeit;

void setUp(void)

int main(int argc, char **argv)
    return UNITY_END();

Any help appreciated

Thanks for the reply - I have tried the build_flags you suggested, but it makes no difference to the error reported
I suspect my error is occurring before the build flags have any effect - that may be another problem once this initial problem is resolved

Ok - just realised I created the test filed as .c, when it should have been .cpp

so, test now runs (although obviously does nothing at the moment)

But the editor complains that ArduinoFakeReset() is unidentified

So something else to resolve, but making progress