Mocapy++ in Heart

来源:互联网 发布:高职大数据专业课程 编辑:程序博客网 时间:2024/05/17 10:05

1.sudo apt-get install build-essential

2. sudo apt-get install cmake

3. sudo apt-get install automake

4.sudo apt-get install libtool

5.sudo apt-get install gfortran

sudo apt-get install gfortran
[sudo] password for fpxbondgraph: 
正在读取软件包列表... 完成
正在分析软件包的依赖关系树       
正在读取状态信息... 完成       
将会安装下列额外的软件包:
  gfortran-4.6
建议安装的软件包:
  gfortran-multilib gfortran-doc gfortran-4.6-multilib gfortran-4.6-doc libgfortran3-dbg
下列【新】软件包将被安装:
  gfortran gfortran-4.6
升级了 0 个软件包,新安装了 2 个软件包,要卸载 0 个软件包,有 284 个软件包未被升级。
需要下载 5,368 kB 的软件包。
解压缩后会消耗掉 13.8 MB 的额外空间。
您希望继续执行吗?[Y/n]y
获取:1 http://cn.archive.ubuntu.com/ubuntu/ precise/main gfortran-4.6 i386 4.6.3-1ubuntu5 [5,367 kB]
获取:2 http://cn.archive.ubuntu.com/ubuntu/ precise/main gfortran i386 4:4.6.3-1ubuntu5 [1,202 B]
下载 5,368 kB,耗时 5秒 (1,038 kB/s)  
Selecting previously unselected package gfortran-4.6.
(正在读取数据库 ... 系统当前共安装有 247958 个文件和目录。)
正在解压缩 gfortran-4.6 (从 .../gfortran-4.6_4.6.3-1ubuntu5_i386.deb) ...
Selecting previously unselected package gfortran.
正在解压缩 gfortran (从 .../gfortran_4%3a4.6.3-1ubuntu5_i386.deb) ...
正在处理用于 man-db 的触发器...
正在设置 gfortran-4.6 (4.6.3-1ubuntu5) ...
正在设置 gfortran (4:4.6.3-1ubuntu5) ...
update-alternatives: 使用 /usr/bin/gfortran 来提供 /usr/bin/f95 (f95),于 自动模式 中。
fpxbondgraph@fpxbondgraph-Lenovo:~/FpxStudio/ResearchStudio/Mocapy++-1.07$ cmake .
-- The Fortran compiler identification is GNU
-- Check for working Fortran compiler: /usr/bin/gfortran
-- Check for working Fortran compiler: /usr/bin/gfortran  -- works
-- Detecting Fortran compiler ABI info
-- Detecting Fortran compiler ABI info - done
-- Checking whether /usr/bin/gfortran supports Fortran 90
-- Checking whether /usr/bin/gfortran supports Fortran 90 -- yes
CMake Error at /usr/share/cmake-2.8/Modules/FindBoost.cmake:1202 (message):
  Unable to find the requested Boost libraries.

-----------------------------------------------------------------------------------------------------******************************************888

未装gfotran 提示‘CMake Error: your Fortran compiler: "CMAKE_Fortran_COMPILER-NOTFOUND" was not found“

fpxbondgraph@fpxbondgraph-Lenovo:~/FpxStudio/ResearchStudio/Mocapy++-1.07$ ls
autogen.sh  CMakeCache.txt  CMakeLists.txt  CPackConfig.cmake        Doxyfile  INSTALL  Makefile.am  src
ChangeLog   CMakeFiles      configure.ac    CPackSourceConfig.cmake  examples  LICENSE  MANUAL.pdf   tests
fpxbondgraph@fpxbondgraph-Lenovo:~/FpxStudio/ResearchStudio/Mocapy++-1.07$ cmake .
-- The Fortran compiler identification is unknown
CMake Error: your Fortran compiler: "CMAKE_Fortran_COMPILER-NOTFOUND" was not found.   Please set CMAKE_Fortran_COMPILER to a valid compiler path or name.
CMake Error at /usr/share/cmake-2.8/Modules/FindBoost.cmake:1202 (message):
  Unable to find the requested Boost libraries.


  Boost version: 1.48.0


  Boost include path: /usr/include


  The following Boost libraries could not be found:


          boost_serialization
          boost_program_options
          boost_thread


  No Boost libraries were found.  You may need to set BOOST_LIBRARYDIR to the
  directory containing Boost libraries or BOOST_ROOT to the location of
  Boost.
Call Stack (most recent call first):
  examples/CMakeLists.txt:9 (FIND_PACKAGE)




running /usr/bin/cmake -E create_symlink "/home/fpxbondgraph/FpxStudio/ResearchStudio/Mocapy++-1.07/examples/data" "/home/fpxbondgraph/FpxStudio/ResearchStudio/Mocapy++-1.07/examples/data"  2>&1
-- Could NOT find Boost
-- Could NOT find Boost
-- Could NOT find Boost
-- Could NOT find Boost
-- Could NOT find Boost
-- Could NOT find Boost
-- Could NOT find Boost
-- Could NOT find Boost
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
Boost_PROGRAM_OPTIONS_LIBRARY (ADVANCED)
    linked by target "mlr-uni" in directory /home/fpxbondgraph/FpxStudio/ResearchStudio/Mocapy++-1.07/examples
Boost_SERIALIZATION_LIBRARY (ADVANCED)
    linked by target "discrete_hmm_with_prior" in directory /home/fpxbondgraph/FpxStudio/ResearchStudio/Mocapy++-1.07/examples
    linked by target "hmm_bippo" in directory /home/fpxbondgraph/FpxStudio/ResearchStudio/Mocapy++-1.07/examples
    linked by target "hmm_dirichlet" in directory /home/fpxbondgraph/FpxStudio/ResearchStudio/Mocapy++-1.07/examples
    linked by target "hmm_discrete" in directory /home/fpxbondgraph/FpxStudio/ResearchStudio/Mocapy++-1.07/examples
    linked by target "hmm_factorial" in directory /home/fpxbondgraph/FpxStudio/ResearchStudio/Mocapy++-1.07/examples
    linked by target "hmm_gauss" in directory /home/fpxbondgraph/FpxStudio/ResearchStudio/Mocapy++-1.07/examples
    linked by target "hmm_gauss_1d" in directory /home/fpxbondgraph/FpxStudio/ResearchStudio/Mocapy++-1.07/examples
    linked by target "hmm_kent" in directory /home/fpxbondgraph/FpxStudio/ResearchStudio/Mocapy++-1.07/examples
    linked by target "hmm_multinomial" in directory /home/fpxbondgraph/FpxStudio/ResearchStudio/Mocapy++-1.07/examples
    linked by target "hmm_poisson" in directory /home/fpxbondgraph/FpxStudio/ResearchStudio/Mocapy++-1.07/examples
    linked by target "hmm_simple" in directory /home/fpxbondgraph/FpxStudio/ResearchStudio/Mocapy++-1.07/examples
    linked by target "hmm_torus" in directory /home/fpxbondgraph/FpxStudio/ResearchStudio/Mocapy++-1.07/examples
    linked by target "hmm_vonmises" in directory /home/fpxbondgraph/FpxStudio/ResearchStudio/Mocapy++-1.07/examples
    linked by target "infenginehmm_example" in directory /home/fpxbondgraph/FpxStudio/ResearchStudio/Mocapy++-1.07/examples
    linked by target "infenginemm_example" in directory /home/fpxbondgraph/FpxStudio/ResearchStudio/Mocapy++-1.07/examples
    linked by target "mdarray" in directory /home/fpxbondgraph/FpxStudio/ResearchStudio/Mocapy++-1.07/examples
    linked by target "mlr-uni" in directory /home/fpxbondgraph/FpxStudio/ResearchStudio/Mocapy++-1.07/examples
    linked by target "infenginehmm_test" in directory /home/fpxbondgraph/FpxStudio/ResearchStudio/Mocapy++-1.07/tests
    linked by target "infenginemm_test" in directory /home/fpxbondgraph/FpxStudio/ResearchStudio/Mocapy++-1.07/tests
Boost_THREAD_LIBRARY (ADVANCED)
    linked by target "mlr-uni" in directory /home/fpxbondgraph/FpxStudio/ResearchStudio/Mocapy++-1.07/examples


-- Configuring incomplete, errors occurred!
fpxbondgraph@fpxbondgraph-Lenovo:~/FpxStudio/ResearchStudio/Mocapy++-1.07$ ls
autogen.sh  CMakeCache.txt  CMakeLists.txt  CPackConfig.cmake        Doxyfile  INSTALL  Makefile.am  src
ChangeLog   CMakeFiles      configure.ac    CPackSourceConfig.cmake  examples  LICENSE  MANUAL.pdf   tests
fpxbondgraph@fpxbondgraph-Lenovo:~/FpxStudio/ResearchStudio/Mocapy++-1.07$ emacs cMakeList.txt
Warning: Cannot convert string "-*-courier-medium-r-*-*-*-120-*-*-*-*-iso8859-*" to type FontStruct
Warning: Cannot convert string "-*-helvetica-medium-r-*--*-120-*-*-*-*-iso8859-1" to type FontStruct
fpxbondgraph@fpxbondgraph-Lenovo:~/FpxStudio/ResearchStudio/Mocapy++-1.07$ emacs cMakeLists.txt
Warning: Cannot convert string "-*-courier-medium-r-*-*-*-120-*-*-*-*-iso8859-*" to type FontStruct
Warning: Cannot convert string "-*-helvetica-medium-r-*--*-120-*-*-*-*-iso8859-1" to type FontStruct
fpxbondgraph@fpxbondgraph-Lenovo:~/FpxStudio/ResearchStudio/Mocapy++-1.07$ emacs CMakeLists.txt
Warning: Cannot convert string "-*-courier-medium-r-*-*-*-120-*-*-*-*-iso8859-*" to type FontStruct
Warning: Cannot convert string "-*-helvetica-medium-r-*--*-120-*-*-*-*-iso8859-1" to type FontStruct
fpxbondgraph@fpxbondgraph-Lenovo:~/FpxStudio/ResearchStudio/Mocapy++-1.07$ ls
autogen.sh  CMakeCache.txt  CMakeLists.txt  CPackConfig.cmake        Doxyfile  INSTALL  Makefile.am  src
ChangeLog   CMakeFiles      configure.ac    CPackSourceConfig.cmake  examples  LICENSE  MANUAL.pdf   tests
fpxbondgraph@fpxbondgraph-Lenovo:~/FpxStudio/ResearchStudio/Mocapy++-1.07$ cd src
fpxbondgraph@fpxbondgraph-Lenovo:~/FpxStudio/ResearchStudio/Mocapy++-1.07/src$ ls
bippo           Debug      Dummyrandom  GD         kent         mocapy.h     Profile  vonmises
CMakeFiles      dirichlet  framework    GDM        m4           multinomial  Release  vonmises2d
CMakeLists.txt  discrete   gaussian     inference  Makefile.am  poisson      utils
fpxbondgraph@fpxbondgraph-Lenovo:~/FpxStudio/ResearchStudio/Mocapy++-1.07/src$ emacs CMakeLists.txt 
Warning: Cannot convert string "-*-courier-medium-r-*-*-*-120-*-*-*-*-iso8859-*" to type FontStruct
Warning: Cannot convert string "-*-helvetica-medium-r-*--*-120-*-*-*-*-iso8859-1" to type FontStruct
fpxbondgraph@fpxbondgraph-Lenovo:~/FpxStudio/ResearchStudio/Mocapy++-1.07/src$ sudo apt-get install gfortan
正在读取软件包列表... 完成
正在分析软件包的依赖关系树       
正在读取状态信息... 完成       
E: 未发现软件包 gfortan
fpxbondgraph@fpxbondgraph-Lenovo:~/FpxStudio/ResearchStudio/Mocapy++-1.07/src$ cd ..
fpxbondgraph@fpxbondgraph-Lenovo:~/FpxStudio/ResearchStudio/Mocapy++-1.07$ ls
autogen.sh  CMakeCache.txt  CMakeLists.txt  CPackConfig.cmake        Doxyfile  INSTALL  Makefile.am  src
ChangeLog   CMakeFiles      configure.ac    CPackSourceConfig.cmake  examples  LICENSE  MANUAL.pdf   tests
fpxbondgraph@fpxbondgraph-Lenovo:~/FpxStudio/ResearchStudio/Mocapy++-1.07$ emacs CMakeLists.txt
Warning: Cannot convert string "-*-courier-medium-r-*-*-*-120-*-*-*-*-iso8859-*" to type FontStruct
Warning: Cannot convert string "-*-helvetica-medium-r-*--*-120-*-*-*-*-iso8859-1" to type FontStruct

***********************************************************************888

on boost



*******************************************************************************

sudo apt-get install libboost-all-dev
[sudo] password for fpxbondgraph: 
正在读取软件包列表... 完成
正在分析软件包的依赖关系树       
正在读取状态信息... 完成       
下列软件包是自动安装的并且现在不需要了:
  libboost-regex1.48.0 libboost-random1.48.0
使用'apt-get autoremove'来卸载它们
将会安装下列额外的软件包:
  gccxml libboost-date-time-dev libboost-date-time1.46-dev libboost-date-time1.46.1 libboost-dev libboost-filesystem-dev
  libboost-filesystem1.46-dev libboost-filesystem1.46.1 libboost-graph-dev libboost-graph-parallel-dev
  libboost-graph-parallel1.46-dev libboost-graph-parallel1.46.1 libboost-graph1.46-dev libboost-graph1.46.1 libboost-iostreams-dev
  libboost-iostreams1.46-dev libboost-iostreams1.46.1 libboost-math-dev libboost-math1.46-dev libboost-math1.46.1 libboost-mpi-dev
  libboost-mpi-python-dev libboost-mpi1.46-dev libboost-mpi1.46.1 libboost-program-options-dev libboost-program-options1.46-dev
  libboost-program-options1.46.1 libboost-python-dev libboost-python1.46-dev libboost-python1.46.1 libboost-regex-dev
  libboost-regex1.46-dev libboost-regex1.46.1 libboost-serialization-dev libboost-serialization1.46-dev libboost-signals-dev
  libboost-signals1.46-dev libboost-signals1.46.1 libboost-system-dev libboost-system1.46-dev libboost-system1.46.1
  libboost-test-dev libboost-test1.46-dev libboost-test1.46.1 libboost-thread-dev libboost-thread1.46-dev libboost-thread1.46.1
  libboost-wave-dev libboost-wave1.46-dev libboost-wave1.46.1 libboost1.46-dev libibverbs-dev libopenmpi-dev mpi-default-dev
  openmpi-common
建议安装的软件包:
  python3 libboost-random1.46-dev doxygen default-jdk fop
下列软件包将被【卸载】:
  libboost-iostreams1.48-dev libboost-random1.48-dev libboost-regex1.48-dev libboost1.48-dbg libboost1.48-dev
下列【新】软件包将被安装:
  gccxml libboost-all-dev libboost-date-time-dev libboost-date-time1.46-dev libboost-date-time1.46.1 libboost-dev
  libboost-filesystem-dev libboost-filesystem1.46-dev libboost-filesystem1.46.1 libboost-graph-dev libboost-graph-parallel-dev
  libboost-graph-parallel1.46-dev libboost-graph-parallel1.46.1 libboost-graph1.46-dev libboost-graph1.46.1 libboost-iostreams-dev
  libboost-iostreams1.46-dev libboost-iostreams1.46.1 libboost-math-dev libboost-math1.46-dev libboost-math1.46.1 libboost-mpi-dev
  libboost-mpi-python-dev libboost-mpi1.46-dev libboost-mpi1.46.1 libboost-program-options-dev libboost-program-options1.46-dev
  libboost-program-options1.46.1 libboost-python-dev libboost-python1.46-dev libboost-python1.46.1 libboost-regex-dev
  libboost-regex1.46-dev libboost-regex1.46.1 libboost-serialization-dev libboost-serialization1.46-dev libboost-signals-dev
  libboost-signals1.46-dev libboost-signals1.46.1 libboost-system-dev libboost-system1.46-dev libboost-system1.46.1
  libboost-test-dev libboost-test1.46-dev libboost-test1.46.1 libboost-thread-dev libboost-thread1.46-dev libboost-thread1.46.1
  libboost-wave-dev libboost-wave1.46-dev libboost-wave1.46.1 libboost1.46-dev libibverbs-dev libopenmpi-dev mpi-default-dev
  openmpi-common
升级了 0 个软件包,新安装了 56 个软件包,要卸载 5 个软件包,有 284 个软件包未被升级。
需要下载 12.4 MB/21.3 MB 的软件包。
解压缩后将会空出 87.6 MB 的空间。
您希望继续执行吗?[Y/n]y
获取:1 http://cn.archive.ubuntu.com/ubuntu/ precise/main libboost1.46-dev i386 1.46.1-7ubuntu3 [7,641 kB]
获取:2 http://cn.archive.ubuntu.com/ubuntu/ precise/main libboost-dev i386 1.48.0.2 [2,820 B]                                       
获取:3 http://cn.archive.ubuntu.com/ubuntu/ precise/main libboost-serialization1.46-dev i386 1.46.1-7ubuntu3 [261 kB]               
获取:4 http://cn.archive.ubuntu.com/ubuntu/ precise/universe libboost-date-time1.46-dev i386 1.46.1-7ubuntu3 [24.5 kB]              
获取:5 http://cn.archive.ubuntu.com/ubuntu/ precise/universe libboost-date-time-dev i386 1.48.0.2 [2,704 B]                         
获取:6 http://cn.archive.ubuntu.com/ubuntu/ precise/universe libboost-system1.46-dev i386 1.46.1-7ubuntu3 [12.0 kB]                 
获取:7 http://cn.archive.ubuntu.com/ubuntu/ precise/universe libboost-filesystem1.46-dev i386 1.46.1-7ubuntu3 [76.3 kB]             
获取:8 http://cn.archive.ubuntu.com/ubuntu/ precise/universe libboost-filesystem-dev i386 1.48.0.2 [2,722 B]                        
获取:9 http://cn.archive.ubuntu.com/ubuntu/ precise/main libboost-test1.46-dev i386 1.46.1-7ubuntu3 [568 kB]                        
获取:10 http://cn.archive.ubuntu.com/ubuntu/ precise/main libboost-graph1.46-dev i386 1.46.1-7ubuntu3 [136 kB]                      
获取:11 http://cn.archive.ubuntu.com/ubuntu/ precise/universe libboost-graph-dev i386 1.48.0.2 [2,808 B]                            
获取:12 http://cn.archive.ubuntu.com/ubuntu/ precise/universe libboost-graph-parallel1.46-dev i386 1.46.1-7ubuntu3 [110 kB]         
获取:13 http://cn.archive.ubuntu.com/ubuntu/ precise/universe libboost-graph-parallel-dev i386 1.48.0.2 [2,850 B]                   
获取:14 http://cn.archive.ubuntu.com/ubuntu/ precise/main libboost-regex1.46-dev i386 1.46.1-7ubuntu3 [543 kB]                      
获取:15 http://cn.archive.ubuntu.com/ubuntu/ precise/main libboost-iostreams1.46-dev i386 1.46.1-7ubuntu3 [49.8 kB]                 
获取:16 http://cn.archive.ubuntu.com/ubuntu/ precise/main libboost-iostreams-dev i386 1.48.0.2 [2,698 B]                            
获取:17 http://cn.archive.ubuntu.com/ubuntu/ precise/universe libboost-math1.46-dev i386 1.46.1-7ubuntu3 [1,431 kB]                 
获取:18 http://cn.archive.ubuntu.com/ubuntu/ precise/universe libboost-math-dev i386 1.48.0.2 [2,914 B]                             
获取:19 http://cn.archive.ubuntu.com/ubuntu/ precise/universe libboost-mpi1.46-dev i386 1.46.1-7ubuntu3 [475 kB]                    
获取:20 http://cn.archive.ubuntu.com/ubuntu/ precise/universe libboost-mpi-dev i386 1.48.0.2 [2,802 B]                              
获取:21 http://cn.archive.ubuntu.com/ubuntu/ precise/universe libboost-mpi-python-dev i386 1.48.0.2 [2,836 B]                       
获取:22 http://cn.archive.ubuntu.com/ubuntu/ precise/main libboost-program-options1.46-dev i386 1.46.1-7ubuntu3 [200 kB]            
获取:23 http://cn.archive.ubuntu.com/ubuntu/ precise/main libboost-program-options-dev i386 1.48.0.2 [2,722 B]                      
获取:24 http://cn.archive.ubuntu.com/ubuntu/ precise/main libboost-python1.46-dev i386 1.46.1-7ubuntu3 [314 kB]                     
获取:25 http://cn.archive.ubuntu.com/ubuntu/ precise/main libboost-python-dev i386 1.48.0.2 [3,100 B]                               
获取:26 http://cn.archive.ubuntu.com/ubuntu/ precise/universe libboost-regex-dev i386 1.48.0.2 [2,966 B]                            
获取:27 http://cn.archive.ubuntu.com/ubuntu/ precise/main libboost-serialization-dev i386 1.48.0.2 [2,936 B]                        
获取:28 http://cn.archive.ubuntu.com/ubuntu/ precise/universe libboost-signals1.46-dev i386 1.46.1-7ubuntu3 [38.3 kB]               
获取:29 http://cn.archive.ubuntu.com/ubuntu/ precise/universe libboost-signals-dev i386 1.48.0.2 [2,772 B]                          
获取:30 http://cn.archive.ubuntu.com/ubuntu/ precise/universe libboost-system-dev i386 1.48.0.2 [2,844 B]                           
获取:31 http://cn.archive.ubuntu.com/ubuntu/ precise/main libboost-test-dev i386 1.48.0.2 [2,746 B]                                 
获取:32 http://cn.archive.ubuntu.com/ubuntu/ precise/universe libboost-thread1.46-dev i386 1.46.1-7ubuntu3 [38.5 kB]                
获取:33 http://cn.archive.ubuntu.com/ubuntu/ precise/universe libboost-thread-dev i386 1.48.0.2 [2,732 B]                           
获取:34 http://cn.archive.ubuntu.com/ubuntu/ precise/universe libboost-wave1.46-dev i386 1.46.1-7ubuntu3 [440 kB]                   
获取:35 http://cn.archive.ubuntu.com/ubuntu/ precise/universe libboost-wave-dev i386 1.48.0.2 [2,746 B]                             
获取:36 http://cn.archive.ubuntu.com/ubuntu/ precise/universe libboost-all-dev i386 1.48.0.2 [2,018 B]                              
下载 12.4 MB,耗时 10秒 (1,234 kB/s)                                                                                                 
正在从软件包中解出模板:100%
(正在读取数据库 ... 系统当前共安装有 247979 个文件和目录。)
正在卸载 libboost-iostreams1.48-dev ...
正在卸载 libboost-random1.48-dev ...
正在卸载 libboost-regex1.48-dev ...
正在卸载 libboost1.48-dbg ...
正在卸载 libboost1.48-dev ...
正在处理用于 man-db 的触发器...
Selecting previously unselected package gccxml.
(正在读取数据库 ... 系统当前共安装有 238003 个文件和目录。)
正在解压缩 gccxml (从 .../gccxml_0.9.0+cvs20111013-1_i386.deb) ...
Selecting previously unselected package libboost1.46-dev.
正在解压缩 libboost1.46-dev (从 .../libboost1.46-dev_1.46.1-7ubuntu3_i386.deb) ...
Selecting previously unselected package libboost-dev.
正在解压缩 libboost-dev (从 .../libboost-dev_1.48.0.2_i386.deb) ...
Selecting previously unselected package libboost-date-time1.46.1.
正在解压缩 libboost-date-time1.46.1 (从 .../libboost-date-time1.46.1_1.46.1-7ubuntu3_i386.deb) ...
Selecting previously unselected package libboost-serialization1.46-dev.
正在解压缩 libboost-serialization1.46-dev (从 .../libboost-serialization1.46-dev_1.46.1-7ubuntu3_i386.deb) ...
Selecting previously unselected package libboost-date-time1.46-dev.
正在解压缩 libboost-date-time1.46-dev (从 .../libboost-date-time1.46-dev_1.46.1-7ubuntu3_i386.deb) ...
Selecting previously unselected package libboost-date-time-dev.
正在解压缩 libboost-date-time-dev (从 .../libboost-date-time-dev_1.48.0.2_i386.deb) ...
Selecting previously unselected package libboost-system1.46.1.
正在解压缩 libboost-system1.46.1 (从 .../libboost-system1.46.1_1.46.1-7ubuntu3_i386.deb) ...
Selecting previously unselected package libboost-filesystem1.46.1.
正在解压缩 libboost-filesystem1.46.1 (从 .../libboost-filesystem1.46.1_1.46.1-7ubuntu3_i386.deb) ...
Selecting previously unselected package libboost-system1.46-dev.
正在解压缩 libboost-system1.46-dev (从 .../libboost-system1.46-dev_1.46.1-7ubuntu3_i386.deb) ...
Selecting previously unselected package libboost-filesystem1.46-dev.
正在解压缩 libboost-filesystem1.46-dev (从 .../libboost-filesystem1.46-dev_1.46.1-7ubuntu3_i386.deb) ...
Selecting previously unselected package libboost-filesystem-dev.
正在解压缩 libboost-filesystem-dev (从 .../libboost-filesystem-dev_1.48.0.2_i386.deb) ...
Selecting previously unselected package libboost-test1.46.1.
正在解压缩 libboost-test1.46.1 (从 .../libboost-test1.46.1_1.46.1-7ubuntu3_i386.deb) ...
Selecting previously unselected package libboost-test1.46-dev.
正在解压缩 libboost-test1.46-dev (从 .../libboost-test1.46-dev_1.46.1-7ubuntu3_i386.deb) ...
Selecting previously unselected package libboost-graph1.46-dev.
正在解压缩 libboost-graph1.46-dev (从 .../libboost-graph1.46-dev_1.46.1-7ubuntu3_i386.deb) ...
Selecting previously unselected package libboost-graph-dev.
正在解压缩 libboost-graph-dev (从 .../libboost-graph-dev_1.48.0.2_i386.deb) ...
Selecting previously unselected package libboost-graph-parallel1.46-dev.
正在解压缩 libboost-graph-parallel1.46-dev (从 .../libboost-graph-parallel1.46-dev_1.46.1-7ubuntu3_i386.deb) ...
Selecting previously unselected package libboost-graph-parallel-dev.
正在解压缩 libboost-graph-parallel-dev (从 .../libboost-graph-parallel-dev_1.48.0.2_i386.deb) ...
Selecting previously unselected package libboost-regex1.46.1.
正在解压缩 libboost-regex1.46.1 (从 .../libboost-regex1.46.1_1.46.1-7ubuntu3_i386.deb) ...
Selecting previously unselected package libboost-regex1.46-dev.
正在解压缩 libboost-regex1.46-dev (从 .../libboost-regex1.46-dev_1.46.1-7ubuntu3_i386.deb) ...
Selecting previously unselected package libboost-iostreams1.46.1.
正在解压缩 libboost-iostreams1.46.1 (从 .../libboost-iostreams1.46.1_1.46.1-7ubuntu3_i386.deb) ...
Selecting previously unselected package libboost-iostreams1.46-dev.
正在解压缩 libboost-iostreams1.46-dev (从 .../libboost-iostreams1.46-dev_1.46.1-7ubuntu3_i386.deb) ...
Selecting previously unselected package libboost-iostreams-dev.
正在解压缩 libboost-iostreams-dev (从 .../libboost-iostreams-dev_1.48.0.2_i386.deb) ...
Selecting previously unselected package libboost-math1.46.1.
正在解压缩 libboost-math1.46.1 (从 .../libboost-math1.46.1_1.46.1-7ubuntu3_i386.deb) ...
Selecting previously unselected package libboost-math1.46-dev.
正在解压缩 libboost-math1.46-dev (从 .../libboost-math1.46-dev_1.46.1-7ubuntu3_i386.deb) ...
Selecting previously unselected package libboost-math-dev.
正在解压缩 libboost-math-dev (从 .../libboost-math-dev_1.48.0.2_i386.deb) ...
Selecting previously unselected package libboost-mpi1.46.1.
正在解压缩 libboost-mpi1.46.1 (从 .../libboost-mpi1.46.1_1.46.1-7ubuntu3_i386.deb) ...
Selecting previously unselected package openmpi-common.
正在解压缩 openmpi-common (从 .../openmpi-common_1.4.3-2.1ubuntu3_all.deb) ...
Selecting previously unselected package libibverbs-dev.
正在解压缩 libibverbs-dev (从 .../libibverbs-dev_1.1.5-1ubuntu1_i386.deb) ...
Selecting previously unselected package libopenmpi-dev.
正在解压缩 libopenmpi-dev (从 .../libopenmpi-dev_1.4.3-2.1ubuntu3_i386.deb) ...
Selecting previously unselected package mpi-default-dev.
正在解压缩 mpi-default-dev (从 .../mpi-default-dev_1.0.1_i386.deb) ...
Selecting previously unselected package libboost-mpi1.46-dev.
正在解压缩 libboost-mpi1.46-dev (从 .../libboost-mpi1.46-dev_1.46.1-7ubuntu3_i386.deb) ...
Selecting previously unselected package libboost-mpi-dev.
正在解压缩 libboost-mpi-dev (从 .../libboost-mpi-dev_1.48.0.2_i386.deb) ...
Selecting previously unselected package libboost-mpi-python-dev.
正在解压缩 libboost-mpi-python-dev (从 .../libboost-mpi-python-dev_1.48.0.2_i386.deb) ...
Selecting previously unselected package libboost-program-options1.46.1.
正在解压缩 libboost-program-options1.46.1 (从 .../libboost-program-options1.46.1_1.46.1-7ubuntu3_i386.deb) ...
Selecting previously unselected package libboost-program-options1.46-dev.
正在解压缩 libboost-program-options1.46-dev (从 .../libboost-program-options1.46-dev_1.46.1-7ubuntu3_i386.deb) ...
Selecting previously unselected package libboost-program-options-dev.
正在解压缩 libboost-program-options-dev (从 .../libboost-program-options-dev_1.48.0.2_i386.deb) ...
Selecting previously unselected package libboost-python1.46.1.
正在解压缩 libboost-python1.46.1 (从 .../libboost-python1.46.1_1.46.1-7ubuntu3_i386.deb) ...
Selecting previously unselected package libboost-python1.46-dev.
正在解压缩 libboost-python1.46-dev (从 .../libboost-python1.46-dev_1.46.1-7ubuntu3_i386.deb) ...
Selecting previously unselected package libboost-python-dev.
正在解压缩 libboost-python-dev (从 .../libboost-python-dev_1.48.0.2_i386.deb) ...
Selecting previously unselected package libboost-regex-dev.
正在解压缩 libboost-regex-dev (从 .../libboost-regex-dev_1.48.0.2_i386.deb) ...
Selecting previously unselected package libboost-serialization-dev.
正在解压缩 libboost-serialization-dev (从 .../libboost-serialization-dev_1.48.0.2_i386.deb) ...
Selecting previously unselected package libboost-signals1.46.1.
正在解压缩 libboost-signals1.46.1 (从 .../libboost-signals1.46.1_1.46.1-7ubuntu3_i386.deb) ...
Selecting previously unselected package libboost-signals1.46-dev.
正在解压缩 libboost-signals1.46-dev (从 .../libboost-signals1.46-dev_1.46.1-7ubuntu3_i386.deb) ...
Selecting previously unselected package libboost-signals-dev.
正在解压缩 libboost-signals-dev (从 .../libboost-signals-dev_1.48.0.2_i386.deb) ...
Selecting previously unselected package libboost-system-dev.
正在解压缩 libboost-system-dev (从 .../libboost-system-dev_1.48.0.2_i386.deb) ...
Selecting previously unselected package libboost-test-dev.
正在解压缩 libboost-test-dev (从 .../libboost-test-dev_1.48.0.2_i386.deb) ...
Selecting previously unselected package libboost-thread1.46.1.
正在解压缩 libboost-thread1.46.1 (从 .../libboost-thread1.46.1_1.46.1-7ubuntu3_i386.deb) ...
Selecting previously unselected package libboost-thread1.46-dev.
正在解压缩 libboost-thread1.46-dev (从 .../libboost-thread1.46-dev_1.46.1-7ubuntu3_i386.deb) ...
Selecting previously unselected package libboost-thread-dev.
正在解压缩 libboost-thread-dev (从 .../libboost-thread-dev_1.48.0.2_i386.deb) ...
Selecting previously unselected package libboost-wave1.46.1.
正在解压缩 libboost-wave1.46.1 (从 .../libboost-wave1.46.1_1.46.1-7ubuntu3_i386.deb) ...
Selecting previously unselected package libboost-wave1.46-dev.
正在解压缩 libboost-wave1.46-dev (从 .../libboost-wave1.46-dev_1.46.1-7ubuntu3_i386.deb) ...
Selecting previously unselected package libboost-wave-dev.
正在解压缩 libboost-wave-dev (从 .../libboost-wave-dev_1.48.0.2_i386.deb) ...
Selecting previously unselected package libboost-all-dev.
正在解压缩 libboost-all-dev (从 .../libboost-all-dev_1.48.0.2_i386.deb) ...
Selecting previously unselected package libboost-graph-parallel1.46.1.
正在解压缩 libboost-graph-parallel1.46.1 (从 .../libboost-graph-parallel1.46.1_1.46.1-7ubuntu3_i386.deb) ...
Selecting previously unselected package libboost-graph1.46.1.
正在解压缩 libboost-graph1.46.1 (从 .../libboost-graph1.46.1_1.46.1-7ubuntu3_i386.deb) ...
正在处理用于 man-db 的触发器...
正在设置 gccxml (0.9.0+cvs20111013-1) ...
正在设置 libboost1.46-dev (1.46.1-7ubuntu3) ...
正在设置 libboost-dev (1.48.0.2) ...
正在设置 libboost-date-time1.46.1 (1.46.1-7ubuntu3) ...
正在设置 libboost-serialization1.46-dev (1.46.1-7ubuntu3) ...
正在设置 libboost-date-time1.46-dev (1.46.1-7ubuntu3) ...
正在设置 libboost-date-time-dev (1.48.0.2) ...
正在设置 libboost-system1.46.1 (1.46.1-7ubuntu3) ...
正在设置 libboost-filesystem1.46.1 (1.46.1-7ubuntu3) ...
正在设置 libboost-system1.46-dev (1.46.1-7ubuntu3) ...
正在设置 libboost-filesystem1.46-dev (1.46.1-7ubuntu3) ...
正在设置 libboost-filesystem-dev (1.48.0.2) ...
正在设置 libboost-test1.46.1 (1.46.1-7ubuntu3) ...
正在设置 libboost-test1.46-dev (1.46.1-7ubuntu3) ...
正在设置 libboost-graph1.46-dev (1.46.1-7ubuntu3) ...
正在设置 libboost-graph-dev (1.48.0.2) ...
正在设置 libboost-graph-parallel1.46-dev (1.46.1-7ubuntu3) ...
正在设置 libboost-graph-parallel-dev (1.48.0.2) ...
正在设置 libboost-regex1.46.1 (1.46.1-7ubuntu3) ...
正在设置 libboost-regex1.46-dev (1.46.1-7ubuntu3) ...
正在设置 libboost-iostreams1.46.1 (1.46.1-7ubuntu3) ...
正在设置 libboost-iostreams1.46-dev (1.46.1-7ubuntu3) ...
正在设置 libboost-iostreams-dev (1.48.0.2) ...
正在设置 libboost-math1.46.1 (1.46.1-7ubuntu3) ...
正在设置 libboost-math1.46-dev (1.46.1-7ubuntu3) ...
正在设置 libboost-math-dev (1.48.0.2) ...
正在设置 libboost-mpi1.46.1 (1.46.1-7ubuntu3) ...
正在设置 openmpi-common (1.4.3-2.1ubuntu3) ...
正在设置 libibverbs-dev (1.1.5-1ubuntu1) ...
正在设置 libopenmpi-dev (1.4.3-2.1ubuntu3) ...
update-alternatives: 使用 /usr/lib/openmpi/include 来提供 /usr/include/mpi (mpi),于 自动模式 中。
正在设置 mpi-default-dev (1.0.1) ...
正在设置 libboost-mpi1.46-dev (1.46.1-7ubuntu3) ...
正在设置 libboost-mpi-dev (1.48.0.2) ...
正在设置 libboost-mpi-python-dev (1.48.0.2) ...
正在设置 libboost-program-options1.46.1 (1.46.1-7ubuntu3) ...
正在设置 libboost-program-options1.46-dev (1.46.1-7ubuntu3) ...
正在设置 libboost-program-options-dev (1.48.0.2) ...
正在设置 libboost-python1.46.1 (1.46.1-7ubuntu3) ...
正在设置 libboost-python1.46-dev (1.46.1-7ubuntu3) ...
正在设置 libboost-python-dev (1.48.0.2) ...
正在设置 libboost-regex-dev (1.48.0.2) ...
正在设置 libboost-serialization-dev (1.48.0.2) ...
正在设置 libboost-signals1.46.1 (1.46.1-7ubuntu3) ...
正在设置 libboost-signals1.46-dev (1.46.1-7ubuntu3) ...
正在设置 libboost-signals-dev (1.48.0.2) ...
正在设置 libboost-system-dev (1.48.0.2) ...
正在设置 libboost-test-dev (1.48.0.2) ...
正在设置 libboost-thread1.46.1 (1.46.1-7ubuntu3) ...
正在设置 libboost-thread1.46-dev (1.46.1-7ubuntu3) ...
正在设置 libboost-thread-dev (1.48.0.2) ...
正在设置 libboost-wave1.46.1 (1.46.1-7ubuntu3) ...
正在设置 libboost-wave1.46-dev (1.46.1-7ubuntu3) ...
正在设置 libboost-wave-dev (1.48.0.2) ...
正在设置 libboost-all-dev (1.48.0.2) ...
正在设置 libboost-graph-parallel1.46.1 (1.46.1-7ubuntu3) ...
正在设置 libboost-graph1.46.1 (1.46.1-7ubuntu3) ...
正在处理用于 libc-bin 的触发器...
ldconfig deferred processing now taking place
fpxbondgraph@fpxbondgraph-Lenovo:~/FpxStudio/ResearchStudio/Mocapy++-1.07$ cmake .
-- Boost version: 1.46.1
-- Found the following Boost libraries:
--   serialization
--   program_options
--   thread
running /usr/bin/cmake -E create_symlink "/home/fpxbondgraph/FpxStudio/ResearchStudio/Mocapy++-1.07/examples/data" "/home/fpxbondgraph/FpxStudio/ResearchStudio/Mocapy++-1.07/examples/data"  2>&1
-- Could NOT find Boost
-- Could NOT find Boost
-- Could NOT find Boost
-- Could NOT find Boost
-- Could NOT find Boost
-- Could NOT find Boost
-- Configuring done
-- Generating done

********************************************************************************************************************888

http://stackoverflow.com/questions/24173330/cmake-is-not-able-to-find-boost-libraries

*************************************************************************************************************************888

a)新历德,全删除boost

at this time:

fpxbondgraph@fpxbondgraph-Lenovo:~/FpxStudio/ResearchStudio/Mocapy++-1.07$ cmake .
running /usr/bin/cmake -E create_symlink "/home/fpxbondgraph/FpxStudio/ResearchStudio/Mocapy++-1.07/examples/data" "/home/fpxbondgraph/FpxStudio/ResearchStudio/Mocapy++-1.07/examples/data"  2>&1
CMake Error at /usr/share/cmake-2.8/Modules/FindBoost.cmake:694 (file):
  file Internal CMake error when trying to open file:
  /usr/include/boost/version.hpp for reading.
Call Stack (most recent call first):
  tests/CMakeLists.txt:9 (FIND_PACKAGE)




CMake Error at /usr/share/cmake-2.8/Modules/FindBoost.cmake:707 (math):
  math cannot parse the expression: " / 100000": syntax error, unexpected
  exp_DIVIDE, expecting exp_OPENPARENT or exp_NUMBER (2)
Call Stack (most recent call first):
  tests/CMakeLists.txt:9 (FIND_PACKAGE)




CMake Error at /usr/share/cmake-2.8/Modules/FindBoost.cmake:708 (math):
  math cannot parse the expression: " / 100 % 1000": syntax error, unexpected
  exp_DIVIDE, expecting exp_OPENPARENT or exp_NUMBER (2)
Call Stack (most recent call first):
  tests/CMakeLists.txt:9 (FIND_PACKAGE)




CMake Error at /usr/share/cmake-2.8/Modules/FindBoost.cmake:709 (math):
  math cannot parse the expression: " % 100": syntax error, unexpected
  exp_MOD, expecting exp_OPENPARENT or exp_NUMBER (2)
Call Stack (most recent call first):
  tests/CMakeLists.txt:9 (FIND_PACKAGE)




-- Could NOT find Boost
CMake Error at /usr/share/cmake-2.8/Modules/FindBoost.cmake:694 (file):
  file Internal CMake error when trying to open file:
  /usr/include/boost/version.hpp for reading.
Call Stack (most recent call first):
  tests/CMakeLists.txt:11 (FIND_PACKAGE)




CMake Error at /usr/share/cmake-2.8/Modules/FindBoost.cmake:707 (math):
  math cannot parse the expression: " / 100000": syntax error, unexpected
  exp_DIVIDE, expecting exp_OPENPARENT or exp_NUMBER (2)
