I am 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 the .cpp and .h files, m works
g++ -lnewmat -ltinyxml test.cpp test.h
but still getting newmat.h and tinyxml.h was not found at the start of compilation. I am obviously a complete C ++ newb, because it seems like this should be trivial.
source
share