Compiling problem

Submitted by cgfeng on Wed, 03/05/2014 - 16:45

A first time user. Encountered the following compiling problem:
--------------------------
>make serial
make[1]: Entering directory `/home/LIGGGHTS/src/Obj_serial'
g++ -O -DLAMMPS_GZIP -I../STUBS -I/usr/local/include/voro++ -c ../fix_tune_kspace.cpp
../fix_tune_kspace.cpp: In member function ‘void LAMMPS_NS::FixTuneKspace::update_pair_style(char*, double)’:
../fix_tune_kspace.cpp:238:48: error: no matching function for call to ‘LAMMPS_NS::Force::create_pair(char*&, char*&)’
../fix_tune_kspace.cpp:238:48: note: candidate is:
../force.h:93:8: note: void LAMMPS_NS::Force::create_pair(const char*, int&, char**&, const char*)
../force.h:93:8: note: candidate expects 4 arguments, 2 provided
make[1]: *** [fix_tune_kspace.o] Error 1
make[1]: Leaving directory `/home/LIGGGHTS/src/Obj_serial'
make: *** [serial] Error 2
-----------------------------

What is the solution, please?

cg

iluvatar | Thu, 03/13/2014 - 20:24

I was facing that problem. I don't recall exactly how i solved it, but you can try using
make no-kspace
before
make serial