When attempting to compile 'sample.hug' in a directory that is not the same as my main Hugo folder (and with @lib=c:\my lib files path), I get:
Unable to compile using '"C:\Program Files\Hugo\hc.exe" @list=. -ls @lib=c:\program files\hugo\lib "C:\Documents and Settings\Cena\Desktop\HugoProjects\sample.hug"' - Exit code = 2 (1)
Using the command line from my Hugo dir (which also contains the library files), I get:
C:\Program Files\Hugo> hc @source=c:\documents and settings\desktop\cena\hugoprojects\sample.hug
Fatal error: Unable to open and.hug
3.1b Win compilation errors
Moderators: Ice Cream Jonsey, joltcountry
-
- Posts: 73
- Joined: Mon Jun 28, 2004 4:45 pm
- Location: Minneapolis, Minnesota
-
- Posts: 119
- Joined: Fri Jun 27, 2003 12:10 pm
Re: 3.1b Win compilation errors
That sounds sort of like a bug I thought had been fixed previously. I'll look into it again as soon as I get a chance.Hugella wrote:When attempting to compile 'sample.hug' in a directory that is not the same as my main Hugo folder (and with @lib=c:\my lib files path), I get:
Unable to compile using '"C:\Program Files\Hugo\hc.exe" @list=. -ls @lib=c:\program files\hugo\lib "C:\Documents and Settings\Cena\Desktop\HugoProjects\sample.hug"' - Exit code = 2 (1)
Using the command line from my Hugo dir (which also contains the library files), I get:
C:\Program Files\Hugo> hc @source=c:\documents and settings\desktop\cena\hugoprojects\sample.hug
Fatal error: Unable to open and.hug
-
- Posts: 119
- Joined: Fri Jun 27, 2003 12:10 pm
Is this the 3.1 beta compiler? It's probably catching an error that the earlier compiler didn't. The soon-to-be-released compiler/library combination doesn't give this error.cauldron wrote:Hello,
When compiling I have a warning:
hugolib.h:832: routine setobjword: Warning: Statement will never be reached
I have the same result with shell.hug.
Did I use an old library?
-
- Posts: 119
- Joined: Fri Jun 27, 2003 12:10 pm
Re: 3.1b Win compilation errors
Actually, if I had read this carefully, I would've suggested trying:Kent wrote:That sounds sort of like a bug I thought had been fixed previously. I'll look into it again as soon as I get a chance.
@lib="c:\My Path With Spaces"
with the path contained in double-quotes (for Windows/DOS).
Does that help?
(If so, sorry for the delay in getting a proper answer to you.)
-
- Posts: 6
- Joined: Thu Jul 15, 2004 5:13 am
Yes, that's the 3.1beta. But that's not a problem anyway, it's only a warning and the games run well.Kent wrote:Is this the 3.1 beta compiler? It's probably catching an error that the earlier compiler didn't. The soon-to-be-released compiler/library combination doesn't give this error.
BTW, I just say the trailer for FutureBoy, and it sure looks promising! But what is it exactly ? A Hugo game? a flash game? or something totally different?
(And the red-headed girl is HOT! I've always prefered the vilainesses in comics, they are always much sexier than their good counterparts...)