Skip to content

Instantly share code, notes, and snippets.

@Hsilgos
Last active November 19, 2023 16:14
Show Gist options
  • Save Hsilgos/5698018 to your computer and use it in GitHub Desktop.
Save Hsilgos/5698018 to your computer and use it in GitHub Desktop.
Setup enviroment for PocketBook SDK

Setup enviroment for PocketBook SDK

  1. Instal x86 version of Debian or Ubuntu.
  2. Download x86 SDK from this site: http://pbsdk.vlasovsoft.net/ (filename: pbsdk-linux-1.0.7_i386.deb).
  3. Install this package
  4. run 'ldconfig /usr/lib32' as root.
  5. Now you will be able to compile demos and run it in emulator:
  • copy any example (e.g. calc) from /usr/local/pocketbook/sources to you working directory ("DIR");
  • change your current working directory to "DIR";
  • type "make BUILD=arm" to make version for PocketBook 301+/302/360; see build result in the "DIR/obj_arm" directory;
  • type "make BUILD=arm_gnueabi" to make version for PocketBook 602/603/902/903; see build result in the "DIR/obj_arm_gnueabi" directory;
  • type "make BUILD=emu" to make version for emulator; see build result in the "DIR/obj_emu" directory;

6. To run the program, built under emulator: - cd DIR/obj_emu; - copy or link /usr/local/pocketbook/system to the current directory; - run the program.

@lispy2010
Copy link

this site is down

@Hsilgos
Copy link
Author

Hsilgos commented Mar 30, 2022

Oh, this instruction is obsolete. Last time when I tried to setup environment for pocket book development they used Docker

@BatrakovSV
Copy link

this site is down

Вот здесь посмотрите.
https://github.com/svpv/pbsdk

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment