Como instalar o RevKit

1

Estou tentando instalar um software chamado RevKit no Ubuntu 12.10 e as seguintes instruções 1 precisam ser seguidas:

RevKit can be downloaded from the www.revkit.org website. Opening a Bash shell and assuming that the file revkit-1.3.tar.gz is in the current working directory, first the package needs to be unpacked:

tar xvfz revkit−1.3.tar . gz
cd revkit−1.3

Then, you can build the toolkit. The build process is divided into two scripts. First, the RevKit environment is created using the bootstrap script. Afterwards, the RevKit algorithms are built using the build script. This has the benefit of running the second script only if changes have been made on the algorithms but not on the environment. The bootstrap script should only be called once at the beginning. More precisely, first run the bootstrap script:

./make.py bootstrap  

This will download and compile all dependencies automatically. For that purpose, compiling boost takes some time. If you already have installed boost using the distribution’s package manager, the option -DBOOST PATH can be used to specify its path, e.g. -DBOOST PATH=/usr. Alternatively you can specify the boost include and libs path separately by using –boost, –boost-include-dir and –boost-lib-dir as arguments. Please make sure that your version of boost satisfies the requirements. After bootstrapping the environment, the build script needs to be executed. To run this script manually call:

./make.py build  

This will build the whole RevKit suite including the core, algorithms, examples, and the Python bindings. The Python bindings enable the CLI to use RevKit like a shell. If the system cannot build the Python bindings or if they are not needed, they can be deactivated by calling:

./make.py build −DBUILD BINDINGS=OFF

instead. Further packages which are not available in the distribution’s package manager (e.g. CUDD or PUMA) are downloaded and installed automatically from the bootstrap script. Boost is also required and will be downloaded and installed by default.

The build script must be called at least once. Afterwards, the sources only need to be compiled again if local changes have been performed. Alternatively, the program make can be executed manually by calling:

make  

in the build directory. The build script also provides the options of enabling and disabling the compilation of unstable and example algorithms by using the parameters -DBUILD UNSTABLE and -DBUILD EXAMPLES.

se isso estiver correto, uma janela de gui deve abrir nas instruções a seguir, que não posso ver:

4.1. Interface Gráfica do Usuário do RevKit A interface gráfica do usuário do RevKit permite a criação e execução de processos de design a serem executados. Portanto, uma GUI é utilizada onde as respectivas tarefas podem ser facilmente reunidos por meio de blocos de itens conectados a um gráfico. Cada item executa uma operação e pode ter portas para os respectivos parâmetros de entrada e resultados de saída. As portas de entrada podem ser conectadas às portas de saída formando um canal quando eles suportam os mesmos tipos de dados. Para iniciar a Interface Gráfica do Usuário do RevKit, o seguinte comando deve ser invocado a partir do diretório raiz do RevKit:

./tools/gui/gui.py

Consegui fazer as primeiras 2 instruções, mas depois disso não consigo acompanhar o que deve ser feito, ou seja, as instruções relacionadas ao script de bootstrap. Alguém pode me dizer o que exatamente precisa ser feito? basicamente eu preciso ir para a interface gráfica que não consigo fazer

1 RevKit - Usuário Manual, 3. Download e Instalação

    
por Abhishek Agarwal 14.05.2014 / 12:22

3 respostas

0

Você precisa instalar alguns arquivos essenciais necessários para compilar o software e baixar as dependências. Você pode instalá-lo assim:

sudo apt-get install build-essential git

Se isto não funcionar, por favor especifique a saída que você obtém ao executar a linha de produção.

    
por mniess 14.05.2014 / 12:50
0

Você tem libboost-all-dev instalado?

sudo apt-get install libboost-all-dev

Agora tente seguir essas etapas novamente.

    
por Saurabh 22.07.2014 / 15:26
0

Primeiro, você precisa atender aos requisitos:

  1. git ( sudo apt-get install git )
  2. clang ( sudo apt-get install clang )
  3. c ++ ( sudo apt-get install build-essential )
  4. boost ( sudo apt-get install libboost-all-dev )
por Shiva 28.01.2015 / 09:10