惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
C
CXSECURITY Database RSS Feed - CXSecurity.com
L
LINUX DO - 热门话题
S
Secure Thoughts
TaoSecurity Blog
TaoSecurity Blog
Security Archives - TechRepublic
Security Archives - TechRepublic
T
Threat Research - Cisco Blogs
AI
AI
B
Blog RSS Feed
S
Schneier on Security
雷峰网
雷峰网
Schneier on Security
Schneier on Security
Help Net Security
Help Net Security
Cloudbric
Cloudbric
L
LINUX DO - 最新话题
罗磊的独立博客
有赞技术团队
有赞技术团队
Recent Commits to openclaw:main
Recent Commits to openclaw:main
Apple Machine Learning Research
Apple Machine Learning Research
P
Proofpoint News Feed
酷 壳 – CoolShell
酷 壳 – CoolShell
The Hacker News
The Hacker News
博客园 - Franky
Attack and Defense Labs
Attack and Defense Labs
The Cloudflare Blog
Webroot Blog
Webroot Blog
Last Week in AI
Last Week in AI
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
博客园 - 叶小钗
美团技术团队
L
Lohrmann on Cybersecurity
T
The Blog of Author Tim Ferriss
The Last Watchdog
The Last Watchdog
T
Troy Hunt's Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Vercel News
Vercel News
Know Your Adversary
Know Your Adversary
O
OpenAI News
博客园 - 【当耐特】
Hacker News - Newest:
Hacker News - Newest: "LLM"
C
Cybersecurity and Infrastructure Security Agency CISA
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
www.infosecurity-magazine.com
www.infosecurity-magazine.com
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
PCI Perspectives
PCI Perspectives
H
Heimdal Security Blog
I
InfoQ
GbyAI
GbyAI
T
Threatpost
C
Cisco Blogs

博客园 - 人非生而知知者

帐号实名制及其方式-修订版1.0 以SNS的模式做企业管理应用 苹果CEO史蒂夫·乔布斯(Steve Jobs),2005年,斯坦福大学 赢在中国 - 史玉柱经典语录(转载) 方案销售是一种新的销售模式---售前工程师 Palm 680磨合使用 软件需求分析工程中的几个常见事 palm 680入手使用记录 TOC全景图 TOC ubuntu 街机模拟器 学习使用VIM 目标——简单而有效的常识管理 用例图之用例与生、见、变、灭 如何在ASP项目中使用Fckeditor2.6.4 业务建模-用例 coffeewoo 出自itpub BB8700 bowser net 系统分析-系统设计-需求分析的区别 揭秘jbpm流程引擎内核设计思想及构架 (转)
Ubuntu9.04 配置Eclipse 中C语言编译环境及GTK+
人非生而知知者 · 2009-09-04 · via 博客园 - 人非生而知知者

一、首先按装好了Eclipse,这个网上有,一搜一大把。
二、下载CDT,进行安装。启动Eclipse,多了C和C++ Project支持。
三、查看GTK ,并安装:http://blog.chinaunix.net/u/2738/showart_227945.html#4.1%20%E7%B3%BB%E7%BB%9F%E4%B8%8A%E6%9C%AA%E5%AE%89%E8%A3%85%20GTK+
四,Eclipse 中C语言编译环境对GTK的支持:
http://blog.csdn.net/cogent2001/archive/2007/08/15/1745798.aspx
Eclipse 中:
Project -> Property -> C/C++Build  -> Settings -> Tab "Tool Setting" 上

1. GCC C Compiler -> Miscellaneous
 在Other flags里面的 -c -fmessage-length=0 后面添加

`pkg-config --cflags --libs gtk+-2.0`

2.GCC C Linker -> Libraries
在 Library search path(-L)里面添加

`pkg-config --cflags --libs gtk+-2.0`

注意在Library search path里面添加后会多出双引号,选编辑然后把双引号去掉就行了