Call Stack (most recent call first):
  tests/CMakeLists.txt:11 (FIND_PACKAGE)




CMake Error at /usr/share/cmake-2.8/Modules/FindBoost.cmake:708 (math):
  math cannot parse the expression: " / 100 % 1000": syntax error, unexpected
  exp_DIVIDE, expecting exp_OPENPARENT or exp_NUMBER (2)
Call Stack (most recent call first):
  tests/CMakeLists.txt:11 (FIND_PACKAGE)




CMake Error at /usr/share/cmake-2.8/Modules/FindBoost.cmake:709 (math):
  math cannot parse the expression: " % 100": syntax error, unexpected
  exp_MOD, expecting exp_OPENPARENT or exp_NUMBER (2)
Call Stack (most recent call first):
  tests/CMakeLists.txt:11 (FIND_PACKAGE)




-- Could NOT find Boost
CMake Error at /usr/share/cmake-2.8/Modules/FindBoost.cmake:694 (file):
  file Internal CMake error when trying to open file:
  /usr/include/boost/version.hpp for reading.
Call Stack (most recent call first):
  tests/CMakeLists.txt:14 (FIND_PACKAGE)




CMake Error at /usr/share/cmake-2.8/Modules/FindBoost.cmake:707 (math):
  math cannot parse the expression: " / 100000": syntax error, unexpected
  exp_DIVIDE, expecting exp_OPENPARENT or exp_NUMBER (2)
Call Stack (most recent call first):
  tests/CMakeLists.txt:14 (FIND_PACKAGE)




