I have a custom .sublime-build
file in Sublime Text 3 (ST3), where I have included folder that I want it to search for a c++ header file:
{
"cmd": ["g++", "$file_name", "-o", "${file_base_name}.exe", "-I C:/package/armadillo74002/include", "-L C:/package/armadillo74002/examples/lib_win64", "-lblas_win64_MT", "-llapack_win64_MT", "&&", "start", "cmd", "/c" , "$file_base_name"],
"selector": "source.c",
"working_dir": "${file_path}",
"shell": true
}
However, when I run the script:
#include <armadillo>
I get the following error:
headerex.cpp:2:21: fatal error: armadillo: No such file or directory
but I can check My Computer and see that the file exists in that directory. Why is it giving me this error? What can I change so that it can find the header file I am looking for?