最近开始在Ubuntu上(我是在虚拟机上跑的)跑GLSLIM模型,从https://github.com/echristakopoulou/glslim下载了glslim.tar.gz。然后开始根据readme来跑。
前提
需要安装gcc(我安装的4.4), CMake (我安装的2.8), gsl and openmip。根据网上的一些教程安装好了这些,这里面也有踩到一些坑,我前面的博客也有写。
第二步
在readme里有如下的一句话:
First, the the BCLS library needs to be compiled and then we copy the
necessary files to the folder BCLSlib:
看起来是需要让我对文件中的bcsl1.0进行安装操作,但我在网上搜了下并没找到有关于这个的安装教程,但无非就是./configure&&make&&make install这一系列。(后来我在bcsl里的readme里找的教程也就是这样的)
但按这一套下来,报了很多错。我就仔细看了下bcsl1.0里的readme发现还需要安装一些前提软件:
A C compiler. The BCLS sources are written in ISO (C99) conforming C.
GNU make. Probably other versions of make will work with the provided Makefile’s, but I haven’t tri