The following worked with relative pathnames
$(CXX) main.cpp -o test -I./.. -L. -lsmile
But i wanted to use absolute path names and i tried this:
$(CXX) main.cpp -o test -I/home/santiago/thesis/SmileHeaderfiles -L -lsmile
which didn't work.
This did work
g++ -I/home/santiago/thesis/SmileHeaderfiles main.cpp -o test -L. -lsmile
No comments:
Post a Comment