| ±ê´ë ±ê´ë´Â ¼ÒÇÁÆ®¿þ¾î¸¦ ÄÄÆÄÀÏÇÏ´Â µ¥ ÇÊ¿äÇÑ °Í¿¡ ´ëÇÑ Á¤º¸¸¦ ÀúÀåÇϱâ À§ÇØ °³¹ßÀÚ°¡ ¸ÞŸ µ¥ÀÌÅÍ ÆÄÀÏÀ» »ç¿ëÇϱâ À§ÇØ ¸ÞŸ µ¥ÀÌÅÍ ÆÄÀÏÀ» »ç¿ëÇÏ´Â µµ±¸ÀÔ´Ï´Ù. |
Áö±Ý ´Ù¿î·Îµå |
±ê´ë ¼øÀ§ ¹× ¿ä¾à
- °Ô½ÃÀÚ À̸§:
- Daniel E. Shipton
- °Ô½ÃÀÚ À¥»çÀÌÆ®:
- https://realityforge.vrsource.org/view/FlagPoll/WebHome
±ê´ë ű×
±ê´ë ¼³¸í
±ê´ë´Â °³¹ßÀÚ°¡ ¼ÒÇÁÆ®¿þ¾î¸¦ ÄÄÆÄÀÏÇÏ´Â µ¥ ÇÊ¿äÇÑ °Í¿¡ ´ëÇÑ Á¤º¸¸¦ ÀúÀåÇϱâ À§ÇØ ¸ÞŸ µ¥ÀÌÅÍ ÆÄÀÏÀ» »ç¿ëÇÏ´Â µµ±¸ÀÔ´Ï´Ù. FlagPoll ÇÁ·ÎÁ§Æ®´Â °³¹ßÀÚ°¡ ¼ÒÇÁÆ®¿þ¾î¸¦ ÄÄÆÄÀÏÇÏ´Â µ¥ ÇÊ¿äÇÑ °Í¿¡ ´ëÇÑ Á¤º¸¸¦ ÀúÀåÇϱâ À§ÇØ ¸ÞŸ µ¥ÀÌÅÍ ÆÄÀÏÀ» »ç¿ëÇÏ´Â µµ±¸ÀÔ´Ï´Ù. ¼ÒÇÁÆ®¿þ¾î °³¹ßÀÇ rpmÀ¸·Î¼ÀÇ inp. °³¹ßÀÚ°¡ ´Ù¸¥ ÆÐÅ°ÁöÀÇ cflags ¹× ldflag¸¦ ¼öµ¿À¸·Î ÁöÁ¤ÇÏ´Â ¸ÞŸ µ¥ÀÌÅ͸¦ »ç¿ëÇÏ·Á´Â ÆÐÅ°Áö, ¹öÀü, ¾ÆÅ°ÅØó, ±âŸ CETERA¸¦ »ç¿ëÇÒ ¼öÀÖ´Â ÃÑ Á¦¾î ÇÁ·Î±×·¥À» Á¦°øÇÕ´Ï´Ù.`flagpoll mylib --cflags --ldflags` ±×¸®°í ±×°ÍÀº ÆÐÅ°ÁöÀÇ Ç÷¡±×¿Í ±× ÆÐÅ°Áö¿Í Á¾¼Ó¼ºÀ» °Ë»öÇÕ´Ï´Ù. ¿¹¸¦ µé¾î, gcc -o foo foo.c` Ç÷¡±× - libs --cflags gtk + -2.0ÀÇ ÈξÀ ±ú²ýÇÑ °Íº¸´Ù ÈξÀ û°áÇÕ´Ï´Ù : gcc -o foo foo.c -l / usr / lib64 -lgtk-x11-2.0 -lgdk-x11-2.0 -lgdk_pixbuf-2.0 -lm -lgobject-2.0 -lglib-2.0 -lgmodule-2.0 -ldl -lpango-1.0 -lpangocairo-1.0 -lcairo -latk -1.0 -I / USR / Æ÷ÇÔ / GTK-2.0 -I / USR / lib64 / GTK-2.0 / Æ÷ÇÔ -I / USR / Æ÷ÇÔ / Æ÷ÇÔ / glib-2.0 -i / usr / lib64 / glib-2.0 / Æ÷ÇÔ -i / usr / include/pango-1.0 -i / usr / include / cairo -i / usr / include / atk-1.0 ÄÄÆÄÀÏ¿¡ ÇÊ¿äÇÑ Á¾¼Ó¼ºÀÇ Á¾¼Ó¼ºÀº °¢ ÆÐÅ°Áö ¸ÞŸ µ¥ÀÌÅÍ ÆÄÀÏ¿¡ º¸°üµË´Ï´Ù. Á¾¼Ó¼ºÀÌ ÇØ°áµÇ°í °á°ú´Â ¸ðµÎ ÇÊ¿äÇÑ LIB°¡ ÀÖÀ¸¸ç GTK +¿¡ ÇÊ¿äÇÑ °ÍÀ» Æ÷ÇÔÇÕ´Ï´Ù.
±ê´ë °ü·Ã ¼ÒÇÁÆ®¿þ¾î