compilation of dolfin from source on Mac Sierra 10.12.6

7 months ago by

Hello Everyone,
I am trying to Build FEniCS from source:

I have allready build FIAT, INSTANT, DIJITSO, UFL and FFC from source.

Now when I try to compile DOLFIN using as follows:
$ cd dolfin  && mkdir build && cd build && cmake .. && make install

This gives me the following error: 

CMake Error at dolfin/CMakeLists.txt:60 (add_library):
  Target "dolfin" links to target "Boost::filesystem" but the target was not
  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
  an ALIAS target is missing?

[  1%] Built target compile_ale_forms
[  1%] Linking CXX shared library libdolfin.dylib
ld: library not found for -lBoost::filesystem
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [dolfin/libdolfin.2017.2.0.dev0.dylib] Error 1
make[1]: *** [dolfin/CMakeFiles/dolfin.dir/all] Error 2
make: *** [all] Error 2

I have, Boost: stable 1.64.0 (bottled), HEAD (Installed using brew install boost)


Community: FEniCS Project

1 Answer

7 months ago by
Please login to add an answer/comment or follow this question.

Similar posts:
Search »