Building from source on MacOS

Hello, Shot 2018-12-13 at 11.25.12.png
I am trying to build the latest Netgen/NGSolve from source on MacOS and following the instruction of the website I get an error when its downloading “project_tkdnd”(I have attached the error log and also a screenshot of the terminal).

I know that using the DMG to install works fine on this system and also Ive managed to compile from source on a different linux machine. So, I am not able to see an immediate problem with the installation.

Please let me know where I am going wrong with the installation.

That being said, the reason I current build from source instead of using the DMG is because I need a few more grid function templates instead of the default ones.

Best regards


Attachment: project_tkdnd-download-err.txt

Attachment: project_tkdnd-download-out.txt

There seems to be a problem with downloading tkdnd sources. The reason could be anything like a server issue on sourceforge.
Please try again, if it still doesn’t work, download the sources manually:
And put it in


Thank you for your reply!

I expected it to be a server error but I could physically download the files myself from the link. So, I was a little surprised.

Anyway, this error got sorted but something else cropped up. I will post another question if I am not able to solve it.

Thanks again!


Ok, I think I resolved my second problem. I suppose the first issue I posted was a stray incident and ,as you suggested, it was possibly something to do with the server.

Anyway, I encountered another issue while compiling the code(image of error attached) and it was to do with using the CXX_STANDARD. It is set to 17 by default and setting this to 14 resolved all the problems and it compiled(“ngsolve-src/CMakeList.txt” line 47).

I am currently using macOS High Sierra Version 10.13.6. This comes with clang-1000.11.45.5.

Thanks for your help!