'공부를 해보자/임베디드 UI'에 해당되는 글 3건

  1. 2010.12.03 smallX(formerly tinyX)
  2. 2010.12.03 [Nano-X] 패키지 다운로드 & 빌드
  3. 2010.12.02 [Nano-X]전체 패키지

smallX(formerly tinyX)

공부를 해보자/임베디드 UI 2010. 12. 3. 11:36

홈페이지: http://www.superant.com/smalllinux/tinyX01.html

KELP 유영창 강좌

'공부를 해보자 > 임베디드 UI' 카테고리의 다른 글

[Nano-X] 패키지 다운로드 & 빌드  (0) 2010.12.03
[Nano-X]전체 패키지  (0) 2010.12.02
:

[Nano-X] 패키지 다운로드 & 빌드

공부를 해보자/임베디드 UI 2010. 12. 3. 10:12

외부라이브러리

nxlib-0.46.tar.gz

Makefile을 수정하고 make
libNX11.lib, nxlib.h

freetype-2.3.9.tar.gz

# ./configure --prefix=`pwd`/output
# make
# make install

freetype-1.3.1.tar.gz

-실패-

jpegsrc.v6b.tar.gz

# ./configure --prefix=`pwd`/output
# make
# make install
(error: output 디렉토리 구조를 미리 생성해 주어야 한다.)
라이브러리는 복사되지 않는다.(libjpeg.a, jpeglib.h)

png-1.2.37.tar.gz

# ./configure --prefix=`pwd`/output
# make
# make install

zlib-1.2.3.3.tar.gz

# ./configure --prefix=`pwd`/output
# make
# make install

t1lib-5.1.2.tar.gz

-실패-

위젯툴킷

fltk-1.1.3-source.tar.gz

# ./configure
# make

error1

Compiling filename_absolute.cxx...
Compiling filename_expand.cxx...
Compiling filename_ext.cxx...
Compiling filename_isdir.cxx...
Compiling filename_list.cxx...
filename_list.cxx: In function ‘int fl_filename_list(const char*, dirent***, int (*)(dirent**, dirent**))’:
filename_list.cxx:65: error: invalid conversion from ‘int (*)(const void*, const void*)’ to ‘int (*)(const dirent**, const dirent**)’
filename_list.cxx:65: error:   initializing argument 4 of ‘int scandir(const char*, dirent***, int (*)(const dirent*), int (*)(const dirent**, const dirent**))’
make[1]: *** [filename_list.o] Error 1

src/filename_list.cxx::fl_filename_list()함수 수정, 아래 루틴으로 동작하도록 함.

return scandir(d, list, 0, (int(*)(const dirent **, const dirent **))sort);

flnx-0.16.tar.gz | flnx-0.18-tar.gz

# ./configure --with-microwin=../microwindows-0.92/src
# make

빌드에러 수정

12 diff -r flnx-0.16/FL/Fl_Window.H flnx-0.16-mod/FL/Fl_Window.H
13 32a33
14 > class Fl_X;
15 Only in flnx-0.16-mod: makeinclude
16 diff -r flnx-0.16/src/filename_list.cxx flnx-0.16-mod/src/filename_list.cxx
17 42a43,44
18 >   return scandir(d, list, 0, (int(*)(const dirent **, const dirent **))numericsort);
19 >   /*
20 54a57
21 > */
22 diff -r flnx-0.16/src/Fl_Animator.cxx flnx-0.16-mod/src/Fl_Animator.cxx
23 31c31
24 <            int interval, const char *label = 0)
25 ---
26 >            int interval, const char *label /*= 0*/)
27 47c47
28 <   printf("The interval is %f\n", _interval);
29 ---
30 > //  printf("The interval is %f\n", _interval);
31 70c70
32 <   printf("FL_ANIMATOR:  Start playing with interval %f\n", _interval);
33 ---
34 >  // printf("FL_ANIMATOR:  Start playing with interval %f\n", _interval);
35 81c81
36 <   printf("FL_ANIMATOR:  Stopping the animation!\n");
37 ---
38 >  // printf("FL_ANIMATOR:  Stopping the animation!\n");
39 diff -r flnx-0.16/src/Fl_x.cxx flnx-0.16-mod/src/Fl_x.cxx
40 47c47
41 < #include <iostream.h>
42 ---
43 > #include <iostream>

코어패키지

microwindows-full-0.92.tar.gz

'공부를 해보자 > 임베디드 UI' 카테고리의 다른 글

smallX(formerly tinyX)  (0) 2010.12.03
[Nano-X]전체 패키지  (0) 2010.12.02
:

[Nano-X]전체 패키지

공부를 해보자/임베디드 UI 2010. 12. 2. 11:05

[ftp://microwindows.censoft.com/pub/microwindows/CONTENTS.txt]

Updated 24 Jan 2010

CORE PACKAGES

microwindows-src-0.92.tar.gz base distribution

microwindows-fonts-0.92.tar.gz free truetype, t1, chinese, japanese, korean fonts

microwindows-full-0.92.tar.gz full distribution including fonts

nxlib-0.46.tar.gz NXLIB X11 -> Nano-X conversion library

EXTERNAL REQUIRED LIBRARIES (when configured to use them, latest tested version)

freetype-2.3.9.tar.gz libfreetype.so - freetype 2 font engine

freetype-1.3.1.tar.gz libttf.so - freetype 1 font engine

jpegsrc.v6b.tar.gz libjpeg.a - JPEG image library

png-1.2.37.tar.gz libpng.a - PNG image library

zlib-1.2.3.3.tar.gz libz.a - compression lib for loadable pcf.gz fonts/png files

t1lib-5.1.2.tar.gz libt1.a - T1 font engine (requires T1LIB_CONFIG=microwin/src/fonts/t1lib/config.t1lib)

DEMONSTRATION SCRIPTS

chess.sh Nano-X chess game demo

demo.sh win32 api (singly linked apps w/server) demos

demo2.sh simple multiple apps demo

fontdemo.sh freetype loadable font and variable height demo

fontdemo2.sh freetype/t1lib antialias and rotation demo

fontdemo3.sh pcf loadable font demo (uses /usr/lib/X11/fonts dir)

fontdemo4.sh loadable font (truetype,t1,pcf,hzk,mgl) drawing demo

t1demo.sh T1 font engine demo

pcfdemo.sh pcf font engine demo

grabdemo.sh hotkey grab demo

grdemo.sh graphics operations demo

indent.sh Microwindows coding style indentation reformatter

launcher.sh sample desktop with great screensavers (wait 10 secs)

mouse.sh start gpm mouse driver

nxterm.sh terminal emulator, screen kbd demo

nxview.sh image viewer demo

nxviewalpha.sh alpha channel image viewer demo

vnc.sh VNC client demo

BINARIES (run in demo scripts above)

bin/mdemo Microwindows 3d demo (win32 api)

bin/mterm Microwindows terminal emulator (win32 api)

bin/malpha Microwindows alpha blending (win32 api)

bin/nano-X Nano-X server (must be run before Nano-X demos) (see *.sh)

bin/nanowm Nano-X Window Manager (run after nano-X, see *.sh)

EXTERNALLY AVAILABLE FONTS

fontkit-1.1-src.tar.gz Japanese EUCJP MGL fonts

xorg-2.tar.gz X11 PCF fonts

NANO-X PORTED LIBARIES

NanoGTK-1.0-src.tar.gz Nano-X GTK+ implementation

TinyGL-0.4.tar.gz Nano-X Tiny GL library

tinywidgets-0.1.tar.gz Nano-X C widget library

flnx-0.16.tar.gz Nano-X FLTK library (obsolete by NXLIB)

NANO-X COMPATIBLE LIBRARIES

agg-2.5.tar.gz AntiGrain Geometry

sdl-1.2.4a.tar.gz X SDL library

NANO-X PORTED APPS

dvdview-1.1.0d.tar.gz Nano-X mpeg player (single threaded, direct fb map) (16-32bpp)

flash-0.4.10a.tar.gz Nano-X Flash viewer

nxdoom-src.tar.gz Nano-X Doom (8bpp only) (seperate doom1.wad required)

nxfreecell-0.1.tar.gz Nano-X freecell (desktop and iPAQ versions?)

nxzilla-source-0.9.4.tar.gz Nano-X mozilla

mozilla-devel-0.9.5.tar.gz mozilla development kit

nxrwin-1.5.0a.tar.gz Nano-X microsoft RDP client

pixil-1.2.2.tar.gz Nano-X PIXIL Operating Environment

smpeg-0.4.4b.tar.gz Nano-X/SDL mpeg player (multi-threaded)

viewml-0.21.tar.gz Nano-X ViewML web browser

NXLIB COMPATIBLE X11 LIBRARIES

fltk-1.0.11.tar.gz X11 C++ widget library

fltk-1.1.3.tar.gz X11 C++ widget library

fltk-2.0.x.tar.gz X11 C++ widget library

qt-x11-2.3.1.tar.gz X11 C++ Qt library w/qtconf.sh, qtfix.sh

NXLIB COMPATIBLE X11 APPS

xsunclock-1.5 X11 sunclock

xscreensaver-3.26 X11 screen saver graphics demos

xfreecell-1.0.5a X11 freecell

'공부를 해보자 > 임베디드 UI' 카테고리의 다른 글

smallX(formerly tinyX)  (0) 2010.12.03
[Nano-X] 패키지 다운로드 &amp; 빌드  (0) 2010.12.03
: