c++.stl.port - Installation of STLPort 4.5.3 unclear
I have recently decided to try out digital mars. I have found it to be an outstanding alternative to gcc on win32. I am, however having problems with stlport. The documentation seems to state that just unpacking it an setting your include directory with the stlport dir first is all you need to do. However when I try to compile I get the following errors: ________________________________________________________________________________ D:\c++book>dmc -cpp -o+all -A forloop.cpp ^ D:\C_STUFF\digitalmars\dm\stlport\stlport\stl/_config.h(370) : Preprocessor erro r: '_STLP_DEFAULT_TYPE_PARAM' is already defined using _STLP_VENDOR_CSTD::fgetws; ^ D:\C_STUFF\digitalmars\dm\stlport\stlport\cwchar(200) : Error: undefined identif ier 'fgetws' using _STLP_VENDOR_CSTD::fputws; ^ D:\C_STUFF\digitalmars\dm\stlport\stlport\cwchar(202) : Error: undefined identif ier 'fputws' using _STLP_VENDOR_CSTD::getwchar; ^ D:\C_STUFF\digitalmars\dm\stlport\stlport\cwchar(212) : Error: undefined identif ier 'getwchar' using _STLP_VENDOR_CSTD::getwc; ^ D:\C_STUFF\digitalmars\dm\stlport\stlport\cwchar(216) : Error: undefined identif ier 'getwc' Fatal error: too many errors ________________________________________________________________________________ Without the -A I get no errors and the c++ file compiles and links cleanly. 1. What do these errors signify? 2. Do I need to compile stlport as per stlports own documentation? 3. Do I need to apply the diff.txt file that comes with the 4.5.3 digital mars port? 4. Do I need to compile iostreams? 5. Does the CD version come with STLport pre-compiled and ready to go? 6. If I don't use "-A" compile option is digital mars using STLport? Any information you can give me to resolve these issues would be appreciated. Maybe this could help others as well. Thanks; Ben ________________________________________________________________________________ System information OS= Windows XP Digital Mars version = 8.38 (Downloaded) Stlport version = 4.5.3 (Downloaded from Digital Mars Web Site)
Jan 14 2004
"Benjamin" <Benjamin_member pathlink.com> wrote in message news:bu48uk$25p7$1 digitaldaemon.com...I have recently decided to try out digital mars. I have found it to be an outstanding alternative to gcc on win32. I am, however having problems with stlport. The documentation seems to state that just unpacking it an setting yourincludedirectory with the stlport dir first is all you need to do. However when I try to compile I get the following errors:____________________________________________________________________________ ____D:\c++book>dmc -cpp -o+all -A forloop.cpp ^ D:\C_STUFF\digitalmars\dm\stlport\stlport\stl/_config.h(370) :Preprocessor error: '_STLP_DEFAULT_TYPE_PARAM' is already defined using _STLP_VENDOR_CSTD::fgetws; ^ D:\C_STUFF\digitalmars\dm\stlport\stlport\cwchar(200) : Error: undefinedidentifier 'fgetws' using _STLP_VENDOR_CSTD::fputws; ^ D:\C_STUFF\digitalmars\dm\stlport\stlport\cwchar(202) : Error: undefinedidentifier 'fputws' using _STLP_VENDOR_CSTD::getwchar; ^ D:\C_STUFF\digitalmars\dm\stlport\stlport\cwchar(212) : Error: undefinedidentifier 'getwchar' using _STLP_VENDOR_CSTD::getwc; ^ D:\C_STUFF\digitalmars\dm\stlport\stlport\cwchar(216) : Error: undefinedidentifier 'getwc' Fatal error: too many errors____________________________________________________________________________ ____Without the -A I get no errors and the c++ file compiles and linkscleanly.1. What do these errors signify?That the stlport files are not strictly ansi compatible.2. Do I need to compile stlport as per stlports own documentation?No. Just leave off the -A switch.3. Do I need to apply the diff.txt file that comes with the 4.5.3 digitalmarsport?No.4. Do I need to compile iostreams?No. Just use the included library.5. Does the CD version come with STLport pre-compiled and ready to go?Yes.6. If I don't use "-A" compile option is digital mars using STLport?Yes.Any information you can give me to resolve these issues would beappreciated.Maybe this could help others as well. Thanks; Ben____________________________________________________________________________ ____System information OS= Windows XP Digital Mars version = 8.38 (Downloaded) Stlport version = 4.5.3 (Downloaded from Digital Mars Web Site)
Jan 16 2004
Thanks Walter for answering all my questions!!!! In article <bu9490$13aa$2 digitaldaemon.com>, Walter says..."Benjamin" <Benjamin_member pathlink.com> wrote in message news:bu48uk$25p7$1 digitaldaemon.com...I have recently decided to try out digital mars. I have found it to be an outstanding alternative to gcc on win32. I am, however having problems with stlport. The documentation seems to state that just unpacking it an setting yourincludedirectory with the stlport dir first is all you need to do. However when I try to compile I get the following errors:____________________________________________________________________________ ____D:\c++book>dmc -cpp -o+all -A forloop.cpp ^ D:\C_STUFF\digitalmars\dm\stlport\stlport\stl/_config.h(370) :Preprocessor error: '_STLP_DEFAULT_TYPE_PARAM' is already defined using _STLP_VENDOR_CSTD::fgetws; ^ D:\C_STUFF\digitalmars\dm\stlport\stlport\cwchar(200) : Error: undefinedidentifier 'fgetws' using _STLP_VENDOR_CSTD::fputws; ^ D:\C_STUFF\digitalmars\dm\stlport\stlport\cwchar(202) : Error: undefinedidentifier 'fputws' using _STLP_VENDOR_CSTD::getwchar; ^ D:\C_STUFF\digitalmars\dm\stlport\stlport\cwchar(212) : Error: undefinedidentifier 'getwchar' using _STLP_VENDOR_CSTD::getwc; ^ D:\C_STUFF\digitalmars\dm\stlport\stlport\cwchar(216) : Error: undefinedidentifier 'getwc' Fatal error: too many errors____________________________________________________________________________ ____Without the -A I get no errors and the c++ file compiles and linkscleanly.1. What do these errors signify?That the stlport files are not strictly ansi compatible.2. Do I need to compile stlport as per stlports own documentation?No. Just leave off the -A switch.3. Do I need to apply the diff.txt file that comes with the 4.5.3 digitalmarsport?No.4. Do I need to compile iostreams?No. Just use the included library.5. Does the CD version come with STLport pre-compiled and ready to go?Yes.6. If I don't use "-A" compile option is digital mars using STLport?Yes.Any information you can give me to resolve these issues would beappreciated.Maybe this could help others as well. Thanks; Ben____________________________________________________________________________ ____System information OS= Windows XP Digital Mars version = 8.38 (Downloaded) Stlport version = 4.5.3 (Downloaded from Digital Mars Web Site)
Jan 18 2004