Skip to content

Instantly share code, notes, and snippets.

@ongaeshi
Created January 21, 2025 18:58
Show Gist options
  • Save ongaeshi/0d942552f5ffdcede6dc262a647d1a19 to your computer and use it in GitHub Desktop.
Save ongaeshi/0d942552f5ffdcede6dc262a647d1a19 to your computer and use it in GitHub Desktop.
gem install processing
current directory: C:/Ruby33-x64/lib/ruby/gems/3.3.0/gems/rays-0.3.2
C:/Ruby33-x64/bin/ruby.exe -rrubygems C:/Ruby33-x64/lib/ruby/gems/3.3.0/gems/rake-13.2.1/exe/rake RUBYARCHDIR\=C:/Ruby33-x64/lib/ruby/gems/3.3.0/extensions/x64-mingw-ucrt/3.3.0/rays-0.3.2 RUBYLIBDIR\=C:/Ruby33-x64/lib/ruby/gems/3.3.0/extensions/x64-mingw-ucrt/3.3.0/rays-0.3.2
git clone -c advice.detachedHead=false --depth 1 --branch 0.9.9.8 --recursive https://github.com/g-truc/glm vendor/glm
Cloning into 'vendor/glm'...
Updating files: 90% (1371/1517)
Updating files: 91% (1381/1517)
Updating files: 92% (1396/1517)
Updating files: 93% (1411/1517)
Updating files: 94% (1426/1517)
Updating files: 95% (1442/1517)
Updating files: 96% (1457/1517)
Updating files: 97% (1472/1517)
Updating files: 98% (1487/1517)
Updating files: 99% (1502/1517)
Updating files: 100% (1517/1517)
Updating files: 100% (1517/1517), done.
git clone -c advice.detachedHead=false --depth 1 --branch 6.4.2 --recursive https://github.com/skyrpex/clipper vendor/clipper
Cloning into 'vendor/clipper'...
g++ -c -DFD_SETSIZE=2048 -D_WIN32_WINNT=0x0600 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64 -DNDEBUG -DRAYS -DMINGW -DWIN32 -DGCC -D_USE_MATH_DEFINES -IC:/Ruby33-x64/lib/ruby/gems/3.3.0/gems/rays-0.3.2/include -IC:/Ruby33-x64/lib/ruby/gems/3.3.0/gems/rucy-0.3.2/include -IC:/Ruby33-x64/lib/ruby/gems/3.3.0/gems/xot-0.3.2/include -I/ucrt64/include -isystemvendor/glm -isystemvendor/clipper/cpp -isystemvendor/earcut.hpp/include/mapbox -isystemvendor/splines-lib -isystemvendor/stb -isystemC:/Ruby33-x64/include/ruby-3.3.0 -isystemC:/Ruby33-x64/include/ruby-3.3.0/x64-mingw-ucrt -O3 -fno-fast-math -fstack-protector-strong -w -march=nocona -msahf -mtune=generic -O2 -pipe -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -Wp,-D__USE_MINGW_ANSI_STDIO=1 -Wno-unknown-pragmas -std=c++20 -o vendor/clipper/cpp/clipper.o vendor/clipper/cpp/clipper.cpp
git clone -c advice.detachedHead=false --depth 1 --branch v2.2.4 --recursive https://github.com/mapbox/earcut.hpp vendor/earcut.hpp
Cloning into 'vendor/earcut.hpp'...
Submodule 'glfw' (https://github.com/glfw/glfw.git) registered for path 'glfw'
Cloning into 'C:/Ruby33-x64/lib/ruby/gems/3.3.0/gems/rays-0.3.2/vendor/earcut.hpp/glfw'...
Submodule path 'glfw': checked out '90e22947c60b0c1fa47cf1496790ce1942e4a5d8'
git clone -c advice.detachedHead=false --depth 1 --recursive https://github.com/andrewwillmott/splines-lib vendor/splines-lib
Cloning into 'vendor/splines-lib'...
git fetch --depth 1 origin 11e7240d57b0d22871aec3308186a5fcf915ba77
From https://github.com/andrewwillmott/splines-lib
* branch 11e7240d57b0d22871aec3308186a5fcf915ba77 -> FETCH_HEAD
git checkout 11e7240d57b0d22871aec3308186a5fcf915ba77
HEAD is now at 11e7240 typo fix from Vinh
g++ -c -DFD_SETSIZE=2048 -D_WIN32_WINNT=0x0600 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64 -DNDEBUG -DRAYS -DMINGW -DWIN32 -DGCC -D_USE_MATH_DEFINES -IC:/Ruby33-x64/lib/ruby/gems/3.3.0/gems/rays-0.3.2/include -IC:/Ruby33-x64/lib/ruby/gems/3.3.0/gems/rucy-0.3.2/include -IC:/Ruby33-x64/lib/ruby/gems/3.3.0/gems/xot-0.3.2/include -I/ucrt64/include -isystemvendor/glm -isystemvendor/clipper/cpp -isystemvendor/earcut.hpp/include/mapbox -isystemvendor/splines-lib -isystemvendor/stb -isystemC:/Ruby33-x64/include/ruby-3.3.0 -isystemC:/Ruby33-x64/include/ruby-3.3.0/x64-mingw-ucrt -O3 -fno-fast-math -fstack-protector-strong -w -march=nocona -msahf -mtune=generic -O2 -pipe -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -Wp,-D__USE_MINGW_ANSI_STDIO=1 -Wno-unknown-pragmas -std=c++20 -o vendor/splines-lib/Splines.o vendor/splines-lib/Splines.cpp
git clone -c advice.detachedHead=false --depth 1 --recursive https://github.com/nothings/stb vendor/stb
Cloning into 'vendor/stb'...
git fetch --depth 1 origin ae721c50eaf761660b4f90cc590453cdb0c2acd0
From https://github.com/nothings/stb
* branch ae721c50eaf761660b4f90cc590453cdb0c2acd0 -> FETCH_HEAD
git checkout ae721c50eaf761660b4f90cc590453cdb0c2acd0
HEAD is now at ae721c5 Merge pull request #1609 from jeffrbig2/fix_coeffs
g++ -M -DFD_SETSIZE=2048 -D_WIN32_WINNT=0x0600 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64 -DNDEBUG -DRAYS -DMINGW -DWIN32 -DGCC -D_USE_MATH_DEFINES -IC:/Ruby33-x64/lib/ruby/gems/3.3.0/gems/rays-0.3.2/include -IC:/Ruby33-x64/lib/ruby/gems/3.3.0/gems/rucy-0.3.2/include -IC:/Ruby33-x64/lib/ruby/gems/3.3.0/gems/xot-0.3.2/include -I/ucrt64/include -isystemvendor/glm -isystemvendor/clipper/cpp -isystemvendor/earcut.hpp/include/mapbox -isystemvendor/splines-lib -isystemvendor/stb -isystemC:/Ruby33-x64/include/ruby-3.3.0 -isystemC:/Ruby33-x64/include/ruby-3.3.0/x64-mingw-ucrt src/bounds.cpp src/color.cpp src/color_space.cpp src/coord.cpp src/exception.cpp src/font.cpp src/frame_buffer.cpp src/image.cpp src/matrix.cpp src/opengl.cpp src/painter.cpp src/point.cpp src/polygon.cpp src/polyline.cpp src/render_buffer.cpp src/shader.cpp src/shader_program.cpp src/shader_source.cpp src/texture.cpp src/util.cpp src/win32/bitmap.cpp src/win32/camera.cpp src/win32/font.cpp src/win32/gdi.cpp src/win32/opengl.cpp src/win32/rays.cpp > depend.mf
In file included from src/color_space.h:8,
from src/color_space.cpp:1:
src/opengl.h:14:18: fatal error: GL/glew.h: No such file or directory
14 | #include <GL/glew.h>
| ^~~~~~~~~~~
compilation terminated.
In file included from src/frame_buffer.h:9,
from src/frame_buffer.cpp:1:
src/opengl.h:14:18: fatal error: GL/glew.h: No such file or directory
14 | #include <GL/glew.h>
| ^~~~~~~~~~~
compilation terminated.
In file included from src/image.cpp:8:
src/opengl.h:14:18: fatal error: GL/glew.h: No such file or directory
14 | #include <GL/glew.h>
| ^~~~~~~~~~~
compilation terminated.
In file included from src/opengl.cpp:1:
src/opengl.h:14:18: fatal error: GL/glew.h: No such file or directory
14 | #include <GL/glew.h>
| ^~~~~~~~~~~
compilation terminated.
In file included from src/painter.h:8,
from src/painter.cpp:1:
src/opengl.h:14:18: fatal error: GL/glew.h: No such file or directory
14 | #include <GL/glew.h>
| ^~~~~~~~~~~
compilation terminated.
In file included from src/painter.h:8,
from src/polygon.cpp:14:
src/opengl.h:14:18: fatal error: GL/glew.h: No such file or directory
14 | #include <GL/glew.h>
| ^~~~~~~~~~~
compilation terminated.
In file included from src/render_buffer.h:9,
from src/render_buffer.cpp:1:
src/opengl.h:14:18: fatal error: GL/glew.h: No such file or directory
14 | #include <GL/glew.h>
| ^~~~~~~~~~~
compilation terminated.
In file included from src/shader.cpp:7:
src/opengl.h:14:18: fatal error: GL/glew.h: No such file or directory
14 | #include <GL/glew.h>
| ^~~~~~~~~~~
compilation terminated.
In file included from src/shader_program.h:10,
from src/shader_program.cpp:1:
src/opengl.h:14:18: fatal error: GL/glew.h: No such file or directory
14 | #include <GL/glew.h>
| ^~~~~~~~~~~
compilation terminated.
In file included from src/shader_source.h:8,
from src/shader_source.cpp:1:
src/opengl.h:14:18: fatal error: GL/glew.h: No such file or directory
14 | #include <GL/glew.h>
| ^~~~~~~~~~~
compilation terminated.
In file included from src/texture.h:10,
from src/texture.cpp:1:
src/opengl.h:14:18: fatal error: GL/glew.h: No such file or directory
14 | #include <GL/glew.h>
| ^~~~~~~~~~~
compilation terminated.
In file included from src/win32/../color_space.h:8,
from src/win32/bitmap.cpp:10:
src/win32/../opengl.h:14:18: fatal error: GL/glew.h: No such file or directory
14 | #include <GL/glew.h>
| ^~~~~~~~~~~
compilation terminated.
In file included from src/win32/opengl.cpp:1:
src/win32/../opengl.h:14:18: fatal error: GL/glew.h: No such file or directory
14 | #include <GL/glew.h>
| ^~~~~~~~~~~
compilation terminated.
In file included from src/win32/rays.cpp:5:
src/win32/../opengl.h:14:18: fatal error: GL/glew.h: No such file or directory
14 | #include <GL/glew.h>
| ^~~~~~~~~~~
compilation terminated.
rake aborted!
Command failed with status (1): [ g++ -M -DFD_SETSIZE=2048 -D_WIN32_WINNT=0x0600 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64 -DNDEBUG -DRAYS -DMINGW -DWIN32 -DGCC -D_USE_MATH_DEFINES -IC:/Ruby33-x64/lib/ruby/gems/3.3.0/gems/rays-0.3.2/include -IC:/Ruby33-x64/lib/ruby/gems/3.3.0/gems/rucy-0.3.2/include -IC:/Ruby33-x64/lib/ruby/gems/3.3.0/gems/xot-0.3.2/include -I/ucrt64/include -isystemvendor/glm -isystemvendor/clipper/cpp -isystemvendor/earcut.hpp/include/mapbox -isystemvendor/splines-lib -isystemvendor/stb -isystemC:/Ruby33-x64/include/ruby-3.3.0 -isystemC:/Ruby33-x64/include/ruby-3.3.0/x64-mingw-ucrt src/bounds.cpp src/color.cpp src/color_space.cpp src/coord.cpp src/exception.cpp src/font.cpp src/frame_buffer.cpp src/image.cpp src/matrix.cpp src/opengl.cpp src/painter.cpp src/point.cpp src/polygon.cpp src/polyline.cpp src/render_buffer.cpp src/shader.cpp src/shader_program.cpp src/shader_source.cpp src/texture.cpp src/util.cpp src/win32/bitmap.cpp src/win32/camera.cpp src/win32/font.cpp src/win32/gdi.cpp src/win32/opengl.cpp src/win32/rays.cpp > depend.mf ]
Tasks: TOP => default => ext => lib/rays/native.so => ext/rays/native.so => lib => lib/librays.a => src/bounds.o => depend.mf
(See full trace by running task with --trace)
rake failed, exit code 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment