Couple lammps with meam library

Dear all,

I want use lammps as external library in my C++ code and also I need MEAM library. I did “make” liblmp_g++.a (and meam package is installed) but compile the code interrupted by errors that “Undefined reference to MEAM functions …”. Also I try with include libmeam.a (-lmeam) but I had same errors. Could you pleas help me?

Hamed akbarzadeh