When under linux build problems and solutions

The first time in linux compile open source project, note the problems and solutions.

1. Could not find wxWidgets library.
Solution: $ sudo apt-get install libwxgtk2.8-0 libwxgtk2.8-dev wx2.8-headers wx-common

2. Need libsmbclient.h for compiling on Unix.
Solution: $ sudo apt-get install libsmbclient-dev

3. Need cups.h for compiling on Unix.
Solution: $ sudo apt-get install libcupsys2-dev

4. Error: Need opensc / opensc.h.
Solution: $ sudo apt-get install libopensc2-dev

5. Exec: g + +: not found.
Solution: $ sudo apt-get install build-essential

6. Error: X11/Xlib.h: no such file or directory.
Solution: $ sudo apt-get install libx11-dev

7. Error: X11/Xmu/WinUtil.h: no such file or directory.
Solution: $ sudo apt-get install libxmu-dev

8. Error: jpeglib.h: no such file or directory.
Solution: $ sudo apt-get install libjpeg-dev

9. Error: png.h: no such file or directory.
Solution: $ sudo apt-get install libpng-dev

分类:CPP 时间:2010-06-30 人气:174
分享到:
blog comments powered by Disqus

相关文章

  • Source Project will introduce eclipse, and compile source code under linux 2010-09-27

    Start with an eclipse of the Android project the following 3 grid file copy, you can even HelloWorld program. 1,. Classpath 2,. Project 3, default.properties Note: The first two files are hidden files, show hidden files first to see. Copied later, ch

  • Apache open source project classification list 2009-10-13

    Original link: http://blog.chinaunix.net/u/21477/showart_265148.html Apache open source project classification list Categories Project name Description The development of language Server (20) Apache HTTP Server HTTP server first in the world C / C +

  • (Turn) Apache open source project profiles on all the JAVA 2010-03-29

    Close contact with Jakarta-Common-BeanUtils this Dongdong are more, so pairs of Apache Jakarta Project generated interest, on their official website under the terms of the useful things that a lot of sense, blinking, and no Chinese website, but also

  • Linux's directory content Xiangjie 2010-02-03

    Linux's directory of people engaged in computer systems always want to know what things in in the end, so I just run under the root directory of Linux ls-l (out directory command), wow, long list, which put what many directories what? I have no alter

  • The role of Linux, the directory 2010-03-26

    / Bin This is the place for example: ls, mv, rm, mkdir, rmdir, gzip, tar, telnet, and ftp so common executable file (for executable implementation of these methods will be mentioned later), sometimes this directory the content and / usr / bin is the

  • C # open source project description (rpm) 2011-05-22

    C # open source project (still a lot of foreign countries) A, Ajax framework Ajax.NET Professional (AjaxPro) was the first to AJAX technology in Microsoft. NET environment, the implementation of the AJAX frameworks. It creates client-side script on t

  • php open source project 2011-05-11

    WordPress Blog] [PHP open source blog WordPress is the most popular open source personal publishing system (Blog) one of the building based on PHP + MySQL. WordPress offers features include: 1. The article published, classification, archiving. 2. To

  • dotproject is a very good open source project management system 2011-06-01

    Project iteration, project schedule, task decomposition and precipitation on this platform dotproject is a very good open source project management system, the official site http://www.dotproject.net Official site provides DEMO: http://www.dotproject

  • In the Eclipse project to create Jeecms Graphic Guide 2009-12-30 15:30 Jeecms as an open source project, since has been released by the users and enthusiasts all over the country JEE widespread attention 2009-01-26

    In the Eclipse project to create Jeecms Photo Guide 2009-12-30 15:30 Jeecms as an open source project, since has been released by the users and enthusiasts all over the country JEE wide attention, and our group is also soared in popularity Jeecms exc

  • To learn from a friend of some worth studying J2EE open source project (change) 2008-10-12

    Editor: to learn from a friend a number of J2EE open-source projects to be studied, Wuxi, Jiangsu Miao Xiao-dong This article written in my study of J2SE, J2EE, after nearly three years. The first 3 years, I studied the J2SE's Swing, Applet, Net, RMI

iOS 开发

Android 开发

Python 开发

JAVA 开发

开发语言

PHP 开发

Ruby 开发

搜索

前端开发

数据库

开发工具

开放平台

Javascript 开发

.NET 开发

云计算

服务器

Copyright (C) codeweblog.com, All Rights Reserved.

CodeWeblog.com 版权所有 黔ICP备15002463号-1

processed in 0.235 (s). 10 q(s)