I am using i.atcorr for atmospheric correction in Grass6.4.4. I would like to add Landsat8 sensor to my project(build). If I copy the iwave.cpp file from grass 7, I get error messages. Do I need to compile the entire Grass7 i.atcorr module again for this or is there any alternate?
You will need to compile the source code since this part is written in C programming language. I would be willing to backport the improvements from GRASS GIS 7 to 6 if you open an enhancement ticket at http://trac.osgeo.org/grass/ requesting this backport.