Closed karel-brinda closed 5 years ago
Hi, and thanks for making an issue!
Dashing uses relatively modern C++; I'm sorry for the installation difficulty. It's currently tested on gcc[6-9] now that we've rolled back features to be C++14-compliant.
However, on OSX, this should actually be pretty easy. I personally use Homebrew's gcc-8 (https://formulae.brew.sh/formula/gcc), which installed after brew install gcc
.
Output from gcc --version
gcc-8 (Homebrew GCC 8.2.0) 8.2.0
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
I hope this helps, and please don't hesitate to ask further. Thanks!
It seems that I managed to make it work with gcc-8 (not with gcc-7 though). Btw. on my system, I have
gcc --version
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/c++/4.2.1
Apple LLVM version 10.0.0 (clang-1000.11.45.5)
Target: x86_64-apple-darwin18.2.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
Seems that brew doesn't create the gcc link on my system (only gcc-8, gcc-5, etc).
I didn't find a way how to compile dashing on mac. Would it be please possible to add an install section to the readme with more details for individual platforms (including dependencies)?
Some of the dependencies require openmp which is not supported by clang. Therefore, one needs to use gcc. However, it seems that gcc (installed using brew) then can't see certain header files.
gcc 4.9
gcc 5