www.digitalmars.com         C & C++   DMDScript  

c++.command-line - 8.52 + stlport = no joy

reply Jason King <jhking airmail.net> writes:
Posted this to STLPort yesterday, but got no replies.  Maybe more eyes 
in this group.  Looks related to "compiling without iostream".
Running Win 7 64 bit. Have dmc from CD.  Upgraded to 852.  Am trying to use
stlport.

rem avoid other toolchains
set include=
set lib=
rem compiling sample app in \dm\stlport
dmc hello -I\dm\stlport\stlport

using _STLP_VENDOR_CSTD::wint_t;
                               ^
c:\dm\stlport\stlport\cwchar(167) : Error: undefined identifier 'wint_t'
using _STLP_VENDOR_CSTD::fgetwc;
                               ^
c:\dm\stlport\stlport\cwchar(199) : Error: undefined identifier 'fgetwc'
using _STLP_VENDOR_CSTD::fgetws;
                               ^
c:\dm\stlport\stlport\cwchar(200) : Error: undefined identifier 'fgetws'
using _STLP_VENDOR_CSTD::fputwc;
                               ^
c:\dm\stlport\stlport\cwchar(201) : Error: undefined identifier 'fputwc'
using _STLP_VENDOR_CSTD::fputws;
                               ^
c:\dm\stlport\stlport\cwchar(202) : Error: undefined identifier 'fputws'
Fatal error: too many errors

I can find most of these refs in wchar.h, don't know why dmc can't.

Tried building stlport
smake -f dm.mak


--- errorlevel 1
     mkdir ..\lib
     mkdir ..\build
     mkdir ..\build\static
     mkdir ..\build\static\release
     mkdir ..\build\static\debug
     mkdir ..\build\static\stldebug
     mkdir ..\build\staticx
     mkdir ..\build\staticx\release
     mkdir ..\build\staticx\debug
     mkdir ..\build\staticx\stldebug
     mkdir ..\build\dynamic
     mkdir ..\build\dynamic\release
     mkdir ..\build\dynamic\debug
     mkdir ..\build\dynamic\stldebug
     mkdir ..\build\sdynamic
     mkdir ..\build\sdynamic\release
     mkdir ..\build\sdynamic\debug
     mkdir ..\build\sdynamic\stldebug
     dmc -cpp -c -o"..\build\static\release\c_locale.obj" -Ae -Ar 
-DSTRICT -D__BUILDING_STLPORT -I../stlport -o+all -Nc -D_MT "c_locale.c"
using _STLP_VENDOR_CSTD::wmemcmp;
                                ^
../stlport\cwchar(274) : Error: undefined identifier 'wmemcmp'
--- errorlevel 1

My sc.ini looks like so:
[Version]
version=7.51 Build 020

[Environment]
PATH=%PATH%;"% P%\..\bin"
BIN="% P%\..\bin"
INCLUDE="% P%\..\include";"% P%\..\mfc\include";"% P%\..\stl";%INCLUDE%
LIB="% P%\..\lib";"% P%\..\mfc\lib";%LIB%
HELP="% P%\..\help"
Aug 19 2011
next sibling parent Walter Bright <newshound2 digitalmars.com> writes:
On 8/19/2011 2:47 AM, Jason King wrote:
 dmc hello -I\dm\stlport\stlport
