Thanks for your prompt reply.
Yes, it worked! Thanks very much. Marking this thread as solved.
I made the change Dkst_python=1 to -Dkst_python=0 and there was no further problem. The application runs well. Thank you for your prompt help.