git clone http://github.com/ring-lang/ring.git
Install Qt 5.15.16 (in C:\Qt) so we have the folder (C:\Qt\5.15.16)
If you have another version from Qt 5.15 (like Qt 5.15.2) - Or Qt is installed in another folder
The next batch files uses environment variables (RING_QT_DIR & RING_QT_VERSION) to set the path
To build 32bit version:
ring/build/buildvc.bat
To build 64bit version:
ring/build/buildvc_x64.bat
Add ring/bin folder to your system path
Run Ring Notepad
ringpm run ringnotepad
The next steps demonstrates how to build the 32bit version
To build the 64bit version add _x64 to the batch file name (i.e. use buildvc_x64.bat instead of buildvc.bat) Also, use ring/bin/install_x64.bat instead of ring/bin/install.bat
cd ring/language/build
buildvc.bat
buildvcw.bat
cd ring/tools/ring2exe
build.bat
cd ring/extensions/ringconsolecolors
gencode.bat
buildvc.bat
cd ring/extensions/ringinternet
buildvc.bat
cd ring/extensions/ringcurl
gencode.bat
buildvc.bat
cd ring/extensions/ringzip
gencode.bat
buildvc.bat
cd ring/tools/ringpm
build.bat
cd ring/tools/ringrepl
build.bat
cd ring/tools/folder2qrc
build.bat
cd ring/extensions/ringodbc
buildvc.bat
cd ring/extensions/ringmysql
buildvc.bat
cd ring/extensions/ringsqlite
buildvc.bat
cd ring/extensions/ringpostgresql
gencode.bat
buildvc.bat
cd ring/extensions/ringopenssl
buildvc.bat
cd ring/extensions/ringmurmurhash
buildvc.bat
cd ring/extensions/ringallegro
gencode.bat
buildvc.bat
cd ring/extensions/ringlibuv
gencode.bat
buildvc.bat
cd ring/extensions/ringfreeglut
gencode.bat
buildvc.bat
The ringopengl folder contains many sub folders for different OpenGL versions Starting from OpenGL 1.1 to OpenGL 4.6
cd ring/extensions/ringopengl/opengl21
gencode.bat
buildvc.bat
Tested using Qt 5.15
Install Qt 5.15
cd ring/extensions/ringqt
gencode_light.bat
buildvc_light.bat
gencode_nobluetooth.bat
buildvc_nobluetooth.bat
To Copy the Qt runtime files to ring/bin folder
cd ring/extensions/ringqt/binupdate
installqt515.bat
cd ring/bin
install.bat
Hit "windows key".
Type "Edit the System environment variables"
Select "Advanced" tab.
Click on "Environment Variables..."
Double click on "Path"
Add at the end the new path separated by semicolon.
;C:\Ring\Bin
ringpm run ringnotepad
The previous steps demonstrates building Ring and some of the Ring extensions.
There are more extensions in ring/extensions folder like RingCJSON, RingHTTPLib, etc.