Is there a guide showing the easiest way to compile the Synchronet source files with a Windows app?
Being new to Synchronet v3.20, and having only
dabbled in programming up until now, I'm sure this must seem like a dumb question.
What I've tried so far: cloned the GitHub mirror for SBBS, installed MS Visual Basic, spent hours trying to figure out how to compile without errors.
As I prefer to research answers before asking, I checked the Synchro
Wiki but only mentions the Windows files "built using Microsoft Visual Studio Express 2019 for Windows Desktop" (which doesn't appear on the web so it must have
been renamed). One of the Synchronet .bat files in the source says that building "requires Microsoft Visual C++ 2022".
So I installed the latest
VB, but even after adding nearly every module available module, I'm getting way
too many errors for me to believe this is the right path.
So now I'm asking for help.
1. What are the easiest steps to compile Synchronet source files, without errors, and get a release that is ready for installation on a Windows PC?
2. Can this task be accomplished using Git for Windows, or a compiler that isn't a disk-space-gobbling Microsoft product?
3. If VB is the only way, then what are the minimum modules required, and what steps needed, for making a Synchronet "release version" properly.
I see on the gitlab that there are nightly dev builds, so this must be an everyday task for developers. I just need some information that'll help get me situated in the correct direction. Thank you in advance.
Visual Basic isn't used or involved in the building of Synchronet at all. Microsoft Visual C++ (which is a component of Visual Studio) is, however.
Is there a guide showing the easiest way to compile the Synchronet source files with a Windows app?
Visual Basic isn't used or involved in the building of Synchronet at all. Microsoft Visual C++ (which is a component of Visual Studio) is, however.
but not the GUI components: sbbsctrl.exe, useredit.exe, chat.exe. Those are built using Borland C++Builder 6 (still, yes I know, a very old/proprietary/commercial tool).
All the required "modules" are in the Git repo.
Since these tools and concepts seem so foreign to you, I'm curious *why* you want to build Synchronet for Windows from source? If you're new to Synchronet and new to programming, this doesn't sound like a great way path to success. Maybe start with a simpler project?
We have one now: https://gitlab.synchro.net/main/sbbs/-/blob/master/BUILDING.md
it can't find a bunch of .h files (that aren't even in the git).
Nightfox wrote to Digital Man <=-
Re: Compile from source
By: Digital Man to Yigael on Fri Apr 05 2024 02:41 pm
Visual Basic isn't used or involved in the building of Synchronet at all. Microsoft Visual C++ (which is a component of Visual Studio) is, however.
A BBS package written in VB sounds like something Phil would be
interested in working on.
Which .h files?
5. Type ".\release.bat" and hit [Enter]. Go get another cup of coffee.
I found the switch "/p:XPDeprecationWarning=false" helps suppress the annoying deprecation warning messages.
Well this has been an interesting several days and I learned a lot. Thank you for all the helpful information! :D
We have one now: https://gitlab.synchro.net/main/sbbs/-/blob/master/BUILDING.md
*Scratching head*... wondering if I can locate my BCB6 CD. :D
but getting it to run on
a modern Windows systems is pretty painful.
but getting it to run on
a modern Windows systems is pretty painful.
Sysop: | altere |
---|---|
Location: | Houston, TX |
Users: | 66 |
Nodes: | 4 (0 / 4) |
Uptime: | 05:08:15 |
Calls: | 620 |
Calls today: | 6 |
Files: | 7,638 |
Messages: | 293,360 |