Using macports-libcxx to build a non-MacPorts cmake project
Ken Cunningham
ken.cunningham.webuse at gmail.com
Thu May 6 16:41:51 UTC 2021
I you show me exactly what you’re trying to build and where the WIP sits, I would be happy to take a look for you if you like.
Ken
> On May 6, 2021, at 8:08 AM, Wowfunhappy at gmail.com <wowfunhappy at gmail.com> wrote:
>
> 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 <mailto: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/a1f82432/attachment.htm>
More information about the macports-users
mailing list