> Sure, but trying one at a time shows us that your problem is HDF5&libc++ not
> HDF5&C++11.
>
> What if you build with -std=c++03 -stdlib=libc++ ?
clang++ -std=c++03 -stdlib=libc++ -I/usr/local/include/ ../create.cpp
-L/usr/local/lib -lsz -lz -ldl -lm -lhdf5 -lhdf5_cpp -lhdf5_hl -lhdf5_hl_cpp
gives the same error:
Undefined symbols for architecture x86_64:
"H5::H5File::H5File(std::__1::basic_string<char, std::__1::char_traits<char>,
std::__1::allocator<char> > const&, unsigned int, H5::FileCreatPropList const&,
H5::FileAccPropList const&)", referenced from:
_main in create-R387li.o
..etc..
_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org