/*********************************************************************************
* 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. python 元组查找元素返回索引

    #create a tuple tuplex = tuple("index tuple") print(tuplex) #get index of the first item w ...

  2. ros pbstream

    https://blog.csdn.net/xiekaikaibing/article/details/80320822

  3. socket编程之accept()函数【转载】

    名称 accept() 接收一个套接字中已建立的连接 使用格式 #include <sys/types.h> #include <sys/socket.h> int accep ...

  4. Codeforces 838A - Binary Blocks(二维前缀和+容斥)

    838A - Binary Blocks 思路:求一下前缀和,然后就能很快算出每一小正方块中1的个数了,0的个数等于k*k减去1的个数,两个的最小值就是要加进答案的值. 代码: #include< ...

  5. Rspec: everyday-rspec实操。5:controller test(了解基础)

    第 5 章 控制器测试 5.1基础 rails generate rspec:controller home RSpec.describe HomeController, type: :control ...

  6. SQL 进阶视频课程。Udacity: Intro to Relational Databases和 PostgreSQL语法文档。

    Udacity: Intro to Relational Databases The syntax of the select statement with a where clause: selec ...

  7. view_baseInfo

    create view view_baseInfo as select c.spbh,c.tongym, c.spmch,c.shpgg,c.shpchd,a.pihao,a.pici,a.sxrq, ...

  8. Zookeeper架构、ZAB协议、选举

    转载:深入浅出Zookeeper(一) Zookeeper架构及FastLeaderElection机制  (nice) ZooKeeper学习第六期---ZooKeeper机制架构 一.Zookee ...

  9. entest1

      1◆ ai I   2◆ ai I ir ɜː ie i:   3◆ u: ʌ ɜː ə   ui u: ure ʊə

  10. 国际音标en

    元.         辅