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.
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.
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.
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?
Sysop: | Ree |
---|---|
Location: | Toronto, ON |
Users: | 2 |
Nodes: | 10 (0 / 10) |
Uptime: | 115:42:07 |
Calls: | 375 |
Calls today: | 2 |
Files: | 2 |
Messages: | 38,886 |