12-03-2008 02:57 PM
I am getting this error when trying to compile a running 32 bit application in 64.
"../inc/reporter_base.h", line 6: error #2005-D: could not open source file
in my make file i have included the source for that header like this
and I have checked the path to make sure that the xercesc/sax/HandlerBase.hpp file exsits.
What do i need to do? please help
12-03-2008 04:06 PM
It might help if we knew where your
HandlerBase.hpp really was. And what
$(OCIINCLUDES), $(BASE_DIR), and $(SECDIR)
Apparently, none of those "-I" options leads
to a place where the path
"xercesc/sax/HandlerBase.hpp" works, but we
non-psychics have no way to know exactly why.
12-03-2008 05:32 PM
Unless you are using clearcase, either the file is there or not.
If the #include had "", then it would also look in the current directory (of the including file) first.
12-04-2008 06:36 AM
The BASE_DIR = ../../../
SECDIR = /app/dvlp/common/Secure/C++
But I think the last post was on the money I am going to check the path to see if the user can open them or not.
I will let you guys know what else i have found
Thanks for the response
12-04-2008 12:19 PM
Don't feel too bad. The compiler could have helped you by giving a warning for bad -I paths.
You do get an error with:
$ UNIX95= c89 -c -I/var/adm/sw/products ~/hi.c
cc: error 1902: cannot open /var/adm/sw/products for -I directory search