Chinaunix首页 | 论坛 | 博客
  • 博客访问: 257075
  • 博文数量: 49
  • 博客积分: 110
  • 博客等级: 民兵
  • 技术积分: 510
  • 用 户 组: 普通用户
  • 注册时间: 2013-01-13 00:59
个人简介

make it run,make it better,make it fast. https://github.com/liulanghaitun

文章分类

全部博文(49)

文章存档

2023年(1)

2022年(2)

2020年(4)

2019年(4)

2017年(15)

2016年(3)

2014年(3)

2013年(14)

分类: LINUX

2017-10-28 15:19:12

转载自:

Check if you have the wxGTK package

I assume that each Gentoo user have wxGTK merged cause you need it to compile. But to know if the wxWidgets needed package is emerged or what just do this :

wx-config --version

It should return you just the version you build previously, If you have the version goto "Configure" step.

If you have a bash error follow the next step as root:

Emerge the package

Keep in mind that you could change the USE flags as you want

emerge wxGTK

Configure

then show the list of profiles available

eselect wxwidgets list

which gave me :

Available wxWidgets profiles: [1] gtk2-unicode-release-2.8

Then you should select a profil like this

eselect wxwidgets set 1

Use It

Now try this it should work :

g++ `wx-config --cppflags` `wx-config --libs` main.cpp
阅读(1262) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~