EmbeddedRelated.com
Forums

DC 9.62 with Win10 can't "find" external SHD .c file

Started by "sdw...@usa.net [rabbit-semi]" December 17, 2015
I have an application that uses the SHD download library, and it compiles and runs fine under Win7. I just got a new PC running Win10 and it produces a compile error message stating that it can't find the file "http_upload.c". That file is entered in the lib.dir file, exactly as under Win7. Other than for this problem, the new installation under Win10 appears to be functional. Any ideas?
Absolute path or relative path? Maybe try using a path relative to the Dynamic C installation?

Is it finding the built-in libraries correctly?

-Tom
On Dec 17, 2015, at 5:54 PM, s...@usa.net [rabbit-semi] wrote:
> I have an application that uses the SHD download library, and it compiles and runs fine under Win7. I just got a new PC running Win10 and it produces a compile error message stating that it can't find the file "http_upload.c". That file is entered in the lib.dir file, exactly as under Win7. Other than for this problem, the new installation under Win10 appears to be functional. Any ideas?
Tom,

I included the full absolute path in lib.dir.

All built-in libraries seem ok, as does the SHD library that I also added to lib.dir. The only thing that the compiler complains about is http_upload.c.

Steve

---In r..., wrote :

Absolute path or relative path? Maybe try using a path relative to the Dynamic C installation?

Is it finding the built-in libraries correctly?

-Tom

On Dec 17, 2015, at 5:54 PM, sdwhite1@... mailto:sdwhite1@... [rabbit-semi] wrote:
I have an application that uses the SHD download library, and it compiles and runs fine under Win7. I just got a new PC running Win10 and it produces a compile error message stating that it can't find the file "http_upload.c". That file is entered in the lib.dir file, exactly as under Win7. Other than for this problem, the new installation under Win10 appears to be functional. Any ideas?
While pursuing this problem I found that the Windows 10 file manager couldn't find anything (really, anything!). After a little research, I found a suggestion to delete and rebuild the Windows index for the drive containing my data. After the rebuild (which took several hours), the find function worked and my http_upload.c problem also went away. This is apparently another Windows quirk.

Steve