Ubuntu18.04中配置wxWidget3.0.4开发环境
准备工作
在 https://www.wxwidgets.org/downloads/ 下载最新的稳定版 wxWidgets-3.0.4.tar.bz2
安装依赖
sudo apt install libgtk--dev build-essential checkinstall
编译安装
$ make
# ... 略 ...
$ sudo checkinstall
checkinstall会需要准备好package的描述等, 详细的输入输出. 使用checkinstall会同时生成deb包, 以及安装明细, 将来如何移除的提示
$ sudo checkinstall
checkinstall 1.6.2, Copyright 2009 Felipe Eduardo Sanchez Diaz Duran
This software is released under the GNU GPL.
The package documentation directory ./doc-pak does not exist.
Should I create a default set of package docs? [y]: Preparing package documentation...OK Please write a description for the package.
End your description with an empty line or EOF.
>> wxWidgets library 3.0.4
>>
*****************************************
**** Debian package creation selected ***
***************************************** *** Warning: The package name "wxWidgets" contains upper case
*** Warning: letters. dpkg might not like that so I changed
*** Warning: them to lower case. This package will be built according to these values: 0 - Maintainer: [ root@milton-x240 ]
1 - Summary: [ wxWidgets library 3.0.4 ]
2 - Name: [ wxwidgets ]
3 - Version: [ 3.0.4 ]
4 - Release: [ 1 ]
5 - License: [ GPL ]
6 - Group: [ checkinstall ]
7 - Architecture: [ amd64 ]
8 - Source location: [ wxWidgets-3.0.4 ]
9 - Alternate source location: [ ]
10 - Requires: [ ]
11 - Provides: [ wxwidgets ]
12 - Conflicts: [ ]
13 - Replaces: [ ] Enter a number to change any of them or press ENTER to continue: [Enter] Installing with make install... # ... 略 ... Copying files to the temporary directory...OK Stripping ELF binaries and libraries...OK Compressing man pages...OK Building file list...OK Building Debian package...OK Installing Debian package...OK Erasing temporary files...OK Deleting temp dir...OK ********************************************************************** Done. The new package has been installed and saved to /home/milton/Backup/linux/wxWidgets-3.0.4/wxwidgets_3.0.4-1_amd64.deb You can remove it from your system anytime using: dpkg -r wxwidgets **********************************************************************
检查安装路径
$ dpkg -L wxWidgets
这次安装并未按某些网页教程提示的增加 /etc/ld.so.conf.d/ 配置文件并执行sudo ldconfig, 但是可以i正常编译, 所以ldconfig这步应该是不需要了.
编译Samples样例
wxWidgets源码已经带了一个samples的样例包, 在安装完成后就可以直接编译测试
$ cd samples/
$ make
编译成功后, 里面的子目录会带着编译好的可执行程序, 例如 popup, tarskbar, text, treelist, 等等.
Ubuntu18.04中配置wxWidget3.0.4开发环境的更多相关文章
- 在IntelliJ IDEA 13中配置OpenCV的Java开发环境
准备工作: 下载IDEA 13(这里以版本13为例,后面简称IDEA): 下载Java JDK(用于配置基本的Java开发环境): 下载OpenCV 2.4.9(这里以版本2.4.9为例,据这篇文章说 ...
- windows7下安装配置phonegap3.0 (cordavo)开发环境 (涉及android sdk配置)
之前在mac上安装调试过phonegap,现在公司用的是windows7,所以不得不再进行一次windows下的配置工作,顺便也写下来了 主要麻烦的地方是要在win7下添加好几个环境变量,这一块地方特 ...
- Ubuntu 14.04.1 配置 Android 源码开发环境(jdk版本切换)(转载)
转自:http://www.cnblogs.com/ren-gh/p/4248407.html # Ubuntu 14.04.1 1.更新源: sudo apt-get update 安装vim工具: ...
- Ubuntu18.04中配置QT5.11开发环境
准备工作 参考 https://wiki.qt.io/Install_Qt_5_on_Ubuntu . # 安装g++ sudo apt install build-essential # sudo ...
- 在RedHat 和 Ubuntu 中配置 Delphi 的Linux开发环境(转)
原文地址:http://chapmanworld.com/2016/12/29/configure-delphi-and-redhat-or-ubuntu-for-linux-development/ ...
- Anaconda中配置Pyspark的Spark开发环境
1.windows下载并安装Anaconda集成环境 URL:https://www.continuum.io/downloads 2.在控制台中测试ipython是否启动正常 3.安装JDK 3.1 ...
- 转:Ubuntu16.04下配置php+vscode+xdebug开发环境
转:https://blog.csdn.net/its_my_dream/article/details/78549619 操作系统是Ubuntu16.04,首先要安装和配置php运行环境,我这里用的 ...
- Mac中配置eclipse的php开发环境
1.mac中自带php和apache,不过版本不是最新的. 2.打开apache配置文件中php相关设置,并设置php的工程目录为你想要的目录 3.复制php.ini.default为php.ini, ...
- Ubuntu18.04下配置深度学习开发环境
在Ubuntu18.04下配置深度学习/机器学习开发环境 1.下载并安装Anaconda 下载地址:https://www.anaconda.com/distribution/#linux 安装步骤: ...
随机推荐
- C# DevExpress GridControl导出表格【转】
DevExpress的GridControl提供方便的数据导出功能,可以方便的导出Exce,PDF,Html页面,world形式,无需写额外的代码,方便.快捷. /// <summary> ...
- python将控制台输出保存至文件
很多时候在Linux系统下运行python程序时,控制台会输出一些有用的信息.为了方便保存这些信息,有时需要对这些信息进行保存.这里介绍几种将控制台输出保存到文件中的方式:1 重定向标准输出流重定向标 ...
- jQuery 发送验证码倒计时按钮
{ wait:90, hsTime:function(that){ if (this.wait == 0) { $('#hsbtn').removeAttr("disabled") ...
- Tensorflow动态seq2seq使用总结(r1.3)
https://www.jianshu.com/p/c0c5f1bdbb88 动机 其实差不多半年之前就想吐槽Tensorflow的seq2seq了(后面博主去干了些别的事情),官方的代码已经抛弃原来 ...
- Double-Array Trie分词词典简述
http://www.xuebuyuan.com/1991441.html 一.TRIE树简介(以下简称T树) TRIE树用于确定词条的快速检索,对于给定的一个字符串a1,a2,a3,…an,则采用T ...
- python 听课笔记(二)
- JAVA-SpringMVC基于注解模式第一个应用
项目文件结构 1. web.xml配置文件 <?xml version="1.0" encoding="UTF-8"?> <web-app x ...
- OpenGL ES 3.0 and libGLESv2
note that libGLESv2 is the recommended Khronos naming convention for the OpenGL ES 3.0 library. This ...
- 【python】bytes与字符串的相互转化
代码: # bytes转字符串方式一 b=b'\xe9\x80\x86\xe7\x81\xab' string=str(b,'utf-8') print(string) # bytes转字符串方式二 ...
- Creating objects on stack or heap
class Player { private: int health; int strength; int agility; public: void move(); void attackEn ...