Hello and happy new year, I am still struggling compiling MITK macOS Catalina. I have tried using the releases/2018-04 branch without success. I wonder whether I am not using the correct version of some libraries. For completeness, could you share the basic requirements for this compilation? I am considering wiping my mac off and starting fresh.
Thank you, I hope you can help me with this. Kind regards, José Alonso p.s just as a reminder, I get several errors related to the system headers math.h and cmath, for example: /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:314:9: error: no member named 'signbit' in the global namespaceusing ::signbit; On Mon, 9 Dec 2019 at 18:50, José Alonso Solís Lemus < alonso.jasl+...@gmail.com> wrote: > Dear all, > > I tried using the releases/2018-04 branch, however the error was exactly > the same as the one I described on my previous email. Do you have any ideas > why is your version working and mine isn't? > > I'd really appreciate any help! > > Kind regards, > José Alonso > > On Wed, 4 Dec 2019 at 07:52, Dinkelacker, Stefan < > s.dinkelac...@dkfz-heidelberg.de> wrote: > >> Hi Jose, >> >> >> we are successfully building MITK on macOS Catalina with the latest >> releases/2018-04 branch. The branch is currently not available at GitHub, >> only at https://phabricator.mitk.org/source/mitk.git. Does it work for >> you, too? >> >> >> Best, >> >> Stefan >> ------------------------------ >> *Von:* José Alonso Solís Lemus <alonso.jasl+...@gmail.com> >> *Gesendet:* Dienstag, 3. Dezember 2019 18:16 >> *An:* mitk-users@lists.sourceforge.net >> *Betreff:* [mitk-users] [MITKv2018.02.4] Compilation in macOS 10.15 >> Catalina not working. >> >> Dear MITKers, >> >> I am trying to compile MITK v2018.02.4 in the new macOS Catalina (10.15). >> I am running into several related errors that look similar to the >> following: >> >> /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:314:9: >> error: no member named 'signbit' in the global namespaceusing ::signbit; >> >> the errors seem to be with the math.h and cmath.h headers in the Command >> Line Tools, however I have been able to compile the whole project several >> times in the previous macOS versions. The error comes when compiling DCMTK, >> which uses such headers. >> >> ===Attempts to fix it and explanations=== >> The search I've done for this points out to the lack of a /usr/include >> directory, and the removal for this option on macOS Catalina. (Links [1] >> and [2]). I am not sure, since the error does not indicate a lack >> of folder; but a lack of definition (although the files are there!!) >> >> I have Xcode 11.2 with the command line tools correctly installed. In >> CMAKE, the settings appear to be correct, with the variable having the >> following value: >> >> CMAKE_OSX_SYSROOT=/Library/Developer/CommandLineTools/SDKs/MacOSX/ >> >> This would mean that DCMTK should look for the necessary libraries inside >> the folder /Library/Developer/CommandLineTools/SDKs/MacOSX/usr/include, >> however this is not the case. >> >> I wonder if the problem lies elsewhere. >> >> I hope you can help us out! >> >> ===Workaround=== >> A workaround you can do is install DCMTK through homebrew (`brew install >> dcmtk`) and then set the EXTERNAL_DCMTK=/usr/local/Cellar/dcmtk/3.6.5 (or >> whatever version you download). This does not work for me, as we also use >> VMTK as an external project and it is not possible to work it around in the >> same way. >> >> >> let me know if you require more information. >> >> Kind regards, >> Jose Alonso >> >> >> Relevant links I've found >> [1] >> https://apple.stackexchange.com/questions/372032/usr-include-missing-on-macos-catalina-with-xcode-11 >> [2] >> https://developer.apple.com/documentation/xcode_release_notes/xcode_10_release_notes#3035624 >> >> >>
_______________________________________________ mitk-users mailing list mitk-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mitk-users