On 07/11/2017 10:35 AM, Peimeng Yin wrote:

I used deal.II to solve my personal code and I can run it on Linux, but when I run it on Mac, it shows bug as follows. I am wondering anyone can help me on it.

Location: /usr/local/deal.II

/usr/local/lib : links to deal.II, lac, base,tbb,lib*,libdeal_II.g.dylib, libdeal_II.dylib
/usr/local/include : links to deal.II/lib/lib*.



The error information:

c++ -std=c++14 -o main Beam1d.g.o Data.g.o main.g.o -L /usr/local/lib -L /usr/local/include -ldeal_II -ldl -lpthread

Undefined symbols for architecture x86_64:

   "tbb::internal::thread_get_id_v3()", referenced from:

       tbb::this_tbb_thread::get_id() in Beam1d.g.o


Peiming -- how exactly did you install deal.II and the other libraries? Did you use the Mac OS X dmg package from the website?

Best
 W>

--
------------------------------------------------------------------------
Wolfgang Bangerth          email:                 bange...@colostate.edu
                           www: http://www.math.colostate.edu/~bangerth/

--
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- You received this message because you are subscribed to the Google Groups "deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dealii+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to