Help with UsingTheRightCompiler

Ken Cunningham ken.cunningham.webuse at gmail.com
Fri Jul 24 00:30:34 UTC 2020


> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-dev/attachments/20200723/a05a76b2/attachment.htm>


More information about the macports-dev mailing list