- Install PNaCl SDK (and download latest stable pepper). The pepper directory (e.g.
/home/xyx/nacl_sdk/pepper_33
) will be yourNACL_SDK_ROOT
. git clone https://chromium.googlesource.com/external/naclports/
somewhere else.- Compile opencv using the
NACL_SDK_ROOT
. The libraries and include files will be automatically put underNACL_SDK_ROOT
.
git clone https://github.com/xanxys/calibrate-webcam
- Modify variables in
Makefile
./make_deploy
- If all goes well,
build/
will contain bunch of files including .pexe.