Code would not compile due to bad typing conventions, and movement of file parameters to top of main() function.  Fixed this.
Replaced shoddy compile script compile.sh with shoddy Makefile.  Looking to the future.  Works now!