🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac.programmer.codewarrior
Article #1087

Re: Error Can't open file

#1087
From: Adin Hunter Baber
Date: Wed, 02 Jan 2002 12:00
44 lines
2945 bytes
In article <mwron-100E37.20021831122001@enews.newsguy.com>,
 MW Ron <mwron@metrowerks.com> wrote:

> In article 
> <mjolnir_DELETE_-6D4D18.12045831122001@east.usenetserver.com>,
>  Adin Hunter Baber <mjolnir_DELETE_@soltec.net> wrote:
> 
> >I have a somewhat whacked error.
> >
> >During compliation, I got an error that stated "Servo.hpp could not be 
> >opened."  If I changed one letter in the file name  (and modified the 
> >thwo places it was included) the compliing would work.
> >
> >I tried several diferrent spellings (ex "SServo.hpp", "Servo_.hpp", 
> >"Servo.h", "Servo.hp"), and they all worked... but as soon as the file 
> >was renamed "Servo.hpp", it could no longer be opened.
> 
> Hmmm I'd suspect a unprintable character or space in the file name or in 
> where you included it as the most likely problem.  Another common error 
> is using the brackets instead of quotes by accident.
> 
> I've tried to duplicate this and I couldn't so it is likely just 
> something on your system or a type error.
> 
> Ron

Apparently it was a cosmic alignment of the stars that was the problem.  

Here is what I did to fix it.

Copy the project into a temp location.  Copy "Servo.hpp" into that 
folder.  Make sure the proper includes say "Servo.hpp".  Compiled fine.

Copy Servo.hpp back into the original header folder.  Set the original 
project's include back to "Servo.hpp".  Compiled fine.

Apparently, copying the file and putting it back into the include folder 
fixed the problem.

-- 
Adin Hunter Baber
"Death is lighter than a feather, Duty heavier than a mountain"
"...nevertheless, they fought on even though their homes were piles of ashes,
even though they knew they could not win they still fought on,..."
Technical Details
Message-ID: <mjolnir_DELETE_-DD8657.06004002012002@east.usenetserver.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!btnet-peer0!btnet-peer1!btnet!newsfeeds-atl2!newsfeeds-atl1.usenetserver.com!atlpnn01.usenetserver.com.POSTED!53ab2750!not-for-mail
References: <mjolnir_DELETE_-6D4D18.12045831122001@east.usenetserver.com> <mwron-100E37.20021831122001@enews.newsguy.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10bcce,d797eaf363b720d2
X-Google-Attributes: gid10bcce,public
X-Google-Thread: f635e,d797eaf363b720d2
X-Google-Attributes: gidf635e,public
X-Google-ArrivalTime: 2002-01-02 04:00:52 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!btnet-peer0!btnet-peer1!btnet!newsfeeds-atl2!newsfeeds-atl1.usenetserver.com!atlpnn01.usenetserver.com.POSTED!53ab2750!not-for-mail
From: Adin Hunter Baber <mjolnir_DELETE_@soltec.net>
Newsgroups: comp.sys.mac.programmer.codewarrior,codewarrior.mac
Subject: Re: Error Can't open file
Organization: Soltec
References: <mjolnir_DELETE_-6D4D18.12045831122001@east.usenetserver.com> <mwron-100E37.20021831122001@enews.newsguy.com>
User-Agent: MT-NewsWatcher/3.1 (PPC)
Message-ID: <mjolnir_DELETE_-DD8657.06004002012002@east.usenetserver.com>
Lines: 44
X-Complaints-To: abuse@usenetserver.com
X-Abuse-Info: Please be sure to forward a copy of ALL headers
X-Abuse-Info: Otherwise we will be unable to process your complaint properly.
NNTP-Posting-Date: Wed, 02 Jan 2002 07:00:38 EST
Date: Wed, 02 Jan 2002 06:00:55 -0600