FreeOpcUa compile
/*********************************************************************************
* 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的更多相关文章
- Angular源码分析之$compile
@(Angular) $compile,在Angular中即"编译"服务,它涉及到Angular应用的"编译"和"链接"两个阶段,根据从DO ...
- Compile FreeCAD on Windows
Compile FreeCAD on Windows eryar@163.com 1.Introduction FreeCAD是一个参数化的三维造型软件,主要用于任意大小的实际模型的设计.参数化的建模 ...
- 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 ...
- $compile
<html ng-app="compile"> <head> <script src="http://apps.bdimg.com/libs ...
- 关于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交叉 ...
- 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. ...
- angular中的compile和link函数
angular中的compile和link函数 前言 这篇文章,我们将通过一个实例来了解 Angular 的 directives (指令)是如何处理的.Angular 是如何在 HTML 中找到这些 ...
- Angular使用$compile为从Ajax加载的HTML绑定ng-click事件
这是一个Angular使用$compile为从Ajax加载的HTML绑定ng-click事件的实现方式,由于近期忙碌,就先放代码.代码如下: <table data-ng-table=" ...
- Maven命令行使用:mvn clean compile(编译)
先把命令行切换到Maven项目的根目录,比如:/d/xxxwork/java/maven-test,然后执行命令: mvn clean compile 执行结果如下: [INFO] Scanning ...
随机推荐
- 使用 CSS 选择器从网页中提取数据
在 R 中,关于网络爬虫最简单易用的扩展包是 rvest.运行以下代码从 CRAN 上安装:install.packages("rvest")首先,加载包并用 read_html( ...
- C++反汇编书
1. <C++反汇编与逆向分析技术揭秘> 2.
- 《剑指offer》第三十六题(二叉搜索树与双向链表)
// 面试题36:二叉搜索树与双向链表 // 题目:输入一棵二叉搜索树,将该二叉搜索树转换成一个排序的双向链表.要求 // 不能创建任何新的结点,只能调整树中结点指针的指向. #include < ...
- hihoCoder 1636 Pangu and Stones
hihoCoder 1636 Pangu and Stones 思路:区间dp. 状态:dp[i][j][k]表示i到j区间合并成k堆石子所需的最小花费. 初始状态:dp[i][j][j-i+1]=0 ...
- Java 集合-List接口和三个子类实现
List List:有序的 collection(也称为序列).此接口的用户可以对列表中每个元素的插入位置进行精确地控制.用户可以根据元素的整数索引(在列表中的位置)访问元素,并搜索列表中的元素.与 ...
- Python版本微信跳一跳,软件配置
一.安装python3的环境: 直接从python官方网站下载python3的安装包,直接安装. 记得将python3放到PATH环境变量中,安装的过程中在该配置地方打钩就可以了. 如果安装的过程中出 ...
- WPF操作RichTextBox
http://www.cnblogs.com/wzwyc/p/6291895.html
- 第二类斯特林数(转自http://www.cnblogs.com/gzy-cjoier/p/8426987.html )
转自http://www.cnblogs.com/gzy-cjoier/p/8426987.html 侵删
- hdu5253 MST
连接的管道 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submi ...
- hdu1584
蜘蛛牌 Time Limit: 10000/5000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submis ...