Open alexmyczko opened 5 months ago
You may use the wrong compiler. What system, which software version, which compiler environment is that on? You have to follow the instructions here: https://lbem-focus.epfl.ch/wiki/doku.php?id=1_0:install-source
I did, I have:
dpkg -l cmake gfortran g++ libfftw3-dev qtscript5-dev
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-===================-==============-============-===========================================================
ii cmake 3.28.1-1 amd64 cross-platform, open-source make system
ii g++ 4:13.2.0-4 amd64 GNU C++ compiler
ii gfortran 4:13.2.0-4 amd64 GNU Fortran 95 compiler
ii libfftw3-dev:amd64 3.3.10-1 amd64 Library for computing Fast Fourier Transforms - development
ii qtscript5-dev:amd64 5.15.10+dfsg-2 amd64 Qt 5 script development files
The same on Ubuntu 22.04 as well as Debian GNU/Linux sid.
Somehow, your compiler doesn't find the libraries in .../focus/kernel/mrc/lib. These should have been compiled first, and the linker then needs to find those. IWRLIN and IMCLOSE etc. are all from those image2000 libraries.
My guess is that this has to do with the version of gcc / g++ used.
Using ./build_all
and gcc-12/g++-12 it builds... until 18% (master)
Also tried versions 9, and 11. With the same failure. I would like some help here, maybe you can send a full successfull ./build_all
output with the detail which Debian or Ubuntu versions of cmake, g++, gfortran, libfftw3-dev, qtscript5-dev you are using?
And maybe a new release tag would be nice too?