www.digitalmars.com Home | Search | C & C++ | D | DMDScript | News Groups | index | prev | next
Archives

D Programming
D
D.gnu
digitalmars.D
digitalmars.D.bugs
digitalmars.D.dtl
digitalmars.D.dwt
digitalmars.D.announce
digitalmars.D.learn
digitalmars.D.debugger

C/C++ Programming
c++
c++.announce
c++.atl
c++.beta
c++.chat
c++.command-line
c++.dos
c++.dos.16-bits
c++.dos.32-bits
c++.idde
c++.mfc
c++.rtl
c++.stl
c++.stl.hp
c++.stl.port
c++.stl.sgi
c++.stlsoft
c++.windows
c++.windows.16-bits
c++.windows.32-bits
c++.wxwindows

digitalmars.empire
digitalmars.DMDScript

c++ - OPTLINK Error: 118: Filename Expected

↑ ↓ ← bpolen <bpolen_member pathlink.com> writes:
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
Jan 09 2004
→ schh <schh_member pathlink.com> writes:
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
→ schh <schh_member pathlink.com> writes:
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