Using macports-libcxx to build a non-MacPorts cmake project

Wowfunhappy@gmail.com wowfunhappy at gmail.com
Thu May 6 15:08:05 UTC 2021


Thanks Ken! Those cause the build to fail in the same way as before—which I'm going to take to mean I was doing it right all along, and Dolphin just isn't going to be amenable to building this way. My shared_mutex-free build mostly works anyway.


On May 3, 2021, at 5:46 PM, Ken Cunningham <ken.cunningham.webuse at gmail.com> wrote:

> what you did actually might have worked, I think, ideally… too bad it didn’t.
> 
> Can you do this perhaps?
> 
> export CXXFLAGS="-nostdinc++ -I/opt/local/include/libcxx/v1” 
> export LDFLAGS="-L/opt/local/lib/libcxx"
> 
> 
> or maybe this: 
> 
> CXX=/path/to/clang-9.0 CXXFLAGS="-nostdinc++ -I/opt/local/include/libcxx/v1”  LDFLAGS="-L/opt/local/lib/libcxx” cmake ../path/to/source
> 
> 
> or maybe:
> 
> CXX="/path/to/clang-9.0 -nostdinc++ -I/opt/local/include/libcxx/v1”  LDFLAGS="-L/opt/local/lib/libcxx” cmake ../path/to/source
> 
> I really need to finish that simple shell script that is supposed to set up the environment like MacPorts does for you, but I will probably never get around to that…
> 
> Ken
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20210506/36e3ebb5/attachment.htm>


More information about the macports-users mailing list