installation confusion

312 views
Skip to first unread message

Petr Karbutov

unread,
Dec 24, 2014, 9:57:58 AM12/24/14
to mai...@googlegroups.com
Hi,
I'm new to C ++ programming. Before that I worked in python and commercial software (GAMMA, ENVI and etc). Therefore, during installation StaMPS I have a problem. My OC is Windows 8.1 And I tried to use the compiler MinGW. But nothing good came of it.

tar -xvf StaMPS_v3.3b1.tar
cd StaMPS_v3.3b1/src
make
make install


Could you advise what software should I use when installing StaMPS (meaning the C ++ code)? And sorry for the stupid question ...

Thanks

Bambang Setiadi

unread,
Dec 24, 2014, 9:32:39 PM12/24/14
to mai...@googlegroups.com
Hi Petr,

I have no experience installing on windows machine using mingw. If you can not have a dedicated linux machine, imo it is easier to use virtualbox/vmware with linux guest OS. 

best regards,

Bambang Setiadi
bam...@gmail.com

--
You received this message because you are subscribed to the Google Groups "MAINSAR" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mainsar+u...@googlegroups.com.
To post to this group, send email to mai...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Message has been deleted

Petr Karbutov

unread,
Dec 25, 2014, 5:13:36 AM12/25/14
to mai...@googlegroups.com
Hi bambang
,

I.e., this installation instructions only for Linux? Or on Windows, StaMPS does't work?

Thanks you very much

Best regards, Petr

Bambang Setiadi

unread,
Dec 25, 2014, 6:14:23 AM12/25/14
to mai...@googlegroups.com
Petr, please refer to the following manual: 


Stamps basically consists of several components, it processes interferograms generated by DORIS (cmmiw). So in order to use it you need to install several prerequisite software which is developed in C/C++/Fortran (ROI_PAC, DORIS, Triangle, Snaphu). And you will also need Matlab to run StaMPS processing scripts.  

Best,

Bambang Setiadi
bam...@gmail.com
Message has been deleted

Petr Karbutov

unread,
Dec 25, 2014, 9:31:56 AM12/25/14
to mai...@googlegroups.com
Thanks you very much for help. I know that we need additional programs but not to install and compile! But I realized that on Windows need to use cygwin and MinGw. How can I know that the installation and compilation is successful?

$ make install
/usr/bin/make definstall;
make[1]: Entering directory `/c/StaMPS/StaMPS_v3.3b1/src'
dir=../bin; \
                if test ! -d $dir; then \
                  echo "Sorry, dir ../bin does not exist, exiting..."; exit; fi;                                  \
                echo Installing in directory: $dir; \
                list='selsbc_patch_new calamp selpsc_patch selsbc_patch cpxsum p                                 scphase psclonlat pscdem  '; for p in $list; do \
                  echo "Installing (copy): $p"; \
                  cp -f $p ../bin/$p; \
                done
Installing in directory: ../bin
Installing (copy): selsbc_patch_new
Installing (copy): calamp
Installing (copy): selpsc_patch
Installing (copy): selsbc_patch
Installing (copy): cpxsum
Installing (copy): pscphase
Installing (copy): psclonlat
Installing (copy): pscdem
/usr/bin/make cleaner
make[2]: Entering directory `/c/StaMPS/StaMPS_v3.3b1/src'
* Removed junk.
* Removed executables in source dir:  /c/StaMPS/StaMPS_v3.3b1/src.
make[2]: Leaving directory `/c/StaMPS/StaMPS_v3.3b1/src'
make[1]: Leaving directory `/c/StaMPS/StaMPS_v3.3b1/src'


This
installation code for Linux.


tar -xvf StaMPS_v3.3b1.tar.gz
cd StaMPS_v3.3b1/src
make
make install

Best regrads, Petr

Petr Karbutov

unread,
Dec 26, 2014, 9:05:11 AM12/26/14
to mai...@googlegroups.com
Hi,
Could you
help me set the correct directory in makefile?
Or should I better use Linux?

Makefile:

### Install directory
INSTALL_DIR =    ../bin

I try to use
C:/StaMPS/StaMPS_v3.3b1/bin; /cygdrive/c/StaMPS/StaMPS_v3.3b1/bin

/usr/bin/make definstall;
make[1]: Entering directory `/c/StaMPS/StaMPS_v3.3b1/src'
dir=../bin; \
                if test ! -d $dir; then \
                  echo "Sorry, dir ../bin does not exist, exiting..."; exit; fi; \
                echo Installing in directory: $dir; \
                list='selsbc_patch_new calamp selpsc_patch selsbc_patch cpxsum pscphase psclonlat pscdem  '; for p in $list; do \

                  echo "Installing (copy): $p"; \
                  cp -f $p ../bin/$p; \
                done
Installing in directory: ../bin


Thanks you very much
Reply all
Reply to author
Forward
0 new messages