• compiling windows

    From TinTino@1:103/705 to Digital Man on Mon Mar 28 10:03:54 2022
    I have Visual Studio Enterprise 2019 16.11.11
    How to build synchronet? I only get errors in 19 files, the rest building fine. What I missing?

    /Fidde

    ---
    þ Synchronet þ Pepzi - Pepzi.se - 1000/1000 MBits
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to TinTino on Mon Mar 28 01:42:28 2022
    Re: compiling windows
    By: TinTino to Digital Man on Mon Mar 28 2022 10:03 am

    I have Visual Studio Enterprise 2019 16.11.11
    How to build synchronet? I only get errors in 19 files, the rest building fine. What I missing?

    I couldn't guess without knowing what errors you're getting.
    --
    digital man (rob)

    Synchronet/BBS Terminology Definition #1:
    ANSI = American National Standards Institute
    Norco, CA WX: 52.7øF, 84.0% humidity, 0 mph E wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.15-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From TinTino@1:103/705 to Digital Man on Mon Mar 28 13:11:32 2022
    A lots of error:

    Build started...
    ------ Build started: Project: load_cfg, Configuration: Debug Win32 ------ 2>------ Skipped Build: Project: sbbsexec, Configuration: Debug Win32 ------ 2>Project not selected to build for this solution configuration
    ------ Build started: Project: sbbs, Configuration: Debug Win32 ------ 4>------ Build started: Project: fixsmb, Configuration: Debug Win32 ------ 5>------ Build started: Project: sexyz, Configuration: Debug Win32 ------ 6>------ Build started: Project: ans2asc, Configuration: Debug Win32 ------ 7>------ Build started: Project: smbutil, Configuration: Debug Win32 ------ 8>------ Build started: Project: textgen, Configuration: Debug Win32 ------ 9>------ Build started: Project: chksmb, Configuration: Debug Win32 ------ 1>load_cfg.c
    s:\src\src\sbbs3\load_cfg.c(97): error C2065: 'TOTAL_TEXT': undeclared identifier
    s:\src\src\sbbs3\load_cfg.c(104): error C2065: 'TOTAL_TEXT': undeclared identifier
    s:\src\src\sbbs3\load_cfg.c(107): error C2065: 'TOTAL_TEXT': undeclared identifier
    s:\src\src\sbbs3\load_cfg.c(306): error C2065: 'TOTAL_TEXT': undeclared identifier
    ans2asc.c
    fixsmb.c
    textgen.c
    chksmb.c
    sexyz.c
    s:\src\src\sbbs3\chksmb.c(30): fatal error C1083: Cannot open include file: 'git_hash.h': No such file or directory
    s:\src\src\sbbs3\ans2asc.c(27): fatal error C1083: Cannot open include file: 'git_hash.h': No such file or directory
    'tr' is not recognized as an internal or external command,
    operable program or batch file.
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Micros oft\VC\v150\Microsoft.CppCommon.targets(128,5): error MSB3073: The command "gitinfo.bat
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Micros oft\VC\v150\Microsoft.CppCommon.targets(128,5): error MSB3073: :VCEnd" exited with code 255.
    Done building project "sbbs.vcxproj" -- FAILED.
    ------ Build started: Project: ftpsrvr, Configuration: Debug Win32 ------ 1>readtext.c
    s:\src\src\sbbs3\fixsmb.c(326): error C2065: 'GIT_BRANCH': undeclared identifier
    s:\src\src\sbbs3\fixsmb.c(325): warning C4477: 'printf' : format string '%s' requires an argument of type 'char *', but variadic argument 2 has type 'int' 6>Done building project "ans2asc.vcxproj" -- FAILED. 5>s:\src\src\sbbs3\sexyz.c(1533): error C2065: 'GIT_BRANCH': undeclared identifier
    ------ Build started: Project: mailsrvr, Configuration: Debug Win32 ------ 5>s:\src\src\sbbs3\sexyz.c(1530): warning C4477: 'fprintf' : format string '%s' requires an argument of type 'char *', but variadic argument 2 has type 'int' 9>Done building project "chksmb.vcxproj" -- FAILED.
    ------ Build started: Project: services, Configuration: Debug Win32 ------ 5>Done building project "sexyz.vcxproj" -- FAILED.
    ------ Build started: Project: websrvr, Configuration: Debug Win32 ------ 4>Done building project "fixsmb.vcxproj" -- FAILED.
    ------ Build started: Project: jsexec, Configuration: Debug Win32 ------ 10>ftpsrvr.c
    smbutil.c
    s:\src\src\sbbs3\text_defaults.h(19): error C2065: 'TOTAL_TEXT': undeclared identifier
    s:\src\src\sbbs3\text_defaults.h(19): error C2057: expected constant expression
    mailsrvr.c
    s:\src\src\sbbs3\text_defaults.h(19): error C2466: cannot allocate an array of constant size 0
    text_defaults.c
    s:\src\src\sbbs3\text_defaults.h(19): error C2065: 'TOTAL_TEXT': undeclared identifier
    s:\src\src\sbbs3\text_defaults.h(19): error C2057: expected constant expression
    s:\src\src\sbbs3\text_defaults.h(19): error C2466: cannot allocate an array of constant size 0
    s:\src\src\sbbs3\text_defaults.c(7): error C2065: 'TOTAL_TEXT': undeclared identifier
    s:\src\src\sbbs3\text_defaults.c(7): error C2057: expected constant expression
    s:\src\src\sbbs3\text_defaults.c(7): error C2466: cannot allocate an array of constant size 0
    s:\src\src\sbbs3\text_defaults.c(126): error C2001: newline in constant 1>s:\src\src\sbbs3\text_defaults.c(7): fatal error C1075: '{': no matching token found
    Generating Code...
    sbbs_ini.c
    s:\src\src\sbbs3\smbutil.c(343): error C2065: 'GIT_BRANCH': undeclared identifier
    s:\src\src\sbbs3\ftpsrvr.c(87): error C2065: 'TOTAL_TEXT': undeclared identifier
    s:\src\src\sbbs3\smbutil.c(1731): error C2065: 'GIT_BRANCH': undeclared identifier
    s:\src\src\sbbs3\smbutil.c(1727): warning C4477: 'fprintf' : format string '%s' requires an argument of type 'char *', but variadic argument 3 has type 'int'
    jsdebug.c
    s:\src\src\sbbs3\ftpsrvr.c(87): error C2057: expected constant expression 10>s:\src\src\sbbs3\ftpsrvr.c(87): error C2466: cannot allocate an array of constant size 0
    s:\src\src\sbbs3\ftpsrvr.c(87): error C2133: 'text': unknown size 10>s:\src\src\sbbs3\ftpsrvr.c(796): error C2065: 'FreeDownloadUserMsg': undeclared identifier
    s:\src\src\sbbs3\ftpsrvr.c(801): error C2065: 'DownloadUserMsg': undeclared identifier
    s:\src\src\sbbs3\ftpsrvr.c(4899): error C2065: 'GIT_BRANCH': undeclared identifier
    s:\src\src\sbbs3\ftpsrvr.c(4981): error C2065: 'GIT_BRANCH': undeclared identifier
    nopen.c
    s:\src\src\sbbs3\mailsrvr.c(79): error C2065: 'TOTAL_TEXT': undeclared identifier
    s:\src\src\sbbs3\mailsrvr.c(79): error C2057: expected constant expression 11>s:\src\src\sbbs3\mailsrvr.c(79): error C2466: cannot allocate an array of constant size 0
    s:\src\src\sbbs3\mailsrvr.c(79): error C2133: 'text': unknown size 11>s:\src\src\sbbs3\mailsrvr.c(4012): error C2065: 'InternetMailReceived': undeclared identifier
    s:\src\src\sbbs3\mailsrvr.c(4018): error C2065: 'InternetMailForwarded': undeclared identifier
    s:\src\src\sbbs3\mailsrvr.c(6002): error C2065: 'GIT_BRANCH': undeclared identifier
    s:\src\src\sbbs3\mailsrvr.c(5993): warning C4477: 'sprintf' : format string '%s' requires an argument of type 'char *', but variadic argument 5 has type 'int'
    s:\src\src\sbbs3\mailsrvr.c(6107): error C2065: 'GIT_BRANCH': undeclared identifier
    mime.c
    services.c
    js_conio.c
    Generating Code...
    Done building project "ftpsrvr.vcxproj" -- FAILED.
    Generating Code...
    Done building project "load_cfg.vcxproj" -- FAILED.
    Done building project "mailsrvr.vcxproj" -- FAILED.
    ------ Build started: Project: dupefind, Configuration: Debug Win32 ------ 16>------ Build started: Project: filelist, Configuration: Debug Win32 ------ 17>------ Build started: Project: makeuser, Configuration: Debug Win32 ------ 12>s:\src\src\sbbs3\services.c(60): error C2065: 'TOTAL_TEXT': undeclared identifier
    s:\src\src\sbbs3\services.c(60): error C2057: expected constant expression 14>js_uifc.c
    s:\src\src\sbbs3\services.c(60): error C2466: cannot allocate an array of constant size 0
    s:\src\src\sbbs3\services.c(60): error C2133: 'text': unknown size 12>s:\src\src\sbbs3\services.c(1722): error C2065: 'GIT_BRANCH': undeclared identifier
    s:\src\src\sbbs3\services.c(1714): warning C4477: 'sprintf' : format string '%s' requires an argument of type 'char *', but variadic argument 4 has type 'int'
    s:\src\src\sbbs3\services.c(1880): error C2065: 'GIT_BRANCH': undeclared identifier
    Generating Code...
    Done building project "smbutil.vcxproj" -- FAILED.
    ------ Build started: Project: qwknodes, Configuration: Debug Win32 ------ 12>Done building project "services.vcxproj" -- FAILED.
    ------ Build started: Project: addfiles, Configuration: Debug Win32 ------ 14>jsexec.c
    ------ Build started: Project: ntsvcs, Configuration: Debug Win32 ------ 8>textgen.vcxproj -> S:\Src\src\sbbs3\.\msvc.win32.exe.debug\textgen.exe 14>s:\src\src\sbbs3\jsexec.c(57): error C2065: 'TOTAL_TEXT': undeclared identifier
    s:\src\src\sbbs3\jsexec.c(57): error C2057: expected constant expression 14>s:\src\src\sbbs3\jsexec.c(57): error C2466: cannot allocate an array of constant size 0
    s:\src\src\sbbs3\jsexec.c(99): error C2065: 'GIT_BRANCH': undeclared identifier
    s:\src\src\sbbs3\jsexec.c(95): warning C4477: 'fprintf' : format string '%s' requires an argument of type 'char *', but variadic argument 4 has type 'int' 14>s:\src\src\sbbs3\jsexec.c(1006): error C2065: 'GIT_BRANCH': undeclared identifier
    s:\src\src\sbbs3\jsexec.c(1006): warning C4047: 'function': 'const char *' differs in levels of indirection from 'int'
    s:\src\src\sbbs3\jsexec.c(1006): warning C4024: 'JS_NewStringCopyZ': different types for formal and actual parameter 2 14>s:\src\src\sbbs3\jsexec.c(1006): error C2143: syntax error: missing ')' before 'string'
    s:\src\src\sbbs3\jsexec.c(1006): error C2059: syntax error: ')' 14>s:\src\src\sbbs3\jsexec.c(1009): error C2146: syntax error: missing ')' before identifier 'GIT_BRANCH'
    s:\src\src\sbbs3\jsexec.c(1017): error C2059: syntax error: ')' 14>Generating Code...
    Done building project "jsexec.vcxproj" -- FAILED.
    ------ Build started: Project: sbbscon, Configuration: Debug Win32 ------ 8>C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Micros oft\VC\v150\Microsoft.CppCommon.targets(138,5): error MSB3073: The command ".\msvc.win32.exe.debug\textgen
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Micros oft\VC\v150\Microsoft.CppCommon.targets(138,5): error MSB3073: :VCEnd" exited with code -1073741819.
    Done building project "textgen.vcxproj" -- FAILED.
    ------ Build started: Project: sbbsecho, Configuration: Debug Win32 ------ 15>userdat.c
    userdat.c
    userdat.c
    sbbscon.c
    addfiles.c
    dat_rec.c
    LINK : fatal error LNK1104: cannot open file 'S:\Src\src\sbbs3\msvc.win32.lib.debug\load_cfg.lib' 15>s:\src\src\sbbs3\userdat.c(3032): error C2065: 'NoAccessSub': undeclared identifier
    ntsvcs.c
    Done building project "qwknodes.vcxproj" -- FAILED. 15>s:\src\src\sbbs3\userdat.c(3036): error C2065: 'CantPostOnSub': undeclared identifier
    s:\src\src\sbbs3\userdat.c(3046): error C2065: 'R_Post': undeclared identifier
    s:\src\src\sbbs3\userdat.c(3050): error C2065: 'TooManyPostsToday': undeclared identifier
    s:\src\src\sbbs3\userdat.c(3128): error C2065: 'NoAccessDir': undeclared identifier
    s:\src\src\sbbs3\userdat.c(3132): error C2065: 'R_Upload': undeclared identifier
    s:\src\src\sbbs3\userdat.c(3140): error C2065: 'CantUploadHere': undeclared identifier
    s:\src\src\sbbs3\userdat.c(3155): error C2065: 'NoAccessDir': undeclared identifier
    s:\src\src\sbbs3\userdat.c(3159): error C2065: 'CantDownloadFromDir': undeclared identifier
    s:\src\src\sbbs3\userdat.c(3163): error C2065: 'R_Download': undeclared identifier
    s:\src\src\sbbs3\userdat.c(3180): error C2065: 'R_Email': undeclared identifier
    s:\src\src\sbbs3\userdat.c(3186): error C2065: 'NoNetMailAllowed': undeclared identifier
    s:\src\src\sbbs3\userdat.c(3194): error C2065: 'R_Feedback': undeclared identifier
    s:\src\src\sbbs3\userdat.c(3198): error C2065: 'TooManyEmailsToday': undeclared identifier
    ------ Build started: Project: scfg, Configuration: Debug Win32 ------ 16>s:\src\src\sbbs3\userdat.c(3032): error C2065: 'NoAccessSub': undeclared identifier
    s:\src\src\sbbs3\userdat.c(3032): error C2065: 'NoAccessSub': undeclared identifier
    s:\src\src\sbbs3\userdat.c(3036): error C2065: 'CantPostOnSub': undeclared identifier
    s:\src\src\sbbs3\userdat.c(3046): error C2065: 'R_Post': undeclared identifier
    s:\src\src\sbbs3\userdat.c(3050): error C2065: 'TooManyPostsToday': undeclared identifier
    s:\src\src\sbbs3\userdat.c(3128): error C2065: 'NoAccessDir': undeclared identifier
    s:\src\src\sbbs3\userdat.c(3132): error C2065: 'R_Upload': undeclared identifier
    s:\src\src\sbbs3\userdat.c(3140): error C2065: 'CantUploadHere': undeclared identifier
    s:\src\src\sbbs3\userdat.c(3155): error C2065: 'NoAccessDir': undeclared identifier
    s:\src\src\sbbs3\userdat.c(3159): error C2065: 'CantDownloadFromDir': undeclared identifier
    s:\src\src\sbbs3\userdat.c(3163): error C2065: 'R_Download': undeclared identifier
    s:\src\src\sbbs3\userdat.c(3180): error C2065: 'R_Email': undeclared identifier
    date_str.c
    s:\src\src\sbbs3\userdat.c(3036): error C2065: 'CantPostOnSub': undeclared identifier
    s:\src\src\sbbs3\userdat.c(3046): error C2065: 'R_Post': undeclared identifier
    s:\src\src\sbbs3\userdat.c(3050): error C2065: 'TooManyPostsToday': undeclared identifier
    s:\src\src\sbbs3\userdat.c(3128): error C2065: 'NoAccessDir': undeclared identifier
    s:\src\src\sbbs3\userdat.c(3132): error C2065: 'R_Upload': undeclared identifier
    s:\src\src\sbbs3\userdat.c(3140): error C2065: 'CantUploadHere': undeclared identifier
    s:\src\src\sbbs3\userdat.c(3155): error C2065: 'NoAccessDir': undeclared identifier
    s:\src\src\sbbs3\userdat.c(3186): error C2065: 'NoNetMailAllowed': undeclared identifier
    s:\src\src\sbbs3\userdat.c(3194): error C2065: 'R_Feedback': undeclared identifier
    s:\src\src\sbbs3\userdat.c(3198): error C2065: 'TooManyEmailsToday': undeclared identifier
    Done building project "makeuser.vcxproj" -- FAILED. 16>s:\src\src\sbbs3\userdat.c(3159): error C2065: 'CantDownloadFromDir': undeclared identifier
    s:\src\src\sbbs3\userdat.c(3163): error C2065: 'R_Download': undeclared identifier
    s:\src\src\sbbs3\userdat.c(3180): error C2065: 'R_Email': undeclared identifier
    s:\src\src\sbbs3\userdat.c(3186): error C2065: 'NoNetMailAllowed': undeclared identifier
    s:\src\src\sbbs3\userdat.c(3194): error C2065: 'R_Feedback': undeclared identifier
    s:\src\src\sbbs3\userdat.c(3198): error C2065: 'TooManyEmailsToday': undeclared identifier
    Done building project "filelist.vcxproj" -- FAILED.
    ------ Build started: Project: smbactiv, Configuration: Debug Win32 ------ 25>------ Build started: Project: delfiles, Configuration: Debug Win32 ------ 19>s:\src\src\sbbs3\addfiles.c(554): error C2065: 'GIT_BRANCH': undeclared identifier
    s:\src\src\sbbs3\addfiles.c(549): warning C4477: 'fprintf' : format string '%s' requires an argument of type 'char *', but variadic argument 3 has type 'int'
    dat_rec.c
    Done building project "dupefind.vcxproj" -- FAILED.
    ------ Build started: Project: upgrade_to_v319, Configuration: Debug Win32 ------
    userdat.c
    ver.cpp
    filedat.c
    date_str.c
    LINK : fatal error LNK1104: cannot open file 'S:\Src\src\sbbs3\msvc.win32.lib.debug\load_cfg.lib'
    upgrade_to_v319.c
    Done building project "smbactiv.vcxproj" -- FAILED.
    filedat.c
    s:\src\src\sbbs3\userdat.c(3032): error C2065: 'NoAccessSub': undeclared identifier
    s:\src\src\sbbs3\userdat.c(3036): error C2065: 'CantPostOnSub': undeclared identifier
    s:\src\src\sbbs3\userdat.c(3046): error C2065: 'R_Post': undeclared identifier
    s:\src\src\sbbs3\userdat.c(3050): error C2065: 'TooManyPostsToday': undeclared identifier
    s:\src\src\sbbs3\userdat.c(3128): error C2065: 'NoAccessDir': undeclared identifier
    getmail.c
    s:\src\src\sbbs3\userdat.c(3132): error C2065: 'R_Upload': undeclared identifier
    s:\src\src\sbbs3\userdat.c(3140): error C2065: 'CantUploadHere': undeclared identifier
    s:\src\src\sbbs3\userdat.c(3155): error C2065: 'NoAccessDir': undeclared identifier
    s:\src\src\sbbs3\userdat.c(3159): error C2065: 'CantDownloadFromDir': undeclared identifier
    s:\src\src\sbbs3\userdat.c(3163): error C2065: 'R_Download': undeclared identifier
    s:\src\src\sbbs3\userdat.c(3180): error C2065: 'R_Email': undeclared identifier
    s:\src\src\sbbs3\userdat.c(3186): error C2065: 'NoNetMailAllowed': undeclared identifier
    s:\src\src\sbbs3\userdat.c(3194): error C2065: 'R_Feedback': undeclared identifier
    s:\src\src\sbbs3\userdat.c(3198): error C2065: 'TooManyEmailsToday': undeclared identifier
    scfg.c
    userdat.c
    sauce.c
    s:\src\src\sbbs3\scfg\scfg.c(168): error C2065: 'GIT_BRANCH': undeclared identifier
    msg_id.c
    s:\src\src\sbbs3\ver.cpp(35): error C2065: 'GIT_BRANCH': undeclared identifier
    s:\src\src\sbbs3\scfg\scfg.c(168): warning C4477: 'printf' : format string '%s' requires an argument of type 'char *', but variadic argument 1 has type 'int'
    scfgsys.c
    s:\src\src\sbbs3\userdat.c(3032): error C2065: 'NoAccessSub': undeclared identifier
    Done building project "sbbscon.vcxproj" -- FAILED. 26>s:\src\src\sbbs3\userdat.c(3036): error C2065: 'CantPostOnSub': undeclared identifier
    s:\src\src\sbbs3\userdat.c(3046): error C2065: 'R_Post': undeclared identifier
    s:\src\src\sbbs3\userdat.c(3050): error C2065: 'TooManyPostsToday': undeclared identifier
    s:\src\src\sbbs3\userdat.c(3128): error C2065: 'NoAccessDir': undeclared identifier
    s:\src\src\sbbs3\userdat.c(3132): error C2065: 'R_Upload': undeclared identifier
    s:\src\src\sbbs3\userdat.c(3140): error C2065: 'CantUploadHere': undeclared identifier
    s:\src\src\sbbs3\userdat.c(3155): error C2065: 'NoAccessDir': undeclared identifier
    s:\src\src\sbbs3\userdat.c(3159): error C2065: 'CantDownloadFromDir': undeclared identifier
    s:\src\src\sbbs3\userdat.c(3163): error C2065: 'R_Download': undeclared identifier
    s:\src\src\sbbs3\userdat.c(3180): error C2065: 'R_Email': undeclared identifier
    s:\src\src\sbbs3\userdat.c(3186): error C2065: 'NoNetMailAllowed': undeclared identifier
    s:\src\src\sbbs3\userdat.c(3194): error C2065: 'R_Feedback': undeclared identifier
    s:\src\src\sbbs3\userdat.c(3198): error C2065: 'TooManyEmailsToday': undeclared identifier
    Generating Code...
    Done building project "upgrade_to_v319.vcxproj" -- FAILED.
    userdat.c
    s:\src\src\sbbs3\msg_id.c(249): error C2065: 'GIT_BRANCH': undeclared identifier
    rechocfg.c
    Generating Code...
    Done building project "scfg.vcxproj" -- FAILED. 19>s:\src\src\sbbs3\userdat.c(3032): error C2065: 'NoAccessSub': undeclared identifier
    s:\src\src\sbbs3\userdat.c(3036): error C2065: 'CantPostOnSub': undeclared identifier
    s:\src\src\sbbs3\userdat.c(3046): error C2065: 'R_Post': undeclared identifier
    s:\src\src\sbbs3\userdat.c(3050): error C2065: 'TooManyPostsToday': undeclared identifier
    sauce.c
    s:\src\src\sbbs3\userdat.c(3128): error C2065: 'NoAccessDir': undeclared identifier
    s:\src\src\sbbs3\userdat.c(3132): error C2065: 'R_Upload': undeclared identifier
    s:\src\src\sbbs3\userdat.c(3140): error C2065: 'CantUploadHere': undeclared identifier
    s:\src\src\sbbs3\userdat.c(3155): error C2065: 'NoAccessDir': undeclared identifier
    s:\src\src\sbbs3\userdat.c(3159): error C2065: 'CantDownloadFromDir': undeclared identifier
    s:\src\src\sbbs3\userdat.c(3163): error C2065: 'R_Download': undeclared identifier
    s:\src\src\sbbs3\userdat.c(3180): error C2065: 'R_Email': undeclared identifier
    s:\src\src\sbbs3\userdat.c(3186): error C2065: 'NoNetMailAllowed': undeclared identifier
    s:\src\src\sbbs3\userdat.c(3194): error C2065: 'R_Feedback': undeclared identifier
    s:\src\src\sbbs3\userdat.c(3198): error C2065: 'TooManyEmailsToday': undeclared identifier
    Generating Code...
    LINK : fatal error LNK1104: cannot open file 'S:\Src\src\sbbs3\msvc.win32.dll.debug\ftpsrvr.lib'
    Done building project "ntsvcs.vcxproj" -- FAILED.
    Done building project "addfiles.vcxproj" -- FAILED.
    sbbsecho.c
    s:\src\src\sbbs3\sbbsecho.c(100): error C2065: 'TOTAL_TEXT': undeclared identifier
    s:\src\src\sbbs3\sbbsecho.c(100): error C2057: expected constant expression 22>s:\src\src\sbbs3\sbbsecho.c(100): error C2466: cannot allocate an array of constant size 0
    s:\src\src\sbbs3\sbbsecho.c(125): error C2065: 'GIT_BRANCH': undeclared identifier
    s:\src\src\sbbs3\sbbsecho.c(124): warning C4477: 'sprintf' : format string '%s' requires an argument of type 'char *', but variadic argument 4 has type 'int'
    s:\src\src\sbbs3\sbbsecho.c(214): error C2065: 'GIT_BRANCH': undeclared identifier
    s:\src\src\sbbs3\sbbsecho.c(205): warning C4477: 'fprintf' : format string '%s' requires an argument of type 'char *', but variadic argument 11 has type 'int'
    s:\src\src\sbbs3\sbbsecho.c(4555): error C2065: 'FidoNetMailReceived': undeclared identifier
    s:\src\src\sbbs3\sbbsecho.c(4558): error C2065: 'WithAttachment': undeclared identifier
    s:\src\src\sbbs3\sbbsecho.c(6015): error C2065: 'FidoEchoMailReceived': undeclared identifier
    s:\src\src\sbbs3\sbbsecho.c(6124): error C2065: 'GIT_BRANCH': undeclared identifier
    s:\src\src\sbbs3\sbbsecho.c(6121): warning C4477: 'printf' : format string '%s' requires an argument of type 'char *', but variadic argument 4 has type 'int'
    scfgsave.c
    userdat.c
    s:\src\src\sbbs3\userdat.c(3032): error C2065: 'NoAccessSub': undeclared identifier
    s:\src\src\sbbs3\userdat.c(3036): error C2065: 'CantPostOnSub': undeclared identifier
    s:\src\src\sbbs3\userdat.c(3046): error C2065: 'R_Post': undeclared identifier
    s:\src\src\sbbs3\userdat.c(3050): error C2065: 'TooManyPostsToday': undeclared identifier
    s:\src\src\sbbs3\userdat.c(3128): error C2065: 'NoAccessDir': undeclared identifier
    s:\src\src\sbbs3\userdat.c(3132): error C2065: 'R_Upload': undeclared identifier
    s:\src\src\sbbs3\userdat.c(3140): error C2065: 'CantUploadHere': undeclared identifier
    s:\src\src\sbbs3\userdat.c(3155): error C2065: 'NoAccessDir': undeclared identifier
    s:\src\src\sbbs3\userdat.c(3159): error C2065: 'CantDownloadFromDir': undeclared identifier
    s:\src\src\sbbs3\userdat.c(3163): error C2065: 'R_Download': undeclared identifier
    s:\src\src\sbbs3\userdat.c(3180): error C2065: 'R_Email': undeclared identifier
    s:\src\src\sbbs3\userdat.c(3186): error C2065: 'NoNetMailAllowed': undeclared identifier
    s:\src\src\sbbs3\userdat.c(3194): error C2065: 'R_Feedback': undeclared identifier
    s:\src\src\sbbs3\userdat.c(3198): error C2065: 'TooManyEmailsToday': undeclared identifier
    Generating Code...
    Done building project "sbbsecho.vcxproj" -- FAILED.
    ========== Build: 0 succeeded, 25 failed, 15 up-to-date, 1 skipped ==========

    Mvh/Fidde

    ---
    þ Synchronet þ Pepzi - Pepzi.se - 1000/1000 MBits
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to TinTino on Mon Mar 28 11:38:30 2022
    Re: compiling windows
    By: TinTino to Digital Man on Mon Mar 28 2022 01:11 pm

    A lots of error:
    s:\src\src\sbbs3\load_cfg.c(97): error C2065: 'TOTAL_TEXT': undeclared 9>s:\src\src\sbbs3\chksmb.c(30): fatal error C1083: Cannot open include file: 'git_hash.h': No such file or directory 6>s:\src\src\sbbs3\ans2asc.c(27): fatal error C1083: Cannot open include file: 'git_hash.h': No such file or directory
    'tr' is not recognized as an internal or external command,

    You need the program 'tr'. That's probably the root of all the problems, but I'd start there. http://geoffair.org/unix/unxutils.htm
    --
    digital man (rob)

    Breaking Bad quote #44:
    I once convinced a woman I was Kevin Costner. It worked, because I believed it Norco, CA WX: 58.8øF, 68.0% humidity, 2 mph NE wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.15-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From TinTino@1:103/705 to Digital Man on Tue Mar 29 09:53:29 2022
    You need the program 'tr'. That's probably the root of all the problems, but I'd start there. http://geoffair.org/unix/unxutils.htm
    --
    digital man (rob)


    Thank you very much. It build fine now.
    /Fidde

    ---
    þ Synchronet þ Pepzi - Pepzi.se - 1000/1000 MBits
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)