• Windows VS2019 build issue

    From Nightfox@VERT/DIGDIST to Digital Man on Fri Jul 26 22:34:45 2019
    Hi DM,

    I've been wanting to try to debug what may be a memory leak issue (when the Synchronet web server is in use, Synchronet's memory usage creeps up until it's using almost all the available RAM). So, I updated my src directory from CVS and tried to build sbbs3.sln. I'm using Visual Studio 2019 Community. I tried building in debug mode so the debug symbols would be available. It got to a point where text.h was clobbered to where everything in text.h after the "enum {" line was removed, so when it tried to build further projets, it was giving me the error "fatal error C1070: mismatched #if/#endif pair in file 'D:\SynchronetCVS\src\sbbs3\text.h'".

    I noticed this in the output:
    error MSB3073: The command ".\msvc.win32.exe.debug\textgen
    error MSB3073: :VCEnd" exited with code 1
    Done building project "textgen.vcxproj" -- FAILED.


    It seems most of the binaries got built though. I tried restoring all of text.h and building again, and it built more of the projects before that happened again.

    Nightfox

    ---
    ■ Synchronet ■ Digital Distortion: digitaldistortionbbs.com
  • From Digital Man@VERT to Nightfox on Sat Jul 27 03:39:19 2019
    Re: Windows VS2019 build issue
    By: Nightfox to Digital Man on Fri Jul 26 2019 10:34 pm

    Hi DM,

    I've been wanting to try to debug what may be a memory leak issue (when the Synchronet web server is in use, Synchronet's memory usage creeps up until it's using almost all the available RAM). So, I updated my src directory from CVS and tried to build sbbs3.sln. I'm using Visual Studio 2019 Community. I tried building in debug mode so the debug symbols would be available. It got to a point where text.h was clobbered to where everything in text.h after the "enum {" line was removed, so when it tried to build further projets, it was giving me the error "fatal error C1070: mismatched #if/#endif pair in file 'D:\SynchronetCVS\src\sbbs3\text.h'".

    I noticed this in the output:
    error MSB3073: The command ".\msvc.win32.exe.debug\textgen
    error MSB3073: :VCEnd" exited with code 1
    Done building project "textgen.vcxproj" -- FAILED.

    textgen needs access to the text.dat file. Are you building on the same system as the BBS? If you so, you need to make sure your SBBSCTRL env var is pointing to the location of a valid text.dat file.


    digital man

    Synchronet "Real Fact" #4:
    Synchronet version 3 is written mostly in C, with some C++, x86 ASM, and Pascal.
    Norco, CA WX: 73.5°F, 58.0% humidity, 0 mph SSW wind, 0.00 inches rain/24hrs

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Nightfox@VERT/DIGDIST to Digital Man on Sat Jul 27 12:49:23 2019
    Re: Windows VS2019 build issue
    By: Digital Man to Nightfox on Sat Jul 27 2019 03:39 am

    textgen needs access to the text.dat file. Are you building on the same system as the BBS? If you so, you need to make sure your SBBSCTRL env var is pointing to the location of a valid text.dat file.

    Yes, I'm building on the same system as my BBS. However, I have my BBS directory tree separate from my Synchronet CVS checkout, and I might rather have it use the text.dat in CVS rather than the one I'm actually using for my BBS.

    Nightfox

    ---
    ■ Synchronet ■ Digital Distortion: digitaldistortionbbs.com
  • From Digital Man@VERT to Nightfox on Wed Jul 31 00:36:03 2019
    Re: Windows VS2019 build issue
    By: Nightfox to Digital Man on Sat Jul 27 2019 12:49 pm

    Re: Windows VS2019 build issue
    By: Digital Man to Nightfox on Sat Jul 27 2019 03:39 am

    textgen needs access to the text.dat file. Are you building on the same system as the BBS? If you so, you need to make sure your SBBSCTRL env var is pointing to the location of a valid text.dat file.

    Yes, I'm building on the same system as my BBS. However, I have my BBS directory tree separate from my Synchronet CVS checkout, and I might rather have it use the text.dat in CVS rather than the one I'm actually using for my BBS.

    That's fine. It doesn't really matter which text.dat you point it to.

    digital man

    Synchronet "Real Fact" #58:
    The last version of Synchronet to run on MS-DOS and OS/2 was v2.30c (1999). Norco, CA WX: 67.2°F, 84.0% humidity, 0 mph SE wind, 0.00 inches rain/24hrs

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Nightfox@VERT/DIGDIST to Digital Man on Wed Jul 31 08:52:18 2019
    Re: Windows VS2019 build issue
    By: Digital Man to Nightfox on Wed Jul 31 2019 12:36 am

    textgen needs access to the text.dat file. Are you building on the
    same system as the BBS? If you so, you need to make sure your
    SBBSCTRL env var is pointing to the location of a valid text.dat
    file.

    Yes, I'm building on the same system as my BBS. However, I have my
    BBS directory tree separate from my Synchronet CVS checkout, and I
    might rather have it use the text.dat in CVS rather than the one I'm
    actually using for my BBS.

    That's fine. It doesn't really matter which text.dat you point it to.

    My SBBSCTRL environment variable is pointing to the location of my text.dat. Other than that, do you know why textgen might be having a problem when building the Synchronet source?

    Nightfox

    ---
    ■ Synchronet ■ Digital Distortion: digitaldistortionbbs.com
  • From Digital Man@VERT to Nightfox on Thu Aug 1 00:36:16 2019
    Re: Windows VS2019 build issue
    By: Nightfox to Digital Man on Wed Jul 31 2019 08:52 am

    Re: Windows VS2019 build issue
    By: Digital Man to Nightfox on Wed Jul 31 2019 12:36 am

    textgen needs access to the text.dat file. Are you building on the DM>> same system as the BBS? If you so, you need to make sure your
    SBBSCTRL env var is pointing to the location of a valid text.dat DM>> file.

    Yes, I'm building on the same system as my BBS. However, I have my
    BBS directory tree separate from my Synchronet CVS checkout, and I
    might rather have it use the text.dat in CVS rather than the one I'm
    actually using for my BBS.

    That's fine. It doesn't really matter which text.dat you point it to.

    My SBBSCTRL environment variable is pointing to the location of my text.dat. Other than that, do you know why textgen might be having a problem when building the Synchronet source?

    That's the only cause I can think of. What is the error exactly?

    digital man

    Synchronet "Real Fact" #35:
    The irc.synchro.net network has more servers than users.
    Norco, CA WX: 66.2°F, 87.0% humidity, 0 mph SSE wind, 0.00 inches rain/24hrs

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net