-
Notifications
You must be signed in to change notification settings - Fork 357
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Building on OSX fails because cmake defaults to AppleClang despite macports mp-clang-9.0 being the active compiler. #33
Comments
I have solved the compiler detection problem! The second comment here: Suggests adding:
Before the project declaration in the CMakeLists.txt. Surely this is a hack that will probably break other things on other platforms. Perhaps it could be wrapped in a conditional if the platform can be determined this early in the configuration process. The next issue was while compiling. There were four errors in
which were solved by the patch suggested in LTE-Cell-Scanner issues 19. These changes really should be applied to the current source tree. At this point compilation succeeds, but linking with
For whatever reason it appears that the |
On MacOS Mojave it died in the make'ing... a couple of manual runs of the compiler (XCode) with the |
I believe it's related to this discussion:
https://trac.macports.org/ticket/53201
I also had some issues with cmake detecting FFTW, ITPP, and RTLSDR libraries, but resolved those by adding the macports paths to their module files. I suspect that if the compiler issue were sorted out, these hacks would have been unnecessary, but I can't say for sure until I get past this. I will fork, produce patches, and submit a pull request once I've completely solved and successfully built LTE-Cell-Scanner.
The output of
cmake ..
from the build directory looks like this:Needless to say,
make
fails miserably, and I'm just not well versed enough in the intricacies ofcmake
toThe text was updated successfully, but these errors were encountered: