Page 1 of 1

Cannot open include file Permission denied

Posted: 29 Sep 2016, 08:02
by Jinhuan
Error 11 error C1083: Cannot open include file: 'D:/BCI/BCI2000 source/build/CMakeFiles/buildutils/build/buildutils/BootstrapCustomProjects/templates/CMakeLists-Application.txt.in.res.cpp': Permission denied D:\BCI\BCI2000 source\build\CMakeFiles\buildutils\BootstrapCustomProjects\Resources.inc 2 1 NewBCI2000Filter


I met many errors like this, who know why and give me some advice? thank you!

Re: Cannot open include file Permission denied

Posted: 29 Sep 2016, 09:08
by pbrunner
Jinhuan,

I see that you are building BCI2000 on drive D. Is this by any chance an external hard drive, USB stick or network drive? If so, please check if you get the same error if you build BCI2000 on the native drive (i.e., C:\). It might just be that you either have a FAT32 drive, insufficient permissions, or just not enough free space on this drive. Let me know if this resolves the issue.

Regards, Peter

Re: Cannot open include file Permission denied

Posted: 29 Sep 2016, 09:36
by Jinhuan
Hi Peter,
Thank you again for your prompt reply, I'll try tomorrow!

Re: Cannot open include file Permission denied

Posted: 29 Sep 2016, 23:25
by Jinhuan
Sorry Peter,

It just prompt the same error like below. The most important is I can't find the TemplateApplication.cpp.in.res.cpp file in template folder.

Error 14 error C1083: Cannot open include file: 'TemplateApplication.cpp.in.res.cpp': No such file or directory C:\BCI2000 source\build\CMakeFiles\buildutils\BootstrapCustomProjects\Resources.inc 6 1 NewBCI2000FilterTool

Error 15 error C1083: Cannot open source file: 'C:\BCI2000 source\build\CMakeFiles\buildutils\build\buildutils\BootstrapCustomProjects\templates\TemplateBufferedADC.cpp.in.res.cpp': Permission denied C:\BCI2000 source\build\CMakeFiles\buildutils\BootstrapCustomProjects\c1xx NewBCI2000FilterTool

Could you check again for me, thanks!

Re: Cannot open include file Permission denied

Posted: 04 Oct 2016, 11:13
by pbrunner
Jinhuan,

please try to check out the very latest SVN trunk (revision 5559). This version should fix the issue that you have experience. Let me know.

Regards, Peter

Re: Cannot open include file Permission denied

Posted: 05 Oct 2016, 07:06
by Jinhuan
Hi Peter,
I updated to the latest version, but still prompt the similar error below:

Error 11 error C1083: Cannot open source file: 'C:\BCI2000 source\build\build\buildutils\BootstrapCustomProjects\templates\TemplateFilter.h.in.res.cpp': Permission denied C:\BCI2000 source\build\CMakeFiles\buildutils\BootstrapCustomProjects\c1xx NewBCI2000FilterTool


After second run, it will prompt the unable to start program error like the attachment.

Joyce Jin