> Hi developers! > > > I’m trying to get the new Portfile ncplot to UseTheRightCompiler. It uses a > primitive Makefile but not a configure file. So I added the makefile 1.0 > portgroup. However, I get a build error when I do. Can anyone help? > > Error is: > > :info:build In file included from init.c:22: > :info:build ./define.h:14:10: fatal error: 'algorithm' file not found > :info:build #include <algorithm> > :info:build ^~~~~~~~~~~ > :info:build 1 error generated. > > > Cheers! > Frank
You have to use clang++ if you are calling in c++ includes. Then it will work. Ken