This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

error: "<path dir> fatal error #1965: cannot open source file aaa.h"

Hi Lee,
Thanks for the reply, the issue was resolved.
I have an another issue, while I was building it was build fine and generate the xxxxx.lib in the debug. I include this to the "include paths" inside the "Add dir" as like "${workspace_loc:/xxxxx}" and also in the "File Search path" inside "include library file" as like "${workspace_loc:/xxxxx/Debug/xxxxx.lib}" in my main project.
But when I build my main project I was getting error: "<path dir> fatal error #1965: cannot open source file aaa.h" and these are pointing in to "xxxxx" project files. My main is building fine without including this .lib.
So, where is the problem.
I tried by adding pointed source file path "${workspace_loc:/x1/x2}" inside "add dir" of main, its no use. So, again tried by adding the same path along with the header "${workspace_loc:/x1/x2/aaa.h}" inside the "preinclude file" of my main, after this I was getting another same error "<path dir> fatal error #1965: cannot open source file bbb.h". I repeat the same procedure but no use. I am not sure what I tried is correct way or not.
Can you help us to solve our issue.
Regards,
Raghu DS

  • Hello Raghu,
    I split this thread from the original one since this is a different issue. Next time, start a new thread for a new question.

    As for your question, that error is a compiler error - specifying that it is unable to find the aaa.h header file. You need to have the path to that file in the field for your include search path option (NOT the preinclude field). Note that you just need the path to the file, NOT the full path + file.

    If this is not working, please show me your include search path build properties.

    Thanks
    ki