swanss / peptide_design

This repository contains code for the paper: "Tertiary motifs as building blocks for the design of protein-binding peptides"
Other
15 stars 9 forks source link

Compilation errors in termextension.cpp #3

Closed blacktanktop closed 2 years ago

blacktanktop commented 2 years ago

I have After installing Mosaist and freesasa, I tried to execute make all to compile peptide_design, but I got the following compilation error in termextension.cpp. How should I resolve this?

g++ -std=c++11 -g -gdwarf-3 -O3 -fPIC -I./Mosaist/include -I./freesasa-2.1.0/src -I./inc  -c -o objs/termextension.o src/termextension.cpp
src/termextension.cpp: In constructor ‘seedTERM::seedTERM(TermExtension*, std::vector<MST::Residue*>, std::vector<int>, bool, MST::mstreal, bool)’:
src/termextension.cpp:86:59: error: no matching function for call to ‘termData::define(std::vector<MST::Residue*>&, std::vector<int>&)’
         tD.define(interactingRes,flankResPerInteractingRes);
                                                           ^
In file included from ./inc/termextension.h:5:0,
                 from src/termextension.cpp:1:
./Mosaist/include/dtermen.h:294:10: note: candidate: void termData::define(std::vector<MST::Residue*>, int)
     void define(vector<Residue*> _centResidues, int pm) {
          ^~~~~~
./Mosaist/include/dtermen.h:294:10: note:   no known conversion for argument 2 from ‘std::vector<int>’ to ‘int’
swanss commented 2 years ago

My apologies, I had forgotten to push some of my local changes. I've updated the repo, please try pulling the changes and compiling to see if everything works now.

blacktanktop commented 2 years ago

Thanks to the update, the compilation seems to have been successfully completed.