I'm trying to compile a .cpp + .h file that includes newmat.h and tinyxml.h - I have libnewmat.a and libtinyxml.a in the same directory as my .cpp and .h files and I'm running
g++ -lnewmat -ltinyxml test.cpp test.h
but still getting newmat.h and tinyxml.h not found at the beginning of compilation. I'm obviously a total c++ newb because this seems like it should be trivial.