PolSAR Pro installation problem on linux

Not sure if I’m supposed to post this here or in the pinned post.

Using Ubuntu version 24.04. I followed the install instructions, install all required packages, except googleearth, which doesn’t seem to be a package anymore. I installed Google Earth from the .deb package on the website. I used sudo apt install -f after installing the .deb.

The error I’m getting is

couldn't execute "Soft/bin/tools/PolSARproCheckMemory.exe": no such file or directory
couldn't execute "Soft/bin/tools/PolSARproCheckMemory.exe": no such file or directory
    while executing
"open "| Soft/bin/tools/PolSARproCheckMemory.exe -of \x22$TMPDir/PolSARproCheckMemory.txt\x22" r"
    ("eval" body line 243)
    invoked from within
"eval {global PSPTopLevel PSPBiomassFunction DataDirInit DataDir DataDirChannel1 DataDirChannel2 ScreenRatio
global OffsetLig OffsetCol FinalNlig Final..."
    ("uplevel" body line 1)
    invoked from within
"uplevel #0 [list eval $cmd]"
    (procedure "vTcl:DoCmdOption" line 16)
    invoked from within
"vTcl:DoCmdOption .top00.fra217.but218 {global PSPTopLevel PSPBiomassFunction DataDirInit DataDir DataDirChannel1 DataDirChannel2 ScreenRatio
global Of..."
    invoked from within
".top00.fra217.but218 invoke"
    ("uplevel" body line 1)
    invoked from within
"uplevel #0 [list $w invoke]"
    (procedure "tk::ButtonUp" line 22)
    invoked from within
"tk::ButtonUp .top00.fra217.but218"
    (command bound to event)

I haven’t seen this error posted anywhere else, though admittedly I’ve only searched not checked all the error posts. Does anyone have any ideas?

Edit: There is nothing in the Soft/bin/tools folder. Also I’m confused about why it’s trying to produce a .exe file on a linux system.

I guess you did not read my previous post:

1 Like

I did not see that, @fpl, thank you.

Can I ask, is it typical to run PolSAR Pro on Windows? I tried it once before and only managed to get it to display the title window, nothing else was coming up. I figured the linux build must be the way to go, but is that actually the case?

It would be fair enough to say that Polsarpro would need a bit of love. I guess the original team only works on contract, so it is essentially frozen as it is, even because the user community is tiny enough. Nowadays, even finding people with robust experience in C and Tcl is not common, but the whole codebase would require a robust reengineering. I would have multiple ideas about that, but of course it is not a task for a one-man show.

1 Like

Your version compiled and runs perfectly. Thank you!

1 Like