CMake Error at /usr/share/cmake-2.8/Modules/FindBoost.cmake:708 (math):
  math cannot parse the expression: " / 100 % 1000": syntax error, unexpected
  exp_DIVIDE, expecting exp_OPENPARENT or exp_NUMBER (2)
Call Stack (most recent call first):
  tests/CMakeLists.txt:14 (FIND_PACKAGE)




CMake Error at /usr/share/cmake-2.8/Modules/FindBoost.cmake:709 (math):
  math cannot parse the expression: " % 100": syntax error, unexpected
  exp_MOD, expecting exp_OPENPARENT or exp_NUMBER (2)
Call Stack (most recent call first):
  tests/CMakeLists.txt:14 (FIND_PACKAGE)




-- Could NOT find Boost
CMake Error at /usr/share/cmake-2.8/Modules/FindBoost.cmake:694 (file):
  file Internal CMake error when trying to open file:
  /usr/include/boost/version.hpp for reading.
Call Stack (most recent call first):
  tests/CMakeLists.txt:17 (FIND_PACKAGE)




CMake Error at /usr/share/cmake-2.8/Modules/FindBoost.cmake:707 (math):
  math cannot parse the expression: " / 100000": syntax error, unexpected
  exp_DIVIDE, expecting exp_OPENPARENT or exp_NUMBER (2)
Call Stack (most recent call first):
  tests/CMakeLists.txt:17 (FIND_PACKAGE)




CMake Error at /usr/share/cmake-2.8/Modules/FindBoost.cmake:708 (math):
  math cannot parse the expression: " / 100 % 1000": syntax error, unexpected
  exp_DIVIDE, expecting exp_OPENPARENT or exp_NUMBER (2)
Call Stack (most recent call first):
  tests/CMakeLists.txt:17 (FIND_PACKAGE)




CMake Error at /usr/share/cmake-2.8/Modules/FindBoost.cmake:709 (math):
  math cannot parse the expression: " % 100": syntax error, unexpected
  exp_MOD, expecting exp_OPENPARENT or exp_NUMBER (2)
Call Stack (most recent call first):
  tests/CMakeLists.txt:17 (FIND_PACKAGE)




-- Could NOT find Boost
CMake Error at /usr/share/cmake-2.8/Modules/FindBoost.cmake:694 (file):
  file Internal CMake error when trying to open file:
  /usr/include/boost/version.hpp for reading.
Call Stack (most recent call first):
  tests/CMakeLists.txt:23 (FIND_PACKAGE)




CMake Error at /usr/share/cmake-2.8/Modules/FindBoost.cmake:707 (math):
  math cannot parse the expression: " / 100000": syntax error, unexpected
  exp_DIVIDE, expecting exp_OPENPARENT or exp_NUMBER (2)
Call Stack (most recent call first):
  tests/CMakeLists.txt:23 (FIND_PACKAGE)




CMake Error at /usr/share/cmake-2.8/Modules/FindBoost.cmake:708 (math):
  math cannot parse the expression: " / 100 % 1000": syntax error, unexpected
  exp_DIVIDE, expecting exp_OPENPARENT or exp_NUMBER (2)
Call Stack (most recent call first):
  tests/CMakeLists.txt:23 (FIND_PACKAGE)




CMake Error at /usr/share/cmake-2.8/Modules/FindBoost.cmake:709 (math):
  math cannot parse the expression: " % 100": syntax error, unexpected
  exp_MOD, expecting exp_OPENPARENT or exp_NUMBER (2)
Call Stack (most recent call first):
  tests/CMakeLists.txt:23 (FIND_PACKAGE)




-- Could NOT find Boost
CMake Error at /usr/share/cmake-2.8/Modules/FindBoost.cmake:694 (file):
  file Internal CMake error when trying to open file:
  /usr/include/boost/version.hpp for reading.
Call Stack (most recent call first):
  tests/CMakeLists.txt:29 (FIND_PACKAGE)




CMake Error at /usr/share/cmake-2.8/Modules/FindBoost.cmake:707 (math):
  math cannot parse the expression: " / 100000": syntax error, unexpected
  exp_DIVIDE, expecting exp_OPENPARENT or exp_NUMBER (2)
Call Stack (most recent call first):
  tests/CMakeLists.txt:29 (FIND_PACKAGE)




CMake Error at /usr/share/cmake-2.8/Modules/FindBoost.cmake:708 (math):
  math cannot parse the expression: " / 100 % 1000": syntax error, unexpected
  exp_DIVIDE, expecting exp_OPENPARENT or exp_NUMBER (2)
Call Stack (most recent call first):
  tests/CMakeLists.txt:29 (FIND_PACKAGE)




CMake Error at /usr/share/cmake-2.8/Modules/FindBoost.cmake:709 (math):
  math cannot parse the expression: " % 100": syntax error, unexpected
  exp_MOD, expecting exp_OPENPARENT or exp_NUMBER (2)
Call Stack (most recent call first):
  tests/CMakeLists.txt:29 (FIND_PACKAGE)




-- Could NOT find Boost
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
Boost_SERIALIZATION_LIBRARY (ADVANCED)
    linked by target "infenginehmm_test" in directory /home/fpxbondgraph/FpxStudio/ResearchStudio/Mocapy++-1.07/tests
    linked by target "infenginemm_test" in directory /home/fpxbondgraph/FpxStudio/ResearchStudio/Mocapy++-1.07/tests


-- Configuring incomplete, errors occurred!
fpxbondgraph@fpxbondgraph-Lenovo:~/FpxStudio/ResearchStudio/Mocapy++-1.07$ 



b)编译boost by myself,because:"

-
PLEASE NOTE: It is important that the boost libraries are compiled using the same compiler as you are using for Mocapy++. The filenames of the boost libraries contains the compiler name and compiler version that they were built with.
---********************这个网址看一下

http://wenku.baidu.com/link?url=PfGNtuOxA9Ihy2QRZvxfuA63qmVPrEkuCBeT96AJmvxIUTVd3ZWpkDfOISKv5VBAdyUpPw_SngB07brgegtu2nUEOIY6iDKuo6oOAKWqtyC


*******http://www.cnblogs.com/lidabo/p/3805487.html***********************those shoulud be referenced

 http://www.cnblogs.com/lidabo/p/3805487.html

http://blog.csdn.net/a623891391/article/details/44023649



http://www.cppblog.com/Error/archive/2014/01/15/205384.html


0 0
原创粉丝点击