-
Gauche-gl の Windows 上でのインストール手順のメモです。
(情報が古くなっている可能性があります)
Gauche-gl は、Gauche から OpenGL を使用するための拡張ライブラリです。
Windows 11 24H2 (64bit) で作業しました。 -
以下の記述は、MSYS2/MinGW-w64 UCRT64 (64bit) の開発環境でのコンパイル手順となっています。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gosh def_method.scm | |
pause |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; | |
;; binary-heap patch for key | |
;; | |
(use data.heap) | |
(with-module data.heap | |
(define (make-binary-heap :key (comparator default-comparator) | |
(storage (make-sparse-vector)) | |
(key identity)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set GOSH="C:\Program Files\Gauche\bin\gosh.exe" | |
@rem set GOSH="C:\Program Files\Gauche0913\bin\gosh.exe" | |
%GOSH% -I. library-test.scm | |
@rem set PATH=C:\msys64\mingw64\bin;C:\msys64\usr\local\bin;C:\msys64\usr\bin;C:\msys64\bin;%PATH% | |
@rem set MSYSTEM=MINGW64 | |
@rem gdb --args %GOSH% -I. library-test.scm | |
pause |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gosh callcc.scm | |
pause |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@rem set GOSH=C:\Gauche\Gauche-mingw-dist\Gauche-i686\bin\gosh.exe | |
set GOSH=C:\Gauche\Gauche-mingw-dist\Gauche-x86_64\bin\gosh.exe | |
@rem set GOSH=C:\Gauche\Gauche-mingw-dist\Gauche-x86_64_2_mutexlock\bin\gosh.exe | |
%GOSH% test_0001_open.scm | |
pause |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@set PATH=C:\msys64\mingw32\bin;C:\msys64\usr\local\bin;C:\msys64\usr\bin;C:\msys64\bin;%PATH% | |
set MSYSTEM=MINGW32 | |
for %%i in ( | |
spinlock mutexlock | |
) do ( | |
gcc -g -O2 -Wall -Wextra -o %%i_32.exe %%i.c | |
) | |
pause |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@set PATH=C:\msys64\mingw64\bin;C:\msys64\usr\local\bin;C:\msys64\usr\bin;C:\msys64\bin;%PATH% | |
set MSYSTEM=MINGW64 | |
for %%i in ( | |
inout execvp | |
) do ( | |
gcc -g -O2 -Wall -Wextra -o %%i.exe %%i.c | |
) | |
pause |
NewerOlder