level 8
小白羊的青春
楼主
我也没用过linux 系统所以不是很清楚,所以在网上找到转载
linux安装wxWidgets
wxWidgets是第三方库,那么要是用的话,首先要包含include 和 lib文件,然后在用的时候编译会出现一下问题:
wxWidgets/include/wx/platform.h:247: fatal error: wx/setup.h: No such file or directory
网上搜了一圈,有人说要编译库,不然引用不到。没办法,开始装呗
下载http://www.wxwidgets.org/downloads/ wxWidgets-2.9.2.tar.bz2
$tar -zxvf wxWidgets-2.9.2.tar.gz
$cd wxWidgets-2.9.2
$./configure -enable-unicode
$make
$sudo make install
看到如下信息,恭喜,成功了。
------------------------------------------------------
The installation of wxWidgets is finished. On certain
platforms (e.g. Linux) you'll now have to run ldconfig
if you installed a shared library and also modify the
LD_LIBRARY_PATH (or equivalent) environment variable.
wxWidgets comes with no guarantees and doesn't claim
to be suitable for any purpose.
Read the wxWindows Licence on licencing conditions.
------------------------------------------------------
清除中间文件:
$make clean
2013年08月21日 05点08分
1
linux安装wxWidgets
wxWidgets是第三方库,那么要是用的话,首先要包含include 和 lib文件,然后在用的时候编译会出现一下问题:
wxWidgets/include/wx/platform.h:247: fatal error: wx/setup.h: No such file or directory
网上搜了一圈,有人说要编译库,不然引用不到。没办法,开始装呗
下载http://www.wxwidgets.org/downloads/ wxWidgets-2.9.2.tar.bz2
$tar -zxvf wxWidgets-2.9.2.tar.gz
$cd wxWidgets-2.9.2
$./configure -enable-unicode
$make
$sudo make install
看到如下信息,恭喜,成功了。
------------------------------------------------------
The installation of wxWidgets is finished. On certain
platforms (e.g. Linux) you'll now have to run ldconfig
if you installed a shared library and also modify the
LD_LIBRARY_PATH (or equivalent) environment variable.
wxWidgets comes with no guarantees and doesn't claim
to be suitable for any purpose.
Read the wxWindows Licence on licencing conditions.
------------------------------------------------------
清除中间文件:
$make clean