Click here to Skip to main content
       

C / C++ / MFC

 
You must Sign In to use this message board.
Search this forum  
    Spacing  Noise  Layout  Per page   
QuestionSOLVED Cannot access #include files – “permission denied” [modified]memberVaclav_Sal19 Jan '13 - 4:38 
I have downloaded IVT library ( Integrating Vision Toolkit), I made my app dependent on this library ( as DSP project in VC6.0) , I can partially compile the app because I get “permission denied” when I get to #include preprocessor statement.
I have checked the directory permissions and I have grayed out “read only” checked in IVT directory.
All of the sources I used so far said that such   grayed out “read only” checked ( in XP) does not make any difference (?)   when directories are involved.
All of my app directories have that grayed out “read only” checked and I have no problem including   other (OpenCV) libraries.
I am tempted to recopy / re-download the IVT files , but would like to hear from the forum what is going on here.
Appreciate any advise.
Cheers
Vaclav
 
Addendum
Here is the real code snippet
I must be doing something really stupid.
 
#pragma message("include IVT ")
#include <Z:\Program Files\IVT\ivt-1.3.19\IVT\src> // fails
#include <Z:\Program Files\IVT\ivt-1.3.19\IVT\src\Calibration> // fails
#include <Z:\Program Files\IVT\ivt-1.3.19\IVT\src\Calibration\Calibration.h> // OK

-- modified 19 Jan '13 - 13:10.
GeneralRe: Cannot access #include files – “permission denied” PinmemberVaclav_Sal19 Jan '13 - 7:09 
How stupid of me, I have done some stupid things but this one takes the first dummy price! Thanks Richard.
GeneralRe: Cannot access #include files – “permission denied” PinmvpRichard MacCutchan19 Jan '13 - 7:11 
Vaclav_Sal wrote:
I have done some stupid things
So have we all; it's a good learning experience.
GeneralRe: Cannot access #include files – “permission denied” PinmemberVaclav_Sal19 Jan '13 - 12:02 
Richard,
I spoke too soon.
Now I need to figure out how to unclude all the header files of   SUBDIRECTORIES. I need the IVT library in debug mode.
 
Do I have to create my own parent #include file ( such as
stdafx.h)   with all the other headers or is it a time to learn how to use CMake?
 
There is a Make file in the IVT stuff I dowloaded , but I never used Make.
 
Cheers Vaclav
GeneralRe: Cannot access #include files – “permission denied” PinmvpRichard MacCutchan19 Jan '13 - 21:26 
Vaclav_Sal wrote:
Do I have to create my own parent #include file ( such as
stdafx.h)   with all the other headers or is it a time to learn how to use CMake?
I'm not sure what you mean, the two are not connected. Using pre-compiled headers via stdafx.h merely helps to reduce the compile time of your source files, but you still need to #include all the individual header files. I have used make in the past and it is a good system, but I don't think it offers any advantages when you are creating Windows applications. Using the VS build system will do all you need.

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   


Advertise | Privacy | Mobile
Web01 | 2.6.130516.1 | Last Updated 22 May 2013
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid