Ive added 4 files (2 .h and .cpp's). But Im getting the following error when i try to compile them (im not including the files in any other existing files yet, ive just aadded them to the project) :
2>svm.cpp
2>..\..\..\source\game\ai\svm.cpp(
: warning C4627: '#include "svm.h"': skipped when looking for precompiled header use
2> Add directive to 'pch.h' or rebuild precompiled header
2>..\..\..\source\game\ai\svm.cpp(3068) : fatal error C1010: unexpected end of file while looking for precompiled header. Did you forget to add '#include "pch.h"' to your source?
2>SVM_Wrapper.cpp
2>..\..\..\source\game\ai\SVM_Wrapper.cpp(1) : warning C4627: '#include "SVM_Wrapper.h"': skipped when looking for precompiled header use
2> Add directive to 'pch.h' or rebuild precompiled header
2>..\..\..\source\game\ai\SVM_Wrapper.cpp(166) : fatal error C1010: unexpected end of file while looking for precompiled header. Did you forget to add '#include "pch.h"' to your source?
I dont know what source the error message is talking about there. I tried including the pch.h in the files i added but it makes no difference