Try compiling with -cpp switch.
Aug 25 2011
prev sibling parent reply artcat6 <services synesis.com.au> writes:
Jason King Wrote:

 Posted this to STLPort yesterday, but got no replies.  Maybe more eyes 
 in this group.  Looks related to "compiling without iostream".
 Running Win 7 64 bit. Have dmc from CD.  Upgraded to 852.  Am trying to use
 stlport.
 
 rem avoid other toolchains
 set include=
 set lib=
 rem compiling sample app in \dm\stlport
 dmc hello -I\dm\stlport\stlport
 
 using _STLP_VENDOR_CSTD::wint_t;
                                ^
 c:\dm\stlport\stlport\cwchar(167) : Error: undefined identifier 'wint_t'
 using _STLP_VENDOR_CSTD::fgetwc;
                                ^
 c:\dm\stlport\stlport\cwchar(199) : Error: undefined identifier 'fgetwc'
 using _STLP_VENDOR_CSTD::fgetws;
                                ^
 c:\dm\stlport\stlport\cwchar(200) : Error: undefined identifier 'fgetws'
 using _STLP_VENDOR_CSTD::fputwc;
                                ^
 c:\dm\stlport\stlport\cwchar(201) : Error: undefined identifier 'fputwc'
 using _STLP_VENDOR_CSTD::fputws;
                                ^
 c:\dm\stlport\stlport\cwchar(202) : Error: undefined identifier 'fputws'
 Fatal error: too many errors
 
 I can find most of these refs in wchar.h, don't know why dmc can't.
 
 Tried building stlport
 smake -f dm.mak
 
 
 --- errorlevel 1
      mkdir ..\lib
      mkdir ..\build
      mkdir ..\build\static
      mkdir ..\build\static\release
      mkdir ..\build\static\debug
      mkdir ..\build\static\stldebug
      mkdir ..\build\staticx
      mkdir ..\build\staticx\release
      mkdir ..\build\staticx\debug
      mkdir ..\build\staticx\stldebug
      mkdir ..\build\dynamic
      mkdir ..\build\dynamic\release
      mkdir ..\build\dynamic\debug
      mkdir ..\build\dynamic\stldebug
      mkdir ..\build\sdynamic
      mkdir ..\build\sdynamic\release
      mkdir ..\build\sdynamic\debug
      mkdir ..\build\sdynamic\stldebug
      dmc -cpp -c -o"..\build\static\release\c_locale.obj" -Ae -Ar 
 -DSTRICT -D__BUILDING_STLPORT -I../stlport -o+all -Nc -D_MT "c_locale.c"
 using _STLP_VENDOR_CSTD::wmemcmp;
                                 ^
 ../stlport\cwchar(274) : Error: undefined identifier 'wmemcmp'
 --- errorlevel 1
 
 My sc.ini looks like so:
 [Version]
 version=7.51 Build 020
 
 [Environment]
 PATH=%PATH%;"% P%\..\bin"
 BIN="% P%\..\bin"
 INCLUDE="% P%\..\include";"% P%\..\mfc\include";"% P%\..\stl";%INCLUDE%
 LIB="% P%\..\lib";"% P%\..\mfc\lib";%LIB%
 HELP="% P%\..\help"
 
 
 
 
 
 
Feb 26 2012
parent artcat6 <services synesis.com.au> writes:
artcat6 Wrote:

 Jason King Wrote:
 
 Posted this to STLPort yesterday, but got no replies.  Maybe more eyes 
 in this group.  Looks related to "compiling without iostream".
 Running Win 7 64 bit. Have dmc from CD.  Upgraded to 852.  Am trying to use
 stlport.
 
 rem avoid other toolchains
 set include=
 set lib=
 rem compiling sample app in \dm\stlport
 dmc hello -I\dm\stlport\stlport
 
 using _STLP_VENDOR_CSTD::wint_t;
                                ^
 c:\dm\stlport\stlport\cwchar(167) : Error: undefined identifier 'wint_t'
 using _STLP_VENDOR_CSTD::fgetwc;
                                ^
 c:\dm\stlport\stlport\cwchar(199) : Error: undefined identifier 'fgetwc'
 using _STLP_VENDOR_CSTD::fgetws;
                                ^
 c:\dm\stlport\stlport\cwchar(200) : Error: undefined identifier 'fgetws'
 using _STLP_VENDOR_CSTD::fputwc;
                                ^
 c:\dm\stlport\stlport\cwchar(201) : Error: undefined identifier 'fputwc'
 using _STLP_VENDOR_CSTD::fputws;
                                ^
 c:\dm\stlport\stlport\cwchar(202) : Error: undefined identifier 'fputws'
 Fatal error: too many errors
 
 I can find most of these refs in wchar.h, don't know why dmc can't.
 
 Tried building stlport
 smake -f dm.mak
 
 
 --- errorlevel 1
      mkdir ..\lib
      mkdir ..\build
      mkdir ..\build\static
      mkdir ..\build\static\release
      mkdir ..\build\static\debug
      mkdir ..\build\static\stldebug
      mkdir ..\build\staticx
      mkdir ..\build\staticx\release
      mkdir ..\build\staticx\debug
      mkdir ..\build\staticx\stldebug
      mkdir ..\build\dynamic
      mkdir ..\build\dynamic\release
      mkdir ..\build\dynamic\debug
      mkdir ..\build\dynamic\stldebug
      mkdir ..\build\sdynamic
      mkdir ..\build\sdynamic\release
      mkdir ..\build\sdynamic\debug
      mkdir ..\build\sdynamic\stldebug
      dmc -cpp -c -o"..\build\static\release\c_locale.obj" -Ae -Ar 
 -DSTRICT -D__BUILDING_STLPORT -I../stlport -o+all -Nc -D_MT "c_locale.c"
 using _STLP_VENDOR_CSTD::wmemcmp;
                                 ^
 ../stlport\cwchar(274) : Error: undefined identifier 'wmemcmp'
 --- errorlevel 1
 
 My sc.ini looks like so:
 [Version]
 version=7.51 Build 020
 
 [Environment]
 PATH=%PATH%;"% P%\..\bin"
 BIN="% P%\..\bin"
 INCLUDE="% P%\..\include";"% P%\..\mfc\include";"% P%\..\stl";%INCLUDE%
 LIB="% P%\..\lib";"% P%\..\mfc\lib";%LIB%
 HELP="% P%\..\help"
 
 
 
 
 
 
{"oses": [["Unknown", 15049], ["Windows", 10240], ["Linux", 2233], ["Macintosh", 944], ["Android", 15], ["BSD", 5]], "end_date": "2010-05-11 00:00:00", "countries": [["South Africa", 14942], ["United States", 3021], ["Germany", 1276], ["United Kingdom", 1081], ["Canada", 731], ["Netherlands", 649], ["France", 648], ["Sweden", 570], ["Australia", 467], ["Italy", 452], ["Spain", 416], ["Russia", 402], ["Poland", 319], ["Brazil", 316], ["Denmark", 223], ["Norway", 194], ["China", 180], ["Belgium", 178], ["Argentina", 165], ["Switzerland", 132], ["Hungary", 128], ["Czech Republic", 114], ["Portugal", 101], ["Austria", 101], ["Mexico", 100], ["New Zealand", 86], ["Greece", 85], ["Ukraine", 83], ["Finland", 79], ["Israel", 66], ["Slovakia", 54], ["India", 52], ["Turkey", 51], ["Romania", 51], ["Japan", 49], ["Malaysia", 47], ["Slovenia", 46], ["Morocco", 44], ["Singapore", 39], ["Taiwan", 38], ["Ireland", 36], ["Bulgaria", 34], ["Chile", 34], ["Europe (specific country unknown)", 33], ["Thailand", 32], ["Viet Nam", 31], ["Lithuania", 29], ["Philippines", 29], ["Hong Kong", 25], ["Indonesia", 24], ["Croatia", 23], ["Estonia", 23], ["Iceland", 23], ["Venezuela", 22], ["Serbia", 19], ["Costa Rica", 18], ["Belarus", 16], ["Puerto Rico", 16], ["Algeria", 15], ["Korea", 13], ["Colombia", 13], ["Reunion", 13], ["United Arab Emirates", 12], ["Tunisia", 12], ["Saudi Arabia", 10], ["Peru", 10], ["Bahrain", 8], ["Kazakhstan", 8], ["Uruguay", 7], ["Latvia", 7], ["Ecuador", 6], ["Cyprus", 6], ["Ivory Coast", 5], ["Kuwait", 5], ["Luxembourg", 5], ["Qatar", 5], ["Bosnia and Herzegovina", 4], ["El Salvador", 4], ["Malta", 4], ["Anonymous Proxy", 4], ["Macedonia", 4], ["Pakistan", 3], ["Kenya", 3], ["Iran", 3], ["Netherlands Antilles", 3], ["Zambia", 3], ["Paraguay", 3], ["Jersey", 2], ["Bermuda", 2], ["Mauritius", 2], ["Nicaragua", 2], ["Bahamas", 2], ["\u00c5land Islands", 2], ["Barbados", 2], ["Maldives", 2], ["Trinidad and Tobago", 2], ["Botswana", 2], ["Aruba", 1], ["Oman", 1], ["Albania", 1], ["French Polynesia", 1], ["Benin", 1], ["Virgin Islands", 1], ["Dominican Republic", 1], ["Ghana", 1], ["Brunei Darussalam", 1], ["Bangladesh", 1], ["Asia/Pacific Region (specific country unknown)", 1], ["Haiti", 1], ["Georgia", 1], ["Moldova", 1], ["Guernsey", 1], ["Uzbekistan", 1], ["Cayman Islands", 1], ["Zimbabwe", 1], ["Syria", 1], ["Guadeloupe", 1], ["Myanmar", 1], ["Egypt", 1], ["Cuba", 1], ["Sri Lanka", 1], ["Namibia", 1]], "downloads": [["2010-05-01 00:00:00", 2903], ["2010-05-02 00:00:00", 2854], ["2010-05-03 00:00:00", 2700], ["2010-05-04 00:00:00", 2799], ["2010-05-05 00:00:00", 2695], ["2010-05-06 00:00:00", 2708], ["2010-05-07 00:00:00", 2854], ["2010-05-08 00:00:00", 2739], ["2010-05-09 00:00:00", 683], ["2010-05-10 00:00:00", 2791], ["2010-05-11 00:00:00", 2760]], "messages": [], "period": "daily", "start_date": "2010-05-01 00:00:00", "total": 28486, "stats_updated": "2012-02-26 15:01:15", "summaries": {"os": {"top": "Other", "percent": 52, "modifier_text": ""}, "geo": {"top": "South Africa", "percent": 52, "modifier_text": ""}, "time": {"downloads": 28486}}}
Feb 26 2012