[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 |