Hi there,
I am trying to install StaMPS4.1 in Ubuntu19 but no experience in Linux, after i install ubuntu,copy unzipped stamps4.1 folder to main folder,then type"sudo apt-get install gawk gcc g++ make tcsh" in the terminal(the first step),then “make” ,but
many warnings occurs “no return statement in function returning non-void [-Wreturn-type]”
Could you please, help me to do that?
I guess, in your case, the problem is the prerequisites. after you install all the requested libraries, you sould go to src folder and in some cases you have to change install dir from /…/bin to /usr/bin. Then, make install. and sometimes, you should ignore the warnings. after you finished with the isntallation, you have to edit and source the bash or tsch file in the main folder. then each time that you want to run the progrom first you have to source it. it is worthy of not that this package installation is really frustrating. I did it before in a server pc and I dont have access now. I tried to do the same thing in WSL but still I see problems cause it is more complicated. by the way, the follwoing link might be helpful:
You welcome, I guess I have already done with installation part now.However, I am still stucked in something else. I will inform you if it’s work in that way.
the first line defines where you have installed stamps: export STAMPS="..."
This line (actually at the end of the script) makes the bin folder inside stamps available to your shell. mt_prep_snap is inside this bin folder, so I don’t know export PATH=${PATH}:$STAMPS/bin. ...
It is good that snaphu works now. The same should be the case for mt_prep_snap, but I can’t see a reason why it doesn’t work.
also, I don’t think that you need the snap2stamps scripts any longer so you can comment this line out.
Maybe you find someone around you who can directly have a look at your configuration.