View Single Post
Old 11-22-2011, 11:40 AM   #65
sergeyvl12
ebook fan
sergeyvl12 ought to be getting tired of karma fortunes by now.sergeyvl12 ought to be getting tired of karma fortunes by now.sergeyvl12 ought to be getting tired of karma fortunes by now.sergeyvl12 ought to be getting tired of karma fortunes by now.sergeyvl12 ought to be getting tired of karma fortunes by now.sergeyvl12 ought to be getting tired of karma fortunes by now.sergeyvl12 ought to be getting tired of karma fortunes by now.sergeyvl12 ought to be getting tired of karma fortunes by now.sergeyvl12 ought to be getting tired of karma fortunes by now.sergeyvl12 ought to be getting tired of karma fortunes by now.sergeyvl12 ought to be getting tired of karma fortunes by now.
 
Posts: 735
Karma: 2528718
Join Date: Dec 2010
Device: PocketBook 301+, Kindle 3 Wi-Fi, Onyx Boox A62, Kindle Touch
Quote:
Originally Posted by below View Post
Hello,

thank you for providing the SDK!

After upgrading to 1.1.0 (on Ubuntu 10.04, running as a VMWare guest on an OS X host), I get the following error when attempting to build the clock sample for the emulator:
Code:
% make BUILD=emu
gcc -c -o obj_emu/clock.c.o -D__EMU__ -DIVSAPP -Wall -g -m32  -MTobj_emu/clock.c.o -MF`echo obj_emu/clock.c.o | sed -e 's,\.o$,.d,'` -MD -MP clock.c
In file included from clock.c:1:
/usr/include/inkview.h:24:18: error: zlib.h: No such file or directory
/usr/include/inkview.h:25:22: error: ft2build.h: No such file or directory
/usr/include/inkview.h:27:10: error: #include expects "FILENAME" or <FILENAME>
/usr/include/inkview.h:28:10: error: #include expects "FILENAME" or <FILENAME>
/usr/include/inkview.h:29:10: error: #include expects "FILENAME" or <FILENAME>
/usr/include/inkview.h:30:10: error: #include expects "FILENAME" or <FILENAME>
make: *** [obj_emu/clock.c.o] Error 1
The build for arm_gnuabi seems to build fine (did not yet install it on the device)

Any pointers?

Thanks a lot!

Alex

Alex
Hi!

You can just comment the following lines in inkview.h:

#include <zlib.h>
#include <ft2build.h>
#include FT_FREETYPE_H
#include FT_GLYPH_H
#include FT_IMAGE_H
#include FT_OUTLINE_H

THAY ARE NOT NEEDED


Another option is to install "libfreetype6-dev" package.

Last edited by sergeyvl12; 11-22-2011 at 11:43 AM.
sergeyvl12 is offline   Reply With Quote