Install SNAPHU using Cygwin

I think the best way is to leave all files as they are. Just unzip the downloaded data to a directory and include this directory in your system’s path. All files belong togehter, so it won’t work if you just take one of them and move it to a location. Also, the Java folder shouldn’t contain any other data.

Just select “Path” and click “Edit” in your Environment Variables menu and add the full path to the snaphu files there. This makes them available to your command line.

Thank you for your answer but this also didn’t solve my problem. I have windows 10 os, is this maybe a problem? I troubleshooted the program, but it didn’t work again. I don’t know what the problem can be.

it certainly runs on Windows 10. What do you mean by “it did not work”?

I just saw that you need to add the bin folder where snaphu.exe is located

Well the window that you sent doesn’t open. I tried everything but it just won’t work. When I click on snaphu.exe the window that you uploaded opens and closes imediatly.

snaphu doesn’t work that way. You will have to give snaphu.exe some additional arguments.

Please see the video here, the important part comes at 4:42

The corresponding manual can be found here:

But I couldn’t even install snaphu. I am talking about installation, not working in snaphu.

please read carefully - snaphu 1.4.2. is already installed when you download it. “Compiled” means that windows can use it as it is.

Unfortunatelly, it doesn’t work. I tried on two devices but it doesn’t open.

open the command window like described here: and type snaphu

Can i perform unwarping using,windows 10,64bit,8 GB?pleas guide me how i can do it??:disappointed::disappointed:

please stop cross-posting the same question over different topics and have a look at the answers posted here: SNAPHU Unwrapping

There is a video and links to further information.

Thank you very much @ABraun , I installed snaphu following your instructions. Everything worked perfectly.

According to Dr. Braun’s i try the first step and apparently I did not create a folder. What did I miss and what can I do?

you no longer need to compile snaphu - the latest version is stand-alone:

Good evening Dr. Braun. I would like to ask you something. I have the displacement bands for each pair i have been processing. Is there a way to “merge” all the results in one and create a map of it?

you can terrain correct both of them and create a stack.

It might sound funny but I am a little confused right now. They are already terrain corrected and I just created a stack. Now I would like to export the stack result to arc map. I can do that right?

Yes, if the stack looks fine you can export the raster layers.

Dear ABraun
I have few doubts regarding your tutorial on using Snaphu in windows.

  1. I have downloaded the latest version from this link , however I am not able to find snaphu.exe in the bin folder even after unzipping it.
  2. Alternatively, I have downloaded cygwin and followed the steps as mentioned in your tutorial-Installation_SNAPHU_English_ABraun.pdf, but I got an error when I tried to execute the ‘make install’ command.

Kindly help me resolve the issue. Thank you)

It should be in the bin folder, sometimes Windows doesn’t display file extensions, it might just be snaphu.

I don’t recommend compiling it since version 2.4