SYNCHRONET--------------- < Пред. | След. > -- < @ > -- < Сообщ. > -- < Эхи > --
 Nп/п : 24 из 100
 От   : Yigael                              1:103/705         06 апр 24 20:37:45
 К    : Digital Man                                           06 апр 24 06:39:01
 Тема : Compile from source
----------------------------------------------------------------------------------
                                                                                 
@MSGID: 51535.sync@1:103/705 2a781458
@REPLY: 51526.sync@1:103/705 2a770ac4
@TZUTC: -0700
@PID: Synchronet 3.20a-Linux master/f2a017ec6 Mar 24
202 GCC 12.2.0
@TID: SBBSecho 3.20-Linux master/1d0dcbacc Apr 05
2024 21:19 GCC 12.2.0
@BBSID: VERT
@CHRS: UTF-8 4
> Which .h files?

The .h files that magically become available when one actually selects a
Windows SDK component. :P

FINAL UPDATE:   Thanks to the updated build instructions I was able to compile
the source files into all the .EXE and .DLL files that I typically see in
\\sbbsxec.  Pretty cool.

Here`s what I did on my Windows 11 PC:

1. Open an admin PowerShell and enter the following wget command. This installs
Visual Studio C++ Build Tools with just the components needed (and nothing
else):

winget install Microsoft.VisualStudio.2022.BuildTools --force --override
"--passive --wait --add
Microsoft.VisualStudio.Workload.VCTools;includeRecommended
Microsoft.VisualStudio.Component.Windows11SDK.22621
Microsoft.Component.VC.Runtime.UCRTSDK
Microsoft.VisualStudio.Component.VC.v141.x86.x64
Microsoft.VisualStudio.Component.WinXP"

2. Install the GnuWin32 package from https://sourceforge.net/projects/gnuwin32/

3. Set environment variables by going into System Properties, clicking on
System Variables and adding the following:

User variables
Variable Name: VS170COMNTOOLS
Variable value: "C:\\Program Files (x86)\\Microsoft Visual
Studio\\2022\\BuildTools\\Common7\\Tools"

(because %VS170COMNTOOLS% is specified in the \\sbbs\\src\\sbbs3\\*.bat
files)

System variables
PATH statement --> add "C:\\Program Files (x86)\\GnuWin32\bin" 

4. Open a Developer PowerShell for VS window and change to \\sbbs\\src\\sbbs3
directory.

5. Type ".
elease.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

Kind Regards,
Chris
--- SBBSecho 3.20-Linux
 * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
SEEN-BY: 1/120 18/0 50/109 103/705 116/116 123/0
10 25 180 200 525 755 3001
SEEN-BY: 124/5016 129/215 135/115 153/757 7715
154/10 30 40 50 700 203/0
SEEN-BY: 218/700 220/90 221/0 6 222/2 226/70
229/310 240/1120 1120 5832 250/1
SEEN-BY: 275/1000 280/464 5003 292/8125 299/6 301/1
341/66 234 396/45 423/120
SEEN-BY: 460/58 463/68 467/888 633/280 712/848 1321
770/1 2320/105 3634/0 12
SEEN-BY: 3634/24 27 57 119 5000/111 5005/49
5019/40 5020/400 715 848 1042
SEEN-BY: 5020/4441 12000 5030/49 1081 5054/8
5060/900 5061/133 5075/128
SEEN-BY: 5083/444
@PATH: 103/705 280/464 154/10 3634/12 5020/1042
4441



   GoldED+ VK   │                                                 │   09:55:30    
                                                                                
В этой области больше нет сообщений.

Остаться здесь
Перейти к списку сообщений
Перейти к списку эх