Help with UsingTheRightCompiler

Frank Schima mf2k at macports.org
Thu Jul 23 16:27:44 UTC 2020


Hi Ryan,

> On Jul 23, 2020, at 9:52 AM, Ryan Schmidt <ryandesign at macports.org> wrote:
> 
> On Jul 23, 2020, at 10:18, Frank Schima wrote:
> 
>> 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.
> 
> What was the clang compile line that generated that error?
> 
> What OS version are you using?

Catalina 10.15.6. Xcode 11.6.

/usr/bin/clang -Wall -g -O2 -I/opt/X11/include -DPNG -DPNG15 -Wno-write-strings -Wno-overflow -c ascii.c


-Frank

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-dev/attachments/20200723/e7a44641/attachment.htm>


More information about the macports-dev mailing list