On 2019-10-25, Stefan Wollny <stefan.wol...@web.de> wrote: > Ping... > > Anyone? > > > Am 22.10.19 um 17:21 schrieb Stefan Wollny: >> Hi there! >> >> Any Ocaml experts around who managed to install 'owl'? Installation of >> owl fails as 'eigen' and 'open-blas' fail to build. >> >> I am running amd64-current. >> >> Any suggestions what I might miss???
No idea about owl/Ocaml, but you will need to use a C++11 compiler to build eigen: >> # g++ -O3 -std=c++11 -I. -I./unsupported/ -c -fPIC -ansi >> -Wno-extern-c-compat -Wno-c++11-long-long >> -Wno-invalid-partial-specialization -Ofast -march=native -mfpmath=sse >> -funroll-loops -ffast-math eigen_tensor.cpp -o eigen_tensor.o >> # cc1plus: error: invalid option argument '-Ofast' >> # cc1plus: error: unrecognized command line option "-std=c++11" >> # cc1plus: error: unrecognized command line option >> "-Wno-invalid-partial-specialization" >> # *** Error 1 in >> /home/sw/.opam/ocaml-base-compiler/.opam-switch/build/eigen.0.1.4/_build/default/eigen_cpp/lib >> (Makefile:8 'all') It should use c++ (which is clang on amd64), not g++ (old gcc).