External Email - Use Caution
Hello Jonathan,
It could help to add -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON to the cmake command line to see what the compiler is doing when you run make and see the first instance of those errors, but clearly something is not right with the linker options..
You could also try downloading makefile.wiki from, https://drive.google.com/file/d/1IMEWQty_7zjsglbErQOlu_KpXb8Lmgmv/view?usp=s...
- and then rename it to makefile. This should go in the same subdirectory as your ./freesurfer folder as created by git.
The makefile has targets to fetch/update/setup everything from github, fetch the archive of 3rd party libs needed to build freesurfer, show you the cmake command it will run, run that cmake command, run the make command to compile the source, then do the install pass. You can see what the steps are if you type "make help". This works for me on Mac OS 10.13.6 (High Sierra) with the native clang compilers. I also use a homebrew installation already on my Mac installed under /usr/local, though the makefile will try and set that up w/o actually installing it under /usr/local.
- R.
Jonathan DuBois wrote:
ld: warning: could not create compact unwind for _MatSetValuesLocal: stack subq instruction is too different from dwarf stack size
freesurfer@nmr.mgh.harvard.edu