/*********************************************************************************
* FreeOpcUa compile
* 说明:
* 记录一下FreeOpcUa编译过程中遇到的错误,以及如何避免。
*
* 2017-11-22 深圳 南山平山村 曾剑锋
********************************************************************************/ 一、参考文档:
. FreeOpcUa/freeopcua
https://github.com/FreeOpcUa/freeopcua
. Boost “no such file or directory”
https://stackoverflow.com/questions/12241152/boost-no-such-file-or-directory
. undefined macro: AC_PROG_LIBTOOL
https://github.com/maxmind/libmaxminddb/issues/9
. 解决: g++: internal compiler error: Killed (program cc1plus)
http://ittony.blog.51cto.com/6242212/1687469
. Thread: swapon - operation not permitted
https://ubuntuforums.org/showthread.php?t=1329211
. src/lxml/etree_defs.h::: fatal error: libxml/xmlversion.h: No such file or directory
https://stackoverflow.com/questions/15759150/src-lxml-etree-defs-h931-fatal-error-libxml-xmlversion-h-no-such-file-or-di
. UaExpert is available for Windows and Linux.
https://www.unified-automation.com/products/development-tools/uaexpert.html 二、Compiler:
. autoreconf -ivf
. ./configure --prefix=`pwd`/_install
. make
. make check
. make install
. cd _install
. LD_LIBRARY_PATH=./lib ./bin/opcuaserver 三、Compiler Error & Fix
. configure.ac:: error: possibly undefined macro: AC_PROG_LIBTOOL
sudo apt-get install libtool
. fatal error: boost/any.hpp: No such file or directory
sudo apt-get install libboost-dev
. g++: internal compiler error: Killed (program cc1plus)
这是在VPS上编译出错了,后来使用自己的电脑编译,没有这个问题,应该是内存太小了,不过VPS不支持swap修改。
. fatal error: libxml/uri.h: No such file or directory
sudo apt-get install libxml2-dev
. /usr/bin/ld: canot find -lboost_thread
/usr/bin/ld: canot find -lboost_filesystem
/usr/bin/ld: canot find -lboost_system
/usr/bin/ld: canot find -lboost_program_options
/usr/bin/ld: canot find -lboost_pthon
. sudo apt-cache search libboost-
. sudo apt-cache search libboost-thread
. sudo apt-cache search libboost-filesystem
. sudo apt-cache search libboost-system
. sudo apt-cache search libboost-program-options
. sudo apt-cache search libboost-python
. sudo apt-get install libboost-thread-dev
. sudo apt-get install libboost-filesystem-dev
. sudo apt-get install libboost-system-dev
. sudo apt-get install libboost-program-options-dev
. sudo apt-get install libboost-pthon-dev
. fatal error: cppunit/extensions/Helpermacros.h: No such file or directory
sudo apt-get install libcppunit-dev

FreeOpcUa compile的更多相关文章

  1. Angular源码分析之$compile

    @(Angular) $compile,在Angular中即"编译"服务,它涉及到Angular应用的"编译"和"链接"两个阶段,根据从DO ...

  2. Compile FreeCAD on Windows

    Compile FreeCAD on Windows eryar@163.com 1.Introduction FreeCAD是一个参数化的三维造型软件,主要用于任意大小的实际模型的设计.参数化的建模 ...

  3. maven 加入json-lib.jar 报错 Missing artifact net.sf.json-lib:json-lib:jar:2.4:compile

    <dependency> <groupId>net.sf.json-lib</groupId> <artifactId>json-lib</art ...

  4. $compile

    <html ng-app="compile"> <head> <script src="http://apps.bdimg.com/libs ...

  5. 关于The C compiler "arm-none-eabi-gcc" is not able to compile a simple test program. 的错误自省...

    在 GCC ARM Embedded https://launchpad.net/gcc-arm-embedded/ 上面下载了个arm-none-eabi-gcc 用cmake 编译时 #指定C交叉 ...

  6. My first makefile to compile multiple C files

    I have three files to compile: main.c, func.c,  func.h The steps: 1   main.c   to   main.o 2   func. ...

  7. angular中的compile和link函数

    angular中的compile和link函数 前言 这篇文章,我们将通过一个实例来了解 Angular 的 directives (指令)是如何处理的.Angular 是如何在 HTML 中找到这些 ...

  8. Angular使用$compile为从Ajax加载的HTML绑定ng-click事件

    这是一个Angular使用$compile为从Ajax加载的HTML绑定ng-click事件的实现方式,由于近期忙碌,就先放代码.代码如下: <table data-ng-table=" ...

  9. Maven命令行使用:mvn clean compile(编译)

    先把命令行切换到Maven项目的根目录,比如:/d/xxxwork/java/maven-test,然后执行命令: mvn clean compile 执行结果如下: [INFO] Scanning ...

随机推荐

  1. Java入门:零碎的知识点

    实例变量经常被称为属性 成员变量和局部变量:前者在类中定义,后者在类的方法中定义且系统不会自动赋初始值 我们创建一个对象的时候实际上执行的是无参的构造方法 静态变量 static String arr ...

  2. Python 爬虫-Scrapy爬虫框架

    2017-07-29 17:50:29 Scrapy是一个快速功能强大的网络爬虫框架. Scrapy不是一个函数功能库,而是一个爬虫框架.爬虫框架是实现爬虫功能的一个软件结构和功能组件集合.爬虫框架是 ...

  3. 肠道型(enterotype)简介

    An enterotype is a classification of living organisms based on its bacteriological ecosystem in the ...

  4. 20170716xlVba销售明细转销售单据

    Sub CreateSaleList() AppSettings On Error GoTo ErrHandler Dim StartTime As Variant '开始时间 Dim UsedTim ...

  5. 12月12日 has_many through:的interference, option

    has_many :products, through: :cart_items, source: :product build定义:collection.build(attributes = {}, ...

  6. Java 本地环境设置

    如果你希望在你的本地环境中设置 Java 程序环境,下面的这部分将会指导你在你的本地计算机上下载和设置 Java 环境.你可以按照下面的步骤进行. Java SE 目前是免费下载的,你可以通过单击下面 ...

  7. Confluence 6 嵌套用户组的备注

    潜在的性能影响.启用嵌套用户组可能会减慢用户查找的速度. 在 LDAP 中定义嵌套用户组.在 LDAP 中,一个嵌套用户组是 DN (Distinguished Name)的子用户组,这个字用户组将会 ...

  8. Tree Cutting (Hard Version) CodeForces - 1118F2 (树形DP,计数)

    大意:给定树, 每个点有颜色, 一个合法的边集要满足删除这些边后, 每个连通块内颜色仅有一种, 求所有合法边集的个数 $f[x][0/1]$表示子树$x$中是否还有与$x$连通的颜色 对于每种颜色已经 ...

  9. UVA-10995 Educational Journey

    The University of Calgary team qualified for the 28th ACM International Collegiate Programming Conte ...

  10. dp练习(10)——拦截导弹

    1044 拦截导弹 1999年NOIP全国联赛提高组  时间限制: 1 s  空间限制: 128000 KB  题目等级 : 黄金 Gold 题解  查看运行结果     题目描述 Descripti ...