Closed werton closed 6 years ago
This is because of this commit.
There are two potential solutions:
#ifndef POK_SIM
in PokittoBattery.cpp
to remove the mbed specific code.PokittoBattery.cpp
into a hardware and software variant.@werton, can you please confirm whether this branch fixes the problem?
https://github.com/Pharap/PokittoLib/tree/fix-simulator-build
I've checked with both Code::Blocks and EmBitz and it seems to fix the problem.
I've got a PR ready (#30).
Hi. I ran in some problem. i can't build any targets (with Codeblocks & PokittoSim project) with last version of PokittoLib.
the building process ended with the following errors:
But with previos version (21-02-2018) everything works well.