August 20, 2002 Re: i cannot compile | ||||
---|---|---|---|---|
| ||||
Posted in reply to wong | That file comes with the CD version of DMC++. Try linking with the non-DLL libs. -Walter "wong" <flwong@eads.com.my> wrote in message news:ajsk76$3ec$1@digitaldaemon.com... > 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 Re: i cannot compile | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter | Walter wrote: > > "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. Great! Thanks for all your indefatigable work to ameliorate DMC++ !! -- Cesar Rabak GNU/Linux User 52247. Get counted: http://counter.li.org/ |
August 21, 2002 Re: i cannot compile | ||||
---|---|---|---|---|
| ||||
Posted in reply to Cesar Rabak | me still can not compile ler.. anyone can help ? "Cesar Rabak" <csrabak@uol.com.br> wrote in message news:3D6245E5.CA854218@uol.com.br... > Walter wrote: > > > > "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. > > Great! Thanks for all your indefatigable work to ameliorate DMC++ !! > > -- > Cesar Rabak > GNU/Linux User 52247. > Get counted: http://counter.li.org/ |
August 21, 2002 Re: i cannot compile | ||||
---|---|---|---|---|
| ||||
Posted in reply to wong | "wong" <flwong@eads.com.my> wrote in message news:ajumph$2b9h$1@digitaldaemon.com... > me still can not compile ler.. anyone can help ? What exactly are you typing in as a command, and what is the result? |
August 21, 2002 Re: i cannot compile | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter | hi walter please read below C:\dm\bin>sc hello2.cpp -I\dm\stlport\stlport 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 "Walter" <walter@digitalmars.com> wrote in message news:ajupmu$2efg$1@digitaldaemon.com... > > "wong" <flwong@eads.com.my> wrote in message news:ajumph$2b9h$1@digitaldaemon.com... > > me still can not compile ler.. anyone can help ? > > What exactly are you typing in as a command, and what is the result? > > |
August 21, 2002 Re: i cannot compile | ||||
---|---|---|---|---|
| ||||
Posted in reply to wong | As before... You will need to include the .lib file for stlport into your
compile commandline.
Jan
wong wrote:
> hi walter
>
> please read below
>
> C:\dm\bin>sc hello2.cpp -I\dm\stlport\stlport
>
> 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
>
> "Walter" <walter@digitalmars.com> wrote in message news:ajupmu$2efg$1@digitaldaemon.com...
> >
> > "wong" <flwong@eads.com.my> wrote in message news:ajumph$2b9h$1@digitaldaemon.com...
> > > me still can not compile ler.. anyone can help ?
> >
> > What exactly are you typing in as a command, and what is the result?
> >
> >
|
August 21, 2002 Re: i cannot compile | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jan Knepper | i can compile now, but when running hello2.exe it sholw crrt70.dll not found anyone can help ? i using win2000 pc "Jan Knepper" <jan@smartsoft.cc> wrote in message news:3D63153D.17F2D0CE@smartsoft.cc... > As before... You will need to include the .lib file for stlport into your > compile commandline. > Jan > > > > wong wrote: > > > hi walter > > > > please read below > > > > C:\dm\bin>sc hello2.cpp -I\dm\stlport\stlport > > > > 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 > > > > "Walter" <walter@digitalmars.com> wrote in message news:ajupmu$2efg$1@digitaldaemon.com... > > > > > > "wong" <flwong@eads.com.my> wrote in message news:ajumph$2b9h$1@digitaldaemon.com... > > > > me still can not compile ler.. anyone can help ? > > > > > > What exactly are you typing in as a command, and what is the result? > > > > > > > > > |
August 21, 2002 Re: i cannot compile | ||||
---|---|---|---|---|
| ||||
Posted in reply to wong | Either...
You are compiling with -ND (Use DLL run time library) or a library you are
linking with (stlport) is compiled using -ND...
Turn this switch off, i.e. remove it and the problem should be solved.
Jan
wong wrote:
> i can compile now,
> but when running hello2.exe it sholw crrt70.dll not found
>
> anyone can help ?
>
> i using win2000 pc
>
> "Jan Knepper" <jan@smartsoft.cc> wrote in message news:3D63153D.17F2D0CE@smartsoft.cc...
> > As before... You will need to include the .lib file for stlport into your
> > compile commandline.
> > Jan
> >
> >
> >
> > wong wrote:
> >
> > > hi walter
> > >
> > > please read below
> > >
> > > C:\dm\bin>sc hello2.cpp -I\dm\stlport\stlport
> > >
> > > 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
> > >
> > > "Walter" <walter@digitalmars.com> wrote in message news:ajupmu$2efg$1@digitaldaemon.com...
> > > >
> > > > "wong" <flwong@eads.com.my> wrote in message news:ajumph$2b9h$1@digitaldaemon.com...
> > > > > me still can not compile ler.. anyone can help ?
> > > >
> > > > What exactly are you typing in as a command, and what is the result?
> > > >
> > > >
> >
> >
> >
|
August 21, 2002 Re: i cannot compile | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jan Knepper | got error when with -ND C:\dm\bin>sc hello2.cpp -I\dm\stlport\stlport \dm\lib\stlport_dm.lib -ND link hello2,,,\dm\lib\stlport_dm+user32+kernel32/noi; OPTLINK (R) for Win32 Release 7.50B1 Copyright (C) Digital Mars 1989 - 2001 All Rights Reserved SND.lib Warning 2: File Not Found SND.lib hello2.obj(hello2) Error 42: Symbol Undefined __acrtused_con hello2.obj(hello2) Error 42: Symbol Undefined ??3@YAXPAX@Z (void cdecl delete(void *)) hello2.obj(hello2) Error 42: Symbol Undefined __fatexit OPTLINK : Warning 134: No Start Address --- errorlevel 3 "Jan Knepper" <jan@smartsoft.cc> wrote in message news:3D63282D.11D21CC8@smartsoft.cc... > Either... > You are compiling with -ND (Use DLL run time library) or a library you are > linking with (stlport) is compiled using -ND... > Turn this switch off, i.e. remove it and the problem should be solved. > > Jan > > > > wong wrote: > > > i can compile now, > > but when running hello2.exe it sholw crrt70.dll not found > > > > anyone can help ? > > > > i using win2000 pc > > > > "Jan Knepper" <jan@smartsoft.cc> wrote in message news:3D63153D.17F2D0CE@smartsoft.cc... > > > As before... You will need to include the .lib file for stlport into your > > > compile commandline. > > > Jan > > > > > > > > > > > > wong wrote: > > > > > > > hi walter > > > > > > > > please read below > > > > > > > > C:\dm\bin>sc hello2.cpp -I\dm\stlport\stlport > > > > > > > > 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 > > > > > > > > "Walter" <walter@digitalmars.com> wrote in message news:ajupmu$2efg$1@digitaldaemon.com... > > > > > > > > > > "wong" <flwong@eads.com.my> wrote in message news:ajumph$2b9h$1@digitaldaemon.com... > > > > > > me still can not compile ler.. anyone can help ? > > > > > > > > > > What exactly are you typing in as a command, and what is the result? > > > > > > > > > > > > > > > > > > > > > > |
August 21, 2002 Re: i cannot compile | ||||
---|---|---|---|---|
| ||||
Posted in reply to wong | You should NOT use -ND!
-ND required sccrt70.dll which you do not have.
Jan
wong wrote:
> got error when with -ND
> C:\dm\bin>sc hello2.cpp -I\dm\stlport\stlport \dm\lib\stlport_dm.lib -ND
> link hello2,,,\dm\lib\stlport_dm+user32+kernel32/noi;
> OPTLINK (R) for Win32 Release 7.50B1
> Copyright (C) Digital Mars 1989 - 2001 All Rights Reserved
>
> SND.lib
> Warning 2: File Not Found SND.lib
> hello2.obj(hello2)
> Error 42: Symbol Undefined __acrtused_con
> hello2.obj(hello2)
> Error 42: Symbol Undefined ??3@YAXPAX@Z (void cdecl delete(void *))
> hello2.obj(hello2)
> Error 42: Symbol Undefined __fatexit
> OPTLINK : Warning 134: No Start Address
>
> --- errorlevel 3
>
> "Jan Knepper" <jan@smartsoft.cc> wrote in message news:3D63282D.11D21CC8@smartsoft.cc...
> > Either...
> > You are compiling with -ND (Use DLL run time library) or a library you are
> > linking with (stlport) is compiled using -ND...
> > Turn this switch off, i.e. remove it and the problem should be solved.
> >
> > Jan
> >
> >
> >
> > wong wrote:
> >
> > > i can compile now,
> > > but when running hello2.exe it sholw crrt70.dll not found
> > >
> > > anyone can help ?
> > >
> > > i using win2000 pc
> > >
> > > "Jan Knepper" <jan@smartsoft.cc> wrote in message news:3D63153D.17F2D0CE@smartsoft.cc...
> > > > As before... You will need to include the .lib file for stlport into
> your
> > > > compile commandline.
> > > > Jan
> > > >
> > > >
> > > >
> > > > wong wrote:
> > > >
> > > > > hi walter
> > > > >
> > > > > please read below
> > > > >
> > > > > C:\dm\bin>sc hello2.cpp -I\dm\stlport\stlport
> > > > >
> > > > > 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
> > > > >
> > > > > "Walter" <walter@digitalmars.com> wrote in message news:ajupmu$2efg$1@digitaldaemon.com...
> > > > > >
> > > > > > "wong" <flwong@eads.com.my> wrote in message news:ajumph$2b9h$1@digitaldaemon.com...
> > > > > > > me still can not compile ler.. anyone can help ?
> > > > > >
> > > > > > What exactly are you typing in as a command, and what is the
> result?
> > > > > >
> > > > > >
> > > >
> > > >
> > > >
> >
> >
> >
|
Copyright © 1999-2021 by the D Language Foundation