I am trying to create a new plugin with psi4.
I used command command
psi4 --new-plugin try
all the file remain unchanged and do
cmake .
and
make
Here I get this error which I don’t understand.
Scanning dependencies of target try
[ 50%] Building CXX object CMakeFiles/try.dir/plugin.cc.o
/Users/tianyuanzhang/Documents/calculation/tmp/try/plugin.cc:35:26: error: expected identifier or ‘{’
namespace psi{ namespace try {
^
/Users/tianyuanzhang/Documents/calculation/tmp/try/plugin.cc:35:26: error: expected unqualified-id
2 errors generated.
make[2]: *** [CMakeFiles/try.dir/plugin.cc.o] Error 1
make[1]: *** [CMakeFiles/try.dir/all] Error 2
make: *** [all] Error 2
Does anyone have any idea?
Thanks!