c++.command-line - OPTLINK Error: 118: Filename Expected
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? 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
I think its the ++ in D:\c++_stuff , try renaming to cpp. C "bpolen" <bpolen_member pathlink.com> wrote in message news:btmrsr$1ae1$1 digitaldaemon.com...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\schello.cpp -ID:\C++_STUFF\digitalmars\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 ExpectedLIB="d:\c++_stuff\digitalmars\dm\bin\..\lib";"d:\c++_stuff\digitalmars\dm\bi n\..\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 orderforit to use IOSTREAM or is it pre compiled to work with digital mars? I am using the following: OS = windows xp the following are non-cd versions of Digital mars software. In otherwords Idownloaded 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
Thanks for the fast help. Linker doesn't like ++ in file or directory names!!! In article <btmv6o$1fdr$1 digitaldaemon.com>, C says...I think its the ++ in D:\c++_stuff , try renaming to cpp. C "bpolen" <bpolen_member pathlink.com> wrote in message news:btmrsr$1ae1$1 digitaldaemon.com...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\schello.cpp -ID:\C++_STUFF\digitalmars\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 ExpectedLIB="d:\c++_stuff\digitalmars\dm\bin\..\lib";"d:\c++_stuff\digitalmars\dm\bi n\..\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 orderforit to use IOSTREAM or is it pre compiled to work with digital mars? I am using the following: OS = windows xp the following are non-cd versions of Digital mars software. In otherwords Idownloaded 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