August 20, 2002
 i have download and unzip the stlport file in

dm\stlport folder

but still can not compile.
i have read the readme,  i don have smake to compiler it to dll.

help please

thanks

wong


"Walter" <walter@digitalmars.com> wrote in message news:ajs6ce$2mfg$1@digitaldaemon.com...
>
> "Cesar Rabak" <csrabak@uol.com.br> wrote in message news:3D61998F.AC8A504A@uol.com.br...
> > > Sheer stupidity? <g> Don't blame Christof, I wrote that file.
> > You're being too tough on yourself! I would then try to point to over the hours intellectual exhaustion (at least it sounds better isn't it? ;-)
>
> I have uploaded a fixed version of the file now. STLport is pretty complicated, and doesn't need bugs in the readme to make things even more confusing. Thanks for pointing out the error so it could get fixed.
>
>


August 20, 2002
"wong" <flwong@eads.com.my> wrote in message news:ajs5jt$2ljt$1@digitaldaemon.com...
> still the same erorr message
>
> there is not stlport folder . only c:\dm\stl
> but -I\dm\stl  also not let me compile

Ah, you need to download STLport from www.digitalmars.com/download/freecompiler.html


August 20, 2002
"wong" <flwong@eads.com.my> wrote in message news:ajs6vq$2n0j$1@digitaldaemon.com...
> i have download and unzip the stlport file in
>
> dm\stlport folder
>
> but still can not compile.
> i have read the readme,  i don have smake to compiler it to dll.
>
> help please
>
> thanks
>
> wong

I uploaded the prebuilt binaries for downloading, www.digitalmars.com/download/freecompiler.html



August 20, 2002
already download and install.
but it need to compile ?

i in win2000 pc , no visual c ++



"Walter" <walter@digitalmars.com> wrote in message news:ajsaj1$2qhj$1@digitaldaemon.com...
>
> "wong" <flwong@eads.com.my> wrote in message news:ajs5jt$2ljt$1@digitaldaemon.com...
> > still the same erorr message
> >
> > there is not stlport folder . only c:\dm\stl
> > but -I\dm\stl  also not let me compile
>
> Ah, you need to download STLport from www.digitalmars.com/download/freecompiler.html
>
>


August 20, 2002
i have install the prebuild bin in my c:\dm\bin and lib

but i still can not compile the simple script below.


hello2.cpp

#include <iostream>

int main()
{
 std::cout <<  "hello,world !" << std::endl ;
 return 0;
}


error message show



C:\dm\bin>sc hello2.cpp
link hello2,,,user32+kernel32/noi;
OPTLINK (R) for Win32  Release 7.50B1
Copyright (C) Digital Mars 1989 - 2001  All Rights Reserved

hello2.obj(hello2)
 Error 42: Symbol Undefined ?_M_throw_failure@ios_base@@IAEXXZ (void syscall
ios
_base::_M_throw_failure(void ))
hello2.obj(hello2)
 Error 42: Symbol Undefined ??1ios_base@@UAE@XZ (syscall
ios_base::~ios_base(voi
d ))
hello2.obj(hello2)
 Error 42: Symbol Undefined ??0Init@ios_base@@QAE@XZ (syscall
ios_base::Init::In
it(void ))
hello2.obj(hello2)
 Error 42: Symbol Undefined ??0_Loc_init@ios_base@@QAE@XZ (syscall
ios_base::_Lo
c_init::_Loc_init(void ))
hello2.obj(hello2)
 Error 42: Symbol Undefined ??1_Loc_init@ios_base@@QAE@XZ (syscall
ios_base::_Lo
c_init::~_Loc_init(void ))
hello2.obj(hello2)
 Error 42: Symbol Undefined ??1Init@ios_base@@QAE@XZ (syscall
ios_base::Init::~I
nit(void ))
hello2.obj(hello2)
 Error 42: Symbol Undefined
?_STLP_cout@@3V?$basic_ostream@DV?$char_traits@D@@@@
A (basic_ostream<char ,char_traits<char > > _STLP_cout)

--- errorlevel 7



thanks

wong











"Walter" <walter@digitalmars.com> wrote in message news:ajsb5v$2r5t$1@digitaldaemon.com...
>
> "wong" <flwong@eads.com.my> wrote in message news:ajs6vq$2n0j$1@digitaldaemon.com...
> > i have download and unzip the stlport file in
> >
> > dm\stlport folder
> >
> > but still can not compile.
> > i have read the readme,  i don have smake to compiler it to dll.
> >
> > help please
> >
> > thanks
> >
> > wong
>
> I uploaded the prebuilt binaries for downloading, www.digitalmars.com/download/freecompiler.html
>
>
>


August 20, 2002
I think you will have to include the prebuild .lib file into you compile command line.



wong wrote:

