• Compiling errors

    From Richard Vonzel@1:103/705 to All on Tue Feb 25 13:18:01 2025
    !st, I am NOT a programmer or know anything about code. I am trying to compile the SBBS3.sln code with Visual Studio 2022. I've add all the redisturbution files from 2015-2022. I know it's a bug question I'm asking but anyone care to look at these errors and give me an idea how to fix it? I have setup and followed the building .MD file and directory setup.

    'GIT_BRANCH': undeclared identifier
    'GIT_HASH': undeclared identifier
    'fprintf' : format string '%s' requires an argument of type 'char *', but variadic argument 1 has type 'int'
    'fprintf' : format string '%s' requires an argument of type 'char *', but variadic argument 2 has type 'int'
    'GIT_BRANCH': undeclared identifier
    'GIT_HASH': undeclared identifier
    'fprintf' : format string '%s' requires an argument of type 'char *', but variadic argument 1 has type 'int'
    'fprintf' : format string '%s' requires an argument of type 'char *', but variadic argument 2 has type 'int'
    The build tools for v141_xp (Platform Toolset = 'v141_xp') cannot be found. To build using the v141_xp build tools, please install v141_xp build tools. Alternatively, you may upgrade to the current Visual Studio tools by selecting the Project menu or right-click the solution, and then selecting "Retarget solution".
    The build tools for v141_xp (Platform Toolset = 'v141_xp') cannot be found. To build using the v141_xp build tools, please install v141_xp build tools. Alternatively, you may upgrade to the current Visual Studio tools by selecting the Project menu or right-click the solution, and then selecting "Retarget solution".
    'GIT_BRANCH': undeclared identifier
    'GIT_HASH': undeclared identifier

    RickV
    ---
    þ Synchronet þ The File Cabinet BBS
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Richard Vonzel on Wed Feb 26 00:18:31 2025
    Re: Compiling errors
    By: Richard Vonzel to All on Tue Feb 25 2025 01:18 pm

    !st, I am NOT a programmer or know anything about code. I am trying to compile the SBBS3.sln code with Visual Studio 2022.

    Just curious: why?

    I've add all the
    redisturbution files from 2015-2022. I know it's a bug question I'm asking but anyone care to look at these errors and give me an idea how to fix it? have setup and followed the building .MD file and directory setup.

    'GIT_BRANCH': undeclared identifier
    'GIT_HASH': undeclared identifier

    You need to run sbbs/src/build/gitinfo.bat to generate git_branch.h and git_hash.h files (see src/sbbs3/releas.bat for example usage). You should have seen compiler errors before those 2 about the missing include files.

    'fprintf' : format string '%s' requires an argument of type 'char *', but variadic argument 1 has type 'int'

    Need more context.

    The build tools for v141_xp (Platform Toolset = 'v141_xp') cannot be found.

    I think you can google that way. It's just a Windows SDK/toolset you can install.

    To build using the v141_xp build tools, please install v141_xp build tools. Alternatively, you may upgrade to the current Visual Studio tools by selecting the Project menu or right-click the solution, and then selecting "Retarget solution".

    Or you can do that.
    --
    digital man (rob)

    Rush quote #66:
    He's old enough to know what's right, but young enough not to choose it
    Norco, CA WX: 58.8øF, 52.0% humidity, 1 mph ENE wind, 0.00 inches rain/24hrs --- SBBSecho 3.23-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)