[aspect-devel] compile error on MAC OSX

Magali Billen mibillen at ucdavis.edu
Thu Jul 3 12:10:52 PDT 2014


Hello,
I’m installing Aspect on a MAC OS X running Mavericks. I just upgraded to Mavericks, and have installed Xcode and Command Line Tools. I also installed Cmake (including command line options). Finally I installed the Deal.II bundle using the deal.II.bundle-8.1.mpkg (I chose the one for OSX 10.9 and clang 5.1, which is what I have on my system). I did not get any errors for the
Deal.II install, and it told me it was successful when it was done. I made an environment variable DEAL_II_DIR = /Library/deal.II-bundle/deal.II-8.1. I used git clone to get the aspic source code. So finally after that, I followed the instructions for installing Aspect.
> cd /aspect
> cmake .
> make

Here is the error (below I attach a text file with all the output from cmake and make, there were some warnings):

[100%] Building CXX object CMakeFiles/aspect.dir/source/velocity_boundary_conditions/interface.cc.o
[100%] Building CXX object CMakeFiles/aspect.dir/source/velocity_boundary_conditions/zero_velocity.cc.o
Linking CXX executable aspect
Undefined symbols for architecture x86_64:
  "void dealii::DoFTools::extract_boundary_dofs<dealii::DoFHandler<2, 2> >(dealii::DoFHandler<2, 2> const&, dealii::ComponentMask const&, dealii::IndexSet&, std::__1::set<unsigned char, std::__1::less<unsigned char>, std::__1::allocator<unsigned char> > const&)", referenced from:
      aspect::Simulator<2>::FreeSurfaceHandler::make_constraints() in freesurface.cc.o
  "void dealii::DoFTools::extract_boundary_dofs<dealii::DoFHandler<3, 3> >(dealii::DoFHandler<3, 3> const&, dealii::ComponentMask const&, dealii::IndexSet&, std::__1::set<unsigned char, std::__1::less<unsigned char>, std::__1::allocator<unsigned char> > const&)", referenced from:
      aspect::Simulator<3>::FreeSurfaceHandler::make_constraints() in freesurface.cc.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [aspect] Error 1
make[1]: *** [CMakeFiles/aspect.dir/all] Error 2
make: *** [all] Error 2

Any thoughts?
Magali


--------------------------------------------------
Professor of Geophysics & UCD Chancellor Fellow
Chair, Geology Graduate Program
Earth & Planetary Sciences Dept., UC Davis
Davis, CA 95616
2129 Earth & Physical Sciences Bldg.
Office Phone: (530) 752-4169
http://mygeologypage.ucdavis.edu/billen/
--------------------------------------------------









-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.geodynamics.org/pipermail/aspect-devel/attachments/20140703/10e59a4a/attachment-0002.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: aspect_install.txt
URL: <http://lists.geodynamics.org/pipermail/aspect-devel/attachments/20140703/10e59a4a/attachment-0001.txt>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.geodynamics.org/pipermail/aspect-devel/attachments/20140703/10e59a4a/attachment-0003.html>


More information about the Aspect-devel mailing list