I’ve created this new topic, because the previous conversation was contaminating the thread about videos.
Ok, until now my progress was:
clone the repo
brew install intltool
./autogen.sh
I receive the following error
configure.ac:33: warning: AM_NLS is m4_require'd but not m4_defun'd
m4/intltool.m4:160: IT_PROG_INTLTOOL is expanded from...
configure.ac:33: the top level
autoreconf: configure.ac: not using Libtool
autoreconf: running: /usr/local/Cellar/autoconf/2.69/bin/autoconf --force --warnings=no-portability
configure.ac:33: warning: AM_NLS is m4_require'd but not m4_defun'd
m4/intltool.m4:160: IT_PROG_INTLTOOL is expanded from...
configure.ac:33: the top level
configure:3108: error: possibly undefined macro: AM_NLS
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
autoreconf: /usr/local/Cellar/autoconf/2.69/bin/autoconf failed with exit status: 1
+ exit 1
Ok, some progress and a new blocker . At the moment, I’ve accomplished a partial build following this steps:
brew link gettext --force
brew install intltool exiv2 gtk+3 fftw gsl cfitsio libconfig opencv gtk-mac-integration
./autogen.sh
make
Now, the compilation starts, the C part seems fine, but it hangs compiling one C++ source file (right now it has spend more that 10 min with a 100% CPU use by clang process)
Before this step, I can see a couple of C++ sources compiled perfectly. Any clue about what can be going wrong?
Thanks in advance
P.D. My plan, after I’ve a compiled copy in my Mac is to make a pull request to the repo with my notes, so further Mac collaborators will have an easier on boarding and we can alleviate the noise on the forums
Problem found and fixed: Xcode 11 is needed (Apple clang version 11.0.0). I was using Xcode 10.3 and it hangs. After upgrading the Xcode version, I was able to compile and run SiriL 0.99.0
I’m not talking about SDK version, but compiler version. As I said, Xcode 10.3 doesn’t works, and Xcode 11.3.1 works. I’ve not made any change in configuration files.
We can discard the “one machine, one problem”. I’ve tried to compile on a fresh installed machine with Catalina (macOS 10.15.2), using Xcode 10.3 and the compilation hangs exactly on the same file (rt/boxblur.cc)
This branch (and main branch recently) has the option to run with 8 cores (the default), but if I let it run in this way, the program hangs when I try to register images. I must reduce the number of used cores to 2.
Memory management has not been updated for float images, so it will not compute the correct amount of memory. I was waiting for the float conversion to settle before updating this. A lower memory amount than expected should be used to not go out of memory for now.
Thanks for the test rbarbera!