PingPhotonics
asked on
fatal error C1083: Cannot open source file: '..\..\..\MyInclude\Source\theUSB.cpp': No such file or directory
I'm developing a C++ (MFC) solution in visual Studio 2008 that produces as output an activeX control. Its a legacy project that I think was created using an earlier version of Visual Studio (2003?)
The compilation error I get is;
fatal error C1083: Cannot open source file: '..\..\..\MyInclude\Source \theUSB.cp p': No such file or directory c1xx
This error is occurring in the file "c1xx". There is no file c1xx in my project. However from googling I understand this represents the compiler?
Ive done a search in my project (there is only the one project in the solution) for the string "Source\theUSB.cpp" and it does not exist. Note the file "the USB.cpp" does exist. I think all I need to do is remove the path and change it to simply the USB.cpp and the project should compile ok.
But the question is where is the compiler finding the path '..\..\..\MyInclude\Source \theUSB.cp p' ? Its not in the source code anywhere and I can't see it in any of the options that allow you to set additional directories. ie. includes and libraries.
Has anyone had a similar problem?
The compilation error I get is;
fatal error C1083: Cannot open source file: '..\..\..\MyInclude\Source
This error is occurring in the file "c1xx". There is no file c1xx in my project. However from googling I understand this represents the compiler?
Ive done a search in my project (there is only the one project in the solution) for the string "Source\theUSB.cpp" and it does not exist. Note the file "the USB.cpp" does exist. I think all I need to do is remove the path and change it to simply the USB.cpp and the project should compile ok.
But the question is where is the compiler finding the path '..\..\..\MyInclude\Source
Has anyone had a similar problem?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER