Open alvin1221 opened 1 year ago
Hi @alvin1221
NanoMQ relies on MsQuic and the fork OpenSSL in MsQuic. The building order and strategy of Ninja on MacOS are different from those on Linux. On Linux. Ninja will build the fork OpenSSL before building MsQuic. But on MacOS it doesn't.
A temporary solution is using make -j1
instead of Ninja.
mkdir build
cd build
cmake -DNNG_ENABLE_QUIC=ON ..
make -j1
Hi @alvin1221
NanoMQ relies on MsQuic and the fork OpenSSL in MsQuic. The building order and strategy of Ninja on MacOS are different from those on Linux. On Linux. Ninja will build the fork OpenSSL before building MsQuic. But on MacOS it doesn't.
A temporary solution is using
make -j1
instead of Ninja.mkdir build cd build cmake -DNNG_ENABLE_QUIC=ON .. make -j1
It works, thanks @wanghaEMQ
Describe the bug Failed to use
Ninja
to build NanoMQ with msquic on MacOS.To Reproduce
Environment Details
Additional context