Hi, I’m Ernest Yeung, and I successfully installed FEniCS, along with vtk through brew, last week on my MacBook Air, Mid 2011, OSX Yosemite 10.10.4.
What are FEniCS Applications and these libraries on the FEniCS Applications page?
http://fenicsproject.org/applications/
I downloaded the fenics-solid-mechanics repository by clicking on Download repository
https://bitbucket.org/fenics-apps/fenics-solid-mechanics/downloads
and placed it into a directory separate from FEniCS.app
-Should I have placed that fenics-solid mechanics repository into a subdirectory inside FEniCS.app and where?
I went ahead and placed it into ~/Public (user’s Public folder).
Doing ./cmake.local I obtained this error:
-- The C compiler identification is AppleClang 6.1.0.6020053
-- The CXX compiler identification is AppleClang 6.1.0.6020053
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
fatal: Not a git repository (or any of the parent directories): .git
-- Performing Test HAVE_STD_CPP11
-- Performing Test HAVE_STD_CPP11 - Success
CMake Error at CMakeLists.txt:68 (find_package):
By not providing "FindDOLFIN.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "DOLFIN", but
CMake did not find one.
Could not find a package configuration file provided by "DOLFIN" with any
of the following names:
DOLFINConfig.cmake
dolfin-config.cmake
Add the installation prefix of "DOLFIN" to CMAKE_PREFIX_PATH or set
"DOLFIN_DIR" to a directory containing one of the above files. If "DOLFIN"
provides a separate development package or SDK, be sure it has been
installed.
-- Configuring incomplete, errors occurred!
See also "/Users/patrickbateman/Public/fenics-apps-fenics-solid-mechanics-b72e0b1e27f9/build/CMakeFiles/CMakeOutput.log".
make: *** No targets specified and no makefile found. Stop.
Then I tried
source fenics-solid-mechanics.conf
and I obtained this error:
-bash: fenics-solid-mechanics.conf: No such file or directory
Could you help 1. clarify what are Applications in the FEniCS Applications subpage and in general how to install and use them, 2. clarify and explain how to install specifically the fenics-solid-mechanics application/library on a Mac OSX? Thanks, -Ernest Yeung