Thread overview
OPTLINK Error: 118: Filename Expected
Jan 09, 2004
bpolen
May 04, 2004
schh
May 04, 2004
schh
January 09, 2004
I have setup stlport as defined by the readme.txt file under dm\stlport.
yet when I try to compile the hello.cpp file that comes with the stlport
distribution located on the digital mars download page I get the following
errors.
D:\C__BOO~1>d:\c++_stuff\digitalmars\dm\bin\sc hello.cpp -ID:\C++_STUFF\digitalm
ars\dm\stlport\stlport
link hello,,,user32+kernel32/noi;
OPTLINK (R) for Win32  Release 7.50B1
Copyright (C) Digital Mars 1989 - 2001  All Rights Reserved

OPTLINK : Error 118: Filename Expected
LIB="d:\c++_stuff\digitalmars\dm\bin\..\lib";"d:\c++_stuff\digitalmars\dm\bin\..
\mfc\lib";D:\Program Files\Microsoft SDK\Lib;D:\Boost\lib
^
Why do I get this error?

It doesn't seem to be stlport related!
I am using the default sc.ini.
Even if I remove the everything from the sc.ini LIB line execept for
"d:\c++_stuff\digitalmars\dm\bin\..\lib"
I still get the error.
Can anyone help with this?
Also do I need to compile the stlport 4.5.3(digital mars version) in order for
it to use IOSTREAM or is it pre compiled to work with digital mars?

*****Note This occurs even when I am not using a c++ program the uses the STL libraries I can't compile any c++ program.  All of the program that I do try to compile work fine with MINGW so I know they are ok*****

I am using the following:
OS = windows xp
the following are non-cd versions of Digital mars software.  In other words I
downloaded it from the Digital mars website:
digital mars compiler = 8.38
DOS 16 libraries
32 bit DOS extender libraries Version 8.31
Basic Utilities
STLport 4.5.3: modified for digital mars
STLSoft 1.6.5: dowloaded from digital mars website
Garbage Collector


May 04, 2004
In article <btmsij$1bci$1@digitaldaemon.com>, bpolen says...
>
>I have setup stlport as defined by the readme.txt file under dm\stlport.
>yet when I try to compile the hello.cpp file that comes with the stlport
>distribution located on the digital mars download page I get the following
>errors.
>D:\C__BOO~1>d:\c++_stuff\digitalmars\dm\bin\sc hello.cpp -ID:\C++_STUFF\digitalm
>ars\dm\stlport\stlport
>link hello,,,user32+kernel32/noi;
>OPTLINK (R) for Win32  Release 7.50B1
>Copyright (C) Digital Mars 1989 - 2001  All Rights Reserved
>
>OPTLINK : Error 118: Filename Expected
>LIB="d:\c++_stuff\digitalmars\dm\bin\..\lib";"d:\c++_stuff\digitalmars\dm\bin\..
>\mfc\lib";D:\Program Files\Microsoft SDK\Lib;D:\Boost\lib
>^
>Why do I get this error?
>
>It doesn't seem to be stlport related!
>I am using the default sc.ini.
>Even if I remove the everything from the sc.ini LIB line execept for
>"d:\c++_stuff\digitalmars\dm\bin\..\lib"
>I still get the error.
>Can anyone help with this?
>Also do I need to compile the stlport 4.5.3(digital mars version) in order for
>it to use IOSTREAM or is it pre compiled to work with digital mars?
>
>*****Note This occurs even when I am not using a c++ program the uses the STL libraries I can't compile any c++ program.  All of the program that I do try to compile work fine with MINGW so I know they are ok*****
>
>I am using the following:
>OS = windows xp
>the following are non-cd versions of Digital mars software.  In other words I
>downloaded it from the Digital mars website:
>digital mars compiler = 8.38
>DOS 16 libraries
>32 bit DOS extender libraries Version 8.31
>Basic Utilities
>STLport 4.5.3: modified for digital mars
>STLSoft 1.6.5: dowloaded from digital mars website
>Garbage Collector
>
>Just make sure you don´t use any + on any file or folder in the path. Then it works fine!


May 04, 2004
In article <btmsij$1bci$1@digitaldaemon.com>, bpolen says...
>
>I have setup stlport as defined by the readme.txt file under dm\stlport.
>yet when I try to compile the hello.cpp file that comes with the stlport
>distribution located on the digital mars download page I get the following
>errors.
>D:\C__BOO~1>d:\c++_stuff\digitalmars\dm\bin\sc hello.cpp -ID:\C++_STUFF\digitalm
>ars\dm\stlport\stlport
>link hello,,,user32+kernel32/noi;
>OPTLINK (R) for Win32  Release 7.50B1
>Copyright (C) Digital Mars 1989 - 2001  All Rights Reserved
>
>OPTLINK : Error 118: Filename Expected
>LIB="d:\c++_stuff\digitalmars\dm\bin\..\lib";"d:\c++_stuff\digitalmars\dm\bin\..
>\mfc\lib";D:\Program Files\Microsoft SDK\Lib;D:\Boost\lib
>^
>Why do I get this error?
>
>It doesn't seem to be stlport related!
>I am using the default sc.ini.
>Even if I remove the everything from the sc.ini LIB line execept for
>"d:\c++_stuff\digitalmars\dm\bin\..\lib"
>I still get the error.
>Can anyone help with this?
>Also do I need to compile the stlport 4.5.3(digital mars version) in order for
>it to use IOSTREAM or is it pre compiled to work with digital mars?
>
>*****Note This occurs even when I am not using a c++ program the uses the STL libraries I can't compile any c++ program.  All of the program that I do try to compile work fine with MINGW so I know they are ok*****
>
>I am using the following:
>OS = windows xp
>the following are non-cd versions of Digital mars software.  In other words I
>downloaded it from the Digital mars website:
>digital mars compiler = 8.38
>DOS 16 libraries
>32 bit DOS extender libraries Version 8.31
>Basic Utilities
>STLport 4.5.3: modified for digital mars
>STLSoft 1.6.5: dowloaded from digital mars website
>Garbage Collector
>
>Just make sure you don´t use any + on any file or folder in the path. Then it works fine!