>> Read No. 1199 article  
Cygwin/xfree 에서 gtk+ 를 컴파일 하다!

등록 2001-04-28 22:07:00     조회 5
이름 이인호    

		Compiling Gtk+, Glib on Cygwin/xfree86 and compile applications using gtk+ and glib
Inho (chajath at hanmail.net)
  get the latest sources of glib, gtk+ and gnotepad+
 unzip into /usr/src under your cygwin directory.
 run cygwin and compile them as if you were using Linux.
 If you have difficulties during compiling glib, try this trick :
 glib-1.2.10gstrfuncs.c
 in line 704
 substitute
 #ifdef HAVE_STRSIGNAL
  extern char *strsignal (int sig);
  return strsignal (signum);//
#elsif NO_SYS_SIGLIST
 with
 //#ifdef HAVE_STRSIGNAL
//  extern char *strsignal (int sig);
//  return strsignal (signum);
#ifdef NO_SYS_SIGLIST
 If you see "Can't access libX11.dll" or something like that during configuring gnotepad+, try this :
 in Command box.
 cd c:cygwin
 set PATH=%PATH%;c:cygwinusrx11r6in
cygwin
 If you have a message like "more than two main() functions..." try this trick :
 in gnotepad+/src/Makefile
 substitute
GTK_LIBS = -L/usr/local/lib -L/usr/X11R6/lib -lgtk -lgdk -lgmodule -lglib -lXext -lX11 -lm
with
GTK_LIBS = -L/usr/local/lib -L/usr/X11R6/lib -lgtk -lgdk -lgmodule -lglib -lXext -lX11 #-lm
 finally, if you see a message saying "values.h is missing", then try :
touch /usr/include/values.h
chmod 644 /usr/include/values.h
 ---
 run xwindow and run "gnp" and see gnotepad+ running!
soon we will see gnome-panel running emoticon
 <img src="http://lightning.prohosting.com/~l2i1h5/gtkonxfree1.jpg">
 --
-- inho(chajath at hanmail.net). copy this document freely but quote me please emoticon!
이름
암호
  목록보기 윗글 아랫글
글쓰기
답장쓰기 수정 삭제
정규표현식 [ 상세 검색 ]
페이지로딩: [ 0.46 초 ] 작업시간: [ 0.03 초 ]

Copyleft 1999-2026 by JSBoard Open Project
Theme Designed by IDOO All right reserved
[TOP]

적수네 동네
+
| 적수네 동네
| 공부방
| 리눅스 잡지 서고
| LSN 소스
| 링크 모음
+---+
게시판
+
| 떠들어보세!
| 질문과 답변
| 새소식과 정보
| 1원짜리 팁?
| 대화방
+---+
칼럼?
+
| 세하 훔쳐보기
| Welcome2nite
| 혜진의 염장판
+---+
리눅스 상표권
+
| 반대 서명란
| 토론 게시판
+---+
GNU
+
| GNU 선언문
| GNU GPL
| GNU 미러 목록
+---+
프로젝트?
+
| 리눅스카운터
| RC5DES
| 실질헌법 제작
+---+
커널 소식
+
| 안정 버젼: 2.4.14
+---+
테마 선택
+
LSN 방송국?
+
| OFF AIR
+---+
회원
+
| 로그인
+---+
[ 적수네 동네 ] [ 리눅스 상표권 독점 반대 ] [ 한글 리눅스 문서 프로젝트 ] [ KrLine ] [ 사랑넷 ] [ Valid HTML 4.0! ] [ SlashDot ] [ Freshmeat ]
Copyleft (C) 1998-2001 Byeong-Chan Kim . License
TIME: 1791052831
System by WYZsoft, HDD by I.O.Linux, Mizi Research, Embryo, WOWLINUX, Domain by SarangNet, Network by KrLine.