Thread overview | ||||||
---|---|---|---|---|---|---|
|
October 10, 2007 Fatal error | ||||
---|---|---|---|---|
| ||||
I'm trying to compile a simple Win32 program and I've been getting a strange error. Here's the command line I'm using: dmc swp -mn -WA @c:\dm\lib\gdi32.lib where swp.cpp is the name of the source file. When I execute this command, the compiler generates this: swp.cpp: ≡: Fatal error: unable to open input file '≡' I have no idea why it's doing this. Does anyone have any ideas? |
October 10, 2007 Re: Fatal error | ||||
---|---|---|---|---|
| ||||
Posted in reply to Zach Kreft | Zach Kreft wrote:
> I'm trying to compile a simple Win32 program and I've been getting
> a strange error. Here's the command line I'm using:
>
> dmc swp -mn -WA @c:\dm\lib\gdi32.lib
>
> where swp.cpp is the name of the source file. When I execute this
> command, the compiler generates this:
>
> swp.cpp:
> ≡:
> Fatal error: unable to open input file '≡'
>
> I have no idea why it's doing this. Does anyone have any ideas?
What's the @ doing in the command line?
|
October 11, 2007 Re: Fatal error | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter Bright | The @ is there to indicate the location of the library being used. For some reason, the compiler wouldn't find it using the default settings. Actually, the symbol generated wasn't '≡' which is how it is being rendered online. The actual symbol (which I copied and pasted) is a character that looks like an equal sign with an exra line. Any ideas? |
October 11, 2007 Re: Fatal error | ||||
---|---|---|---|---|
| ||||
Posted in reply to Zach Kreft | Zach Kreft wrote: > The @ is there to indicate the location of the library being > used. For some reason, the compiler wouldn't find it using the > default settings. That makes me suspect weird things are in your PATH, or LIB. > > Actually, the symbol generated wasn't '≡' which is how it is > being rendered online. The actual symbol (which I copied and > pasted) is a character that looks like an equal sign with an exra > line. > > Any ideas? > I suggest looking at the PATH or LIB environment variable to see if it has funny characters in it. Also the sc.ini file. |
Copyright © 1999-2021 by the D Language Foundation