I would like to develop/modify my own model contribution, but I don't know
how to do this on kim-api v.1.9.x. I hope someone could instruct me.
I work on my home directory, i.e. I have /home/user/kim-api-v1.x.x
directory where kim-api has been built.
Until kim-api v.1.8.x, developing my own model was simple because I just
had to create a new directory (e.g. Mymodel) in /home/user/kim-api-v1.8.x/src/models
and write mymodel.cpp, mymodel.kim, etc.
When 'make' is done in /home/user/kim-api-v1.8.x, the new directory
(/home/user/kim-api-v1.8.x/src/models/Mymodel) was automatically recognized
and the model was built.
Now, I am having trouble on kim-api v.1.9.x because I don't seem to be
able to do the same thing. First of all, there is no /home/user/kim-api-v1.9.x/src/models
directory. Then I created /home/user/kim-api-v1.9.x/src/models/Mymodel directory and
put my model there, but it was not recognized (nothing happens when 'make' is done).
Therefore I cannot modify my old model contribution or write a new model.
Would somebody help me out?
I understand, from second time I should do 'reinstall', and each time
I modify the code (say 'mymodel.cpp') I do 'reinstall'. That's OK, but
if I make a mistake leading to a compile error (e.g. typo in the code),
what I must do next (after fixing the code) is 'install user', not
'reinstall'. Is that right?
This may be slightly inconvenient because I want to use the same command
while I work on rewriting the code (and I frequently make mistakes!).
This is not a strong request, but might deserve a thought.