Hi Johannes,
Thank you for your response.
Yes, I have.
I just use these commands to install some libraries, and then compile my
project on Ubuntu 14.04.
sudo apt-get install build-essential
sudo apt-get install fenics (I checked the dolfin lib version is
libdolfin.so.1.3.0, I think fenics should be 1.3.0)
sudo apt-get install libboost-dev
sudo apt-get install libqt4-dev
It is very easy to pass compiling and run it on Ubuntu.
I did the same thing on OS X 10.9 with fenics 1.4.0, I got the link errors
below.
I use the parameter -ldolfin to link my project, is it enough for compiling my
project on OS X 10.9.?
Looking forward to your response?
Thank you very much.
Undefined symbols for architecture x86_64:
"dolfin::RectangleMesh::RectangleMesh(double, double, double, double,
unsigned long, unsigned long, std::basic_string<char, std::char_traits<char>,
std::allocator<char> >)", referenced from:
dolfin::UnitSquareMesh::UnitSquareMesh(unsigned long, unsigned long,
std::basic_string<char, std::char_traits<char>, std::allocator<char> >) in
react_diff.o
"dolfin::dolfin_error(std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, ...)", referenced from:
dolfin::GenericLinearOperator::init_layout(dolfin::GenericVector const&,
dolfin::GenericVector const&, dolfin::GenericLinearOperator*) in react_diff.o
dolfin::GenericMatrix::is_symmetric(double) const in react_diff.o
dolfin::GenericMatrix::data() const in react_diff.o
dolfin::GenericVector::data() const in react_diff.o
dolfin::GenericVector::data() in react_diff.o
"dolfin::error(std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, ...)", referenced from:
dolfin::GenericVector::init(dolfin::TensorLayout const&) in react_diff.o
"dolfin::deprecation(std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, ...)", referenced from:
dolfin::GenericVector::resize(int, unsigned long) in react_diff.o
dolfin::GenericVector::resize(int, std::pair<unsigned long, unsigned
long>) in react_diff.o
dolfin::GenericVector::resize(int, std::pair<unsigned long, unsigned
long>, std::vector<int, std::allocator<int> > const&) in react_diff.o
"dolfin::DofMap::DofMap(std::shared_ptr<ufc::dofmap const>, dolfin::Mesh
const&)", referenced from:
ReactionDiffusion::Form_a_FunctionSpace_0::Form_a_FunctionSpace_0(dolfin::Mesh
const&) in react_diff.o
"dolfin::FiniteElement::FiniteElement(std::shared_ptr<ufc::finite_element
const>)", referenced from:
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of
Johannes Ring
Sent: Friday, September 12, 2014 7:08 AM
To: Yu, Xiaohui
Cc: [email protected]
Subject: Re: [FEniCS-support] fenics compiling problem on OS X 10.9
On Wed, Sep 10, 2014 at 10:15 PM, Yu, Xiaohui <[email protected]> wrote:
> I have a project can pass compiling and run very well on ubuntu.
Do you have FEniCS 1.3 or 1.4 on Ubuntu? To me, it looks like your program
needs some updates to make it work with 1.4.
Johannes
Houston Methodist. Leading Medicine.
Ranked by U.S.News & World Report as one of America's "Best Hospitals" in 11
specialties. Named to FORTUNEĀ® Magazine's "100 Best Companies to Work ForĀ®"
list nine years in a row. Designated as a Magnet hospital for excellence in
nursing. Visit us at houstonmethodist.org. Follow us at
twitter.com/MethodistHosp and www.facebook.com/HoustonMethodist.
***CONFIDENTIALITY NOTICE*** This e-mail is the property of Houston Methodist
Hospital and/or its relevant affiliates and may contain restricted and
privileged material for the sole use of the intended recipient(s). Any review,
use, distribution or disclosure by others is strictly prohibited. If you are
not the intended recipient (or authorized to receive for the recipient), please
contact the sender and delete all copies of the message. Thank you.
_______________________________________________
fenics-support mailing list
[email protected]
http://fenicsproject.org/mailman/listinfo/fenics-support