> i have install the prebuild bin in my c:\dm\bin and lib
>
> but i still can not compile the simple script below.
>
> hello2.cpp
>
> #include <iostream>
>
> int main()
> {
>  std::cout <<  "hello,world !" << std::endl ;
>  return 0;
> }
>
> error message show
>
> C:\dm\bin>sc hello2.cpp
> link hello2,,,user32+kernel32/noi;
> OPTLINK (R) for Win32  Release 7.50B1
> Copyright (C) Digital Mars 1989 - 2001  All Rights Reserved
>
> hello2.obj(hello2)
>  Error 42: Symbol Undefined ?_M_throw_failure@ios_base@@IAEXXZ (void syscall
> ios
> _base::_M_throw_failure(void ))
> hello2.obj(hello2)
>  Error 42: Symbol Undefined ??1ios_base@@UAE@XZ (syscall
> ios_base::~ios_base(voi
> d ))
> hello2.obj(hello2)
>  Error 42: Symbol Undefined ??0Init@ios_base@@QAE@XZ (syscall
> ios_base::Init::In
> it(void ))
> hello2.obj(hello2)
>  Error 42: Symbol Undefined ??0_Loc_init@ios_base@@QAE@XZ (syscall
> ios_base::_Lo
> c_init::_Loc_init(void ))
> hello2.obj(hello2)
>  Error 42: Symbol Undefined ??1_Loc_init@ios_base@@QAE@XZ (syscall
> ios_base::_Lo
> c_init::~_Loc_init(void ))
> hello2.obj(hello2)
>  Error 42: Symbol Undefined ??1Init@ios_base@@QAE@XZ (syscall
> ios_base::Init::~I
> nit(void ))
> hello2.obj(hello2)
>  Error 42: Symbol Undefined
> ?_STLP_cout@@3V?$basic_ostream@DV?$char_traits@D@@@@
> A (basic_ostream<char ,char_traits<char > > _STLP_cout)
>
> --- errorlevel 7
>
> thanks
>
> wong
>
> "Walter" <walter@digitalmars.com> wrote in message news:ajsb5v$2r5t$1@digitaldaemon.com...
> >
> > "wong" <flwong@eads.com.my> wrote in message news:ajs6vq$2n0j$1@digitaldaemon.com...
> > > i have download and unzip the stlport file in
> > >
> > > dm\stlport folder
> > >
> > > but still can not compile.
> > > i have read the readme,  i don have smake to compiler it to dll.
> > >
> > > help please
> > >
> > > thanks
> > >
> > > wong
> >
> > I uploaded the prebuilt binaries for downloading, www.digitalmars.com/download/freecompiler.html
> >
> >
> >

August 20, 2002
i have try

sc hello2.cpp -I\dm\stlport\stlport \dm\lib\stlport_dm.lib -D_DLL

and

sc hello -I\dm\stlport\stlport \dm\lib\stlport_dm.lib

yes the file is compile to exe , but when run the hello2.exe it show error the dynamic link library sccrtp70.dll could not found ?

wong



"Jan Knepper" <jan@smartsoft.cc> wrote in message news:3D61C07A.8B1B8442@smartsoft.cc...
> I think you will have to include the prebuild .lib file into you compile
command
> line.
>
>
>
> wong wrote:
>
> > i have install the prebuild bin in my c:\dm\bin and lib
> >
> > but i still can not compile the simple script below.
> >
> > hello2.cpp
> >
> > #include <iostream>
> >
> > int main()
> > {
> >  std::cout <<  "hello,world !" << std::endl ;
> >  return 0;
> > }
> >
> > error message show
> >
> > C:\dm\bin>sc hello2.cpp
> > link hello2,,,user32+kernel32/noi;
> > OPTLINK (R) for Win32  Release 7.50B1
> > Copyright (C) Digital Mars 1989 - 2001  All Rights Reserved
> >
> > hello2.obj(hello2)
> >  Error 42: Symbol Undefined ?_M_throw_failure@ios_base@@IAEXXZ (void
syscall
> > ios
> > _base::_M_throw_failure(void ))
> > hello2.obj(hello2)
> >  Error 42: Symbol Undefined ??1ios_base@@UAE@XZ (syscall
> > ios_base::~ios_base(voi
> > d ))
> > hello2.obj(hello2)
> >  Error 42: Symbol Undefined ??0Init@ios_base@@QAE@XZ (syscall
> > ios_base::Init::In
> > it(void ))
> > hello2.obj(hello2)
> >  Error 42: Symbol Undefined ??0_Loc_init@ios_base@@QAE@XZ (syscall
> > ios_base::_Lo
> > c_init::_Loc_init(void ))
> > hello2.obj(hello2)
> >  Error 42: Symbol Undefined ??1_Loc_init@ios_base@@QAE@XZ (syscall
> > ios_base::_Lo
> > c_init::~_Loc_init(void ))
> > hello2.obj(hello2)
> >  Error 42: Symbol Undefined ??1Init@ios_base@@QAE@XZ (syscall
> > ios_base::Init::~I
> > nit(void ))
> > hello2.obj(hello2)
> >  Error 42: Symbol Undefined
> > ?_STLP_cout@@3V?$basic_ostream@DV?$char_traits@D@@@@
> > A (basic_ostream<char ,char_traits<char > > _STLP_cout)
> >
> > --- errorlevel 7
> >
> > thanks
> >
> > wong
> >
> > "Walter" <walter@digitalmars.com> wrote in message news:ajsb5v$2r5t$1@digitaldaemon.com...
> > >
> > > "wong" <flwong@eads.com.my> wrote in message news:ajs6vq$2n0j$1@digitaldaemon.com...
> > > > i have download and unzip the stlport file in
> > > >
> > > > dm\stlport folder
> > > >
> > > > but still can not compile.
> > > > i have read the readme,  i don have smake to compiler it to dll.
> > > >
> > > > help please
> > > >
> > > > thanks
> > > >
> > > > wong
> > >
> > > I uploaded the prebuilt binaries for downloading, www.digitalmars.com/download/freecompiler.html
> > >
> > >
> > >
>


August 20, 2002
wong wrote:

> i have try
> sc hello2.cpp -I\dm\stlport\stlport \dm\lib\stlport_dm.lib -D_DLL
> and
> sc hello -I\dm\stlport\stlport \dm\lib\stlport_dm.lib
> yes the file is compile to exe , but when run the hello2.exe it show error
> the dynamic link library sccrtp70.dll could not found ?

Are you sure that is sccrtp70.dll
I only know about sccrt70.dll and sccrt70d.dll

Jan


August 20, 2002
oh..sorry type wrong

is sccrt70.dll

any idea how to solve ?

"Jan Knepper" <jan@smartsoft.cc> wrote in message news:3D61D24A.659796E0@smartsoft.cc...
> wong wrote:
>
> > i have try
> > sc hello2.cpp -I\dm\stlport\stlport \dm\lib\stlport_dm.lib -D_DLL
> > and
> > sc hello -I\dm\stlport\stlport \dm\lib\stlport_dm.lib
> > yes the file is compile to exe , but when run the hello2.exe it show
error
> > the dynamic link library sccrtp70.dll could not found ?
>
> Are you sure that is sccrtp70.dll
> I only know about sccrt70.dll and sccrt70d.dll
>
> Jan
>
>


August 20, 2002
Yes; from the \dm\stlport\readme.txt:

    sc hello -I\dm\stlport\stlport \dm\lib\stlport_dm_static.lib



"Jan Knepper" <jan@smartsoft.cc> wrote in message news:3D61C07A.8B1B8442@smartsoft.cc...
> I think you will have to include the prebuild .lib file into you compile
command
> line.
>
>
>
> wong wrote:
>
> > i have install the prebuild bin in my c:\dm\bin and lib
> >
> > but i still can not compile the simple script below.
> >
> > hello2.cpp
> >
> > #include <iostream>
> >
> > int main()
> > {
> >  std::cout <<  "hello,world !" << std::endl ;
> >  return 0;
> > }
> >
> > error message show
> >
> > C:\dm\bin>sc hello2.cpp
> > link hello2,,,user32+kernel32/noi;
> > OPTLINK (R) for Win32  Release 7.50B1
> > Copyright (C) Digital Mars 1989 - 2001  All Rights Reserved
> >
> > hello2.obj(hello2)
> >  Error 42: Symbol Undefined ?_M_throw_failure@ios_base@@IAEXXZ (void
syscall
> > ios
> > _base::_M_throw_failure(void ))
> > hello2.obj(hello2)
> >  Error 42: Symbol Undefined ??1ios_base@@UAE@XZ (syscall
> > ios_base::~ios_base(voi
> > d ))
> > hello2.obj(hello2)
> >  Error 42: Symbol Undefined ??0Init@ios_base@@QAE@XZ (syscall
> > ios_base::Init::In
> > it(void ))
> > hello2.obj(hello2)
> >  Error 42: Symbol Undefined ??0_Loc_init@ios_base@@QAE@XZ (syscall
> > ios_base::_Lo
> > c_init::_Loc_init(void ))
> > hello2.obj(hello2)
> >  Error 42: Symbol Undefined ??1_Loc_init@ios_base@@QAE@XZ (syscall
> > ios_base::_Lo
> > c_init::~_Loc_init(void ))
> > hello2.obj(hello2)
> >  Error 42: Symbol Undefined ??1Init@ios_base@@QAE@XZ (syscall
> > ios_base::Init::~I
> > nit(void ))
> > hello2.obj(hello2)
> >  Error 42: Symbol Undefined
> > ?_STLP_cout@@3V?$basic_ostream@DV?$char_traits@D@@@@
> > A (basic_ostream<char ,char_traits<char > > _STLP_cout)
> >
> > --- errorlevel 7
> >
> > thanks
> >
> > wong
> >
> > "Walter" <walter@digitalmars.com> wrote in message news:ajsb5v$2r5t$1@digitaldaemon.com...
> > >
> > > "wong" <flwong@eads.com.my> wrote in message news:ajs6vq$2n0j$1@digitaldaemon.com...
> > > > i have download and unzip the stlport file in
> > > >
> > > > dm\stlport folder
> > > >
> > > > but still can not compile.
> > > > i have read the readme,  i don have smake to compiler it to dll.
> > > >
> > > > help please
> > > >
> > > > thanks
> > > >
> > > > wong
> > >
> > > I uploaded the prebuilt binaries for downloading, www.digitalmars.com/download/freecompiler.html
> > >
> > >
> > >
>