Pokitto Simulator first release - try programming the Pokitto for yourself!


#41

is that any modified zip file for that?


#42

min max is already defined (faked avr compatibility). i will check there was a define toggle for that


#43

thanks for early reply, but i am try to run simulator with it but in code blocks its hang on pokitto.h header file


#44

yes. and you are using linux. its not ready for linux yet. on monday we will begin to fix that


#45

ok will wait till monday


#46

i will also prep my linux comp for that. i am not a linux user so i will need help and testing from you guys to make it work 100%. come to the forums on monday and we will work on it together


#47

ok thanks :grinning:


#48

@jonne : If you have the files to rebuild “bin/Debug/libPokitto_sim.a” it should compile with minimal work. You will need to remove the …/SDL2 directory paths and instead point code::blocks to /usr/include/SDL2 and add the directory “/usr/lib/x86_64-linux-gnu” (on Xubuntu 16.04, might be different on another distro) in the linker tab. Then fix the uppercase on Pokitto.h and you should be good to go.


#49

Yep. Thanks for the tips. & remove windows-specific sim video&audio recording


#50

Can’t wait for the Linux version!


#51

Just a question :

Why 11088 for the resolution, and not 11288 ?

difficult to divide 110 by 8 if you want to use 8*8 tiles


#52

Because display is 220x176 :grin:


#53

@Anata @trelemar : welcome to the community!


#54

oki, and why 110*88 ? :smiley:

no mode works with the simu except 110*88 ?


#55

There is support for 220x176, 110x88, 128x64 (arduboy) and 84x64 (Gamebuino)

Sim is compiled for 110x88 at the moment but supports all modes. And some new modes also coming!

As soon as we get the kickstarter closed we begin rolling out more stuff for the community

@Anata 110x88 is half x and y of native 220x176. to save memory


#56

Thanks! Can’t wait to start messing with the simulator. I’m tempted to boot into windows just to try it but it’s so incredibly slow on my laptop. Hoping you get a Linux version working soon :slight_smile:


#57

Was a solution ever found for this min/max issue? I am running into the same problem.

||=== Build: HelloWorld in Pokitto_simulator_Hello_World (compiler: GNU GCC Compiler) ===|
c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\bits\stl_algobase.h|243|error: macro "min" passed 3 arguments, but takes just 2|
c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\bits\stl_algobase.h|265|error: macro "max" passed 3 arguments, but takes just 2|
c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\bits\stl_algobase.h|195|error: expected unqualified-id before 'const'|
c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\bits\stl_algobase.h|195|error: expected ')' before 'const'|
c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\bits\stl_algobase.h|195|error: expected ')' before 'const'|
c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\bits\stl_algobase.h|195|error: expected initializer before 'const'|
c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\bits\stl_algobase.h|219|error: expected unqualified-id before 'const'|
c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\bits\stl_algobase.h|219|error: expected ')' before 'const'|
c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\bits\stl_algobase.h|219|error: expected ')' before 'const'|
c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\bits\stl_algobase.h|219|error: expected initializer before 'const'|
c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\bits\stl_algobase.h|243|error: 'std::min' declared as an 'inline' variable|
c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\bits\stl_algobase.h|246|error: expected primary-expression before 'if'|
c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\bits\stl_algobase.h|246|error: expected '}' before 'if'|
c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\bits\stl_algobase.h|246|error: expected ';' before 'if'|
c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\bits\stl_algobase.h|248|error: expected unqualified-id before 'return'|
c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\bits\stl_algobase.h|265|error: 'max' declared as an 'inline' variable|
c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\bits\stl_algobase.h|268|error: expected primary-expression before 'if'|
c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\bits\stl_algobase.h|268|error: expected '}' before 'if'|
c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\bits\stl_algobase.h|268|error: expected ';' before 'if'|
c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\bits\stl_algobase.h|270|error: expected unqualified-id before 'return'|
c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\bits\stl_algobase.h|271|error: expected declaration before '}' token|
||=== Build failed: 21 error(s), 0 warning(s) (0 minute(s), 7 second(s)) ===|

Edit: Found a solution here: Windows & Linux Simulator repository on github but it doesn’t seem to work anymore. I’ll start a new thread with more info…


#58

I too hope for a Linux build. :]