Open kygx-legend opened 7 years ago
When not including MongoDBClient in building, another error below is also occurred:
ld: symbol(s) not found for architecture x86_64
I‘ll create a page in our Wiki about how to build in Mac OS X later.
That some file system in Mac OS X is not case-sensitive causes failure to make Master, where there is a directory also called master in building path. So the work around for this is to change the target name Master with HuskyMaster.
Failed to run PI application even through it is successful to compile. It can be traced to core/network.cpp
and there is no corresponding processing to get the ip list on Mac OS. Will be fixed.
The is reported by
Sajad Norouzi
.One reason is that
librt
library is not available in MacOS. But this library is only required when building with MongoDBClient. The solution is to check the building system first in order to decide whether it is able to use-lrt
as the link flags. Moreover, we may think about checking other systems in cmake as the following: