• Missing stdbool.h in source code

    From Peter@VERT to All on Thu Nov 12 23:32:17 2015
    Anyone knows what happened to that missing header file:

    stdbool.h

    Could anyone send it to me as an attachment?

    Thank you,

    Peter Jaramillo
    SYSOP at DAPROSE-BBS
    telnet://bbs.daprose.net

    ---
    þ Synchronet þ DAPROSE-BBS - telnetmail.filegate.net - http://bbs.daprose.net
  • From Digital Man@VERT to Peter on Fri Nov 13 03:09:32 2015
    Re: Missing stdbool.h in source code
    By: Peter to All on Thu Nov 12 2015 11:32 pm

    Anyone knows what happened to that missing header file:

    stdbool.h

    Could anyone send it to me as an attachment?

    I don't think that would do what you want.

    1. stdbool.h is part of all C99-compliant C/C++ compilers, so if you're compiling a project that is comprised of C99-compliant source code and requires new features that were added in C99 (in 1999), then you're going to need a C/C++ compiler that complies with the C99 standard, which also means it'll come with a copy of stdbool.h.

    2. What source are you trying to compile?

    3. What compiler or tool-chain are you trying to use to compile it?

    digital man

    Synchronet "Real Fact" #47:
    Synchronet directory naming (i.e. ctrl, exec, data) was suggested by S. Deppe. Norco, CA WX: 66.5øF, 13.0% humidity, 10 mph WNW wind, 0.00 inches rain/24hrs ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From Peter@VERT to Digital Man on Sat Nov 14 19:52:01 2015
    Re: Missing stdbool.h in source code
    By: Digital Man to Peter on Fri Nov 13 2015 03:09 am

    Anyone knows what happened to that missing header file:
    stdbool.h
    I don't think that would do what you want.
    1. stdbool.h is part of all C99-compliant C/C++ compilers, so if you're compiling a project that is comprised of C99-compliant source code and requires new features that were added in C99 (in 1999), then you're going to need a C/C++ compiler that complies with the C99 standard, which also means it'll come with a copy of stdbool.h.

    I am using the project solutions distributed in the source file. It did open fine on Visual Studio 2010 Professional but it did not compile on the first shoot. The Resource File was not compatible but I managed to fix that. The next problem was that it did not find that include: stdbool.h as it does not come with the newer versions of visual studio. So, if you happen to have that file, please copy and paste it as a message or send it as an attachment so I can add it to the project.

    2. What source are you trying to compile?
    3. What compiler or tool-chain are you trying to use to compile it?

    ---
    þ Synchronet þ DAPROSE-BBS - telnetmail.filegate.net - http://bbs.daprose.net
  • From Peter@VERT to Digital Man on Sat Nov 14 19:53:25 2015
    Re: Missing stdbool.h in source code
    By: Digital Man to Peter on Fri Nov 13 2015 03:09 am

    stdbool.h
    2. What source are you trying to compile?

    Apparently, all projects need that header file.

    3. What compiler or tool-chain are you trying to use to compile it?

    I use Visual Studio 2010 Professional.

    Peter

    ---
    þ Synchronet þ DAPROSE-BBS - telnetmail.filegate.net - http://bbs.daprose.net
  • From Digital Man@VERT to Peter on Sun Nov 15 00:22:46 2015
    Re: Missing stdbool.h in source code
    By: Peter to Digital Man on Sat Nov 14 2015 07:52 pm

    Re: Missing stdbool.h in source code
    By: Digital Man to Peter on Fri Nov 13 2015 03:09 am

    Anyone knows what happened to that missing header file:
    stdbool.h
    I don't think that would do what you want.
    1. stdbool.h is part of all C99-compliant C/C++ compilers, so if you're compiling a project that is comprised of C99-compliant source code and requires new features that were added in C99 (in 1999), then you're going to need a C/C++ compiler that complies with the C99 standard, which also means it'll come with a copy of stdbool.h.

    I am using the project solutions distributed in the source file.

    The source file of what?

    It did open
    fine on Visual Studio 2010 Professional but it did not compile on the first shoot.

    If you're talking about Synchronet source code, you'll need Visual Studio 2013 or later. See here: http://wiki.synchro.net/dev:tools

    The Resource File was not compatible but I managed to fix that. The
    next problem was that it did not find that include: stdbool.h as it does not come with the newer versions of visual studio. So, if you happen to have that file, please copy and paste it as a message or send it as an attachment so I can add it to the project.

    Just sending you that one file would not work.


    digital man

    Synchronet "Real Fact" #71:
    Synchronet CIOXTRN (created by Deuce) is a 32-bit replacement for DOORWAY. Norco, CA WX: 58.4øF, 34.0% humidity, 2 mph NE wind, 0.00 inches rain/24hrs
    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From Digital Man@VERT to Peter on Sun Nov 15 00:23:58 2015
    Re: Missing stdbool.h in source code
    By: Peter to Digital Man on Sat Nov 14 2015 07:53 pm

    Re: Missing stdbool.h in source code
    By: Digital Man to Peter on Fri Nov 13 2015 03:09 am

    stdbool.h
    2. What source are you trying to compile?

    Apparently, all projects need that header file.

    That doesn't answer the question. All projects in the word don't require that header file. If you're talking about Synchronet projects, they require a C99-compliant tool chain.

    3. What compiler or tool-chain are you trying to use to compile it?

    I use Visual Studio 2010 Professional.

    Visual Studio 2010 is not C99-compliant. You need MSVC 2013 or later.

    digital man

    Synchronet "Real Fact" #36:
    Synchronet's Windows Control Panel is built with Borland C++ Builder.
    Norco, CA WX: 58.4øF, 34.0% humidity, 2 mph NE wind, 0.00 inches rain/24hrs
    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net