๐Ÿ“ฆ itsfuad / MinGW_GLUT_OpenAL_Installer

MinGW FreeGLUT & OpenAL Installer

โ˜… 0 stars โ‘‚ 0 forks ๐Ÿ‘ 0 watching โš–๏ธ GNU General Public License v3.0
freeglutinstaller-scriptmingwopenal
๐Ÿ“ฅ Clone https://github.com/itsfuad/MinGW_GLUT_OpenAL_Installer.git
HTTPS git clone https://github.com/itsfuad/MinGW_GLUT_OpenAL_Installer.git
SSH git clone git@github.com:itsfuad/MinGW_GLUT_OpenAL_Installer.git
CLI gh repo clone itsfuad/MinGW_GLUT_OpenAL_Installer
Fuad Hasan Fuad Hasan Update README.md 005c427 6 months ago ๐Ÿ“ History
๐Ÿ“‚ main View all commits โ†’
๐Ÿ“ freeglut
๐Ÿ“ OpenAL
๐Ÿ“„ install.bat
๐Ÿ“„ LICENSE
๐Ÿ“„ README.md
๐Ÿ“„ README.md

MinGW FreeGLUT & OpenAL Installer


This script installs FreeGLUT and/or OpenAL headers and libraries into your MinGW environment.

REQUIREMENTS:


  • MinGW with g++ must be installed and available in your system PATH.
  • Place this script in a folder containing the following structure:
freeglut\
        โ”œโ”€โ”€ include\GL\*.h
        โ”œโ”€โ”€ lib\x64\*.a           (for 64-bit)
        โ”œโ”€โ”€ lib\.\*.a             (for 32-bit)
        โ””โ”€โ”€ bin\x64\*.dll         (for 64-bit)

    OpenAL\
        โ”œโ”€โ”€ include\AL\*.h
        โ”œโ”€โ”€ libs\Win64\*.a, *.lib (for 64-bit)
        โ”œโ”€โ”€ libs\Win32\*.a, *.lib (for 32-bit)
        โ””โ”€โ”€ oalinst.exe           (optional OpenAL installer)
USAGE:
  • Right-click install.bat and select "Run as administrator" (or run from terminal with admin rights).
  • Choose what you want to install:
[1] FreeGLUT only
    [2] OpenAL only
    [3] Both
  • The script will:
  • Detect your MinGW installation and architecture
  • Copy relevant header and library files
  • (If OpenAL is selected) silently run the OpenAL installer if available
NOTES:
  • You must have admin rights to copy .dll files to the Windows system directory.
  • At the end of the script, a summary will show what succeeded or failed.
  • If errors occur, check that source folders and files exist in the correct locations.
EXAMPLE STRUCTURE:
. โ”œโ”€โ”€ install.bat โ”œโ”€โ”€ README.txt โ”œโ”€โ”€ freeglut\ โ”‚ โ”œโ”€โ”€ include\GL\freeglut.h ... โ”‚ โ”œโ”€โ”€ lib\x64\freeglut.a ... โ”‚ โ””โ”€โ”€ bin\x64\freeglut.dll ... โ””โ”€โ”€ OpenAL\ โ”œโ”€โ”€ include\AL\al.h ... โ”œโ”€โ”€ libs\Win64\OpenAL32.a / .lib ... โ””โ”€โ”€ oalinst.exe