A lot of this kind of errors. Probably the wrong compiler version.
…\Pokitto\Pokitto_settings.h|147|error: ‘POK_PERSISTENCE’ declared as an ‘inline’ variable|
Its due to c++17
@Hanski @dwidel and @lucentbeam
PokittoLib patched and works out of the box with latest Code::Blocks 20.03
Steps:
- get latest pokittolib from https://github.com/pokitto/PokittoLib
- get Examples from https://github.com/pokitto/Examples
- add Examples directory in same folder as Pokittolib
- get codeblocks-20.03mingw-setup.exe from http://www.codeblocks.org/downloads/26
- install CodeBlocks, run it
- open Pokitto_sim.cbp from \PokittoLib\Pokitto\POKITTO_SIM
5 Likes
I probably didn’t follow the instructions correctly, but I had to put the examples folder at the same level as PokittoLib for it to open the hello world main.cpp.
1 Like
I am sorry, I forgot to fix it here. Yes, Examples needs to be on the same folder. It is written in both readme of PokittoLib and readme of Examples