add main.cpp
changed output message from odir to odirodir