I'm trying to use the Structure From Motion example from here (SFM by Nghiaho). I'm having some problem with the second part of the run process: I've downloaded the PMVS2 (Patch-based Multi-view Stereo Software) from here pmvs2 doc. I've opened the terminal in the /pmvs-2/program/main folder and typed:
./pmvs2 myfolder/options.txt
Where options.txt file was created in the first step of the process. I had this error:
./pmvs2: error while loading shared libraries: libgfortran.so.1: wrong ELF
class: ELFCLASS32
I found out that the problem is because I'm running a 64bit version of the program and gfortran library is compiled for 32bit. I've a file named libgfortran.so.3 in /usr/lib32/ folder and I've created a virtual link with:
ln -s /usr/lib32/libgfortran.so.3 /usr/lib32/libgfortran.so.1
I don't know what I have to do right now.