* installing *source* package 'rayrender' ... ** using staged installation ** libs using C++ compiler: 'g++.exe (GCC) 12.3.0' using C++17 g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppThread/include' -I'D:/RCompile/CRANpkg/lib/4.4/progress/include' -I'D:/RCompile/CRANpkg/lib/4.4/spacefillr/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -D RAY_REPRODUCE_PERLIN -DSTRICT_R_HEADERS -DRAY_WINDOWS -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c PreviewDisplay.cpp -o PreviewDisplay.o PreviewDisplay.cpp: In function 'LRESULT WindowProc(HWND, UINT, WPARAM, LPARAM)': PreviewDisplay.cpp:978:19: warning: variable 'ortho' set but not used [-Wunused-but-set-variable] 978 | point2f ortho = cam_w->get_ortho(); | ^~~~~ PreviewDisplay.cpp: At global scope: PreviewDisplay.cpp:35:13: warning: 'preview' defined but not used [-Wunused-variable] 35 | static bool preview; | ^~~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppThread/include' -I'D:/RCompile/CRANpkg/lib/4.4/progress/include' -I'D:/RCompile/CRANpkg/lib/4.4/spacefillr/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -D RAY_REPRODUCE_PERLIN -DSTRICT_R_HEADERS -DRAY_WINDOWS -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c RayMatrix.cpp -o RayMatrix.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppThread/include' -I'D:/RCompile/CRANpkg/lib/4.4/progress/include' -I'D:/RCompile/CRANpkg/lib/4.4/spacefillr/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -D RAY_REPRODUCE_PERLIN -DSTRICT_R_HEADERS -DRAY_WINDOWS -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c RcppExports.cpp -o RcppExports.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppThread/include' -I'D:/RCompile/CRANpkg/lib/4.4/progress/include' -I'D:/RCompile/CRANpkg/lib/4.4/spacefillr/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -D RAY_REPRODUCE_PERLIN -DSTRICT_R_HEADERS -DRAY_WINDOWS -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c aabb.cpp -o aabb.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppThread/include' -I'D:/RCompile/CRANpkg/lib/4.4/progress/include' -I'D:/RCompile/CRANpkg/lib/4.4/spacefillr/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -D RAY_REPRODUCE_PERLIN -DSTRICT_R_HEADERS -DRAY_WINDOWS -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c adaptivesampler.cpp -o adaptivesampler.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppThread/include' -I'D:/RCompile/CRANpkg/lib/4.4/progress/include' -I'D:/RCompile/CRANpkg/lib/4.4/spacefillr/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -D RAY_REPRODUCE_PERLIN -DSTRICT_R_HEADERS -DRAY_WINDOWS -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c animatedtransform.cpp -o animatedtransform.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppThread/include' -I'D:/RCompile/CRANpkg/lib/4.4/progress/include' -I'D:/RCompile/CRANpkg/lib/4.4/spacefillr/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -D RAY_REPRODUCE_PERLIN -DSTRICT_R_HEADERS -DRAY_WINDOWS -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c box.cpp -o box.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppThread/include' -I'D:/RCompile/CRANpkg/lib/4.4/progress/include' -I'D:/RCompile/CRANpkg/lib/4.4/spacefillr/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -D RAY_REPRODUCE_PERLIN -DSTRICT_R_HEADERS -DRAY_WINDOWS -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c buildscene.cpp -o buildscene.o In file included from ray.h:8, from aabb.h:4, from hitable.h:4, from buildscene.h:4, from buildscene.cpp:1: mathinline.h: In function 'point3f RGBtoHSV(point3f&)': mathinline.h:650:13: warning: ''result_decl' not supported by dump_expr.point3::e[0]' may be used uninitialized [-Wmaybe-uninitialized] 650 | if(hsv.e[0] < 0) { | ~~~~~~~^ mathinline.h:625:37: note: ' hsv' declared here 625 | inline point3f RGBtoHSV(point3f& rgb) { | ^ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppThread/include' -I'D:/RCompile/CRANpkg/lib/4.4/progress/include' -I'D:/RCompile/CRANpkg/lib/4.4/spacefillr/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -D RAY_REPRODUCE_PERLIN -DSTRICT_R_HEADERS -DRAY_WINDOWS -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c bvh_node.cpp -o bvh_node.o bvh_node.cpp: In constructor 'bvh_node::bvh_node(std::vector >&, size_t, size_t, Float, Float, int, random_gen&)': bvh_node.cpp:221:13: warning: variable 'costs' set but not used [-Wunused-but-set-variable] 221 | Float costs[nBuckets]; | ^~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppThread/include' -I'D:/RCompile/CRANpkg/lib/4.4/progress/include' -I'D:/RCompile/CRANpkg/lib/4.4/spacefillr/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -D RAY_REPRODUCE_PERLIN -DSTRICT_R_HEADERS -DRAY_WINDOWS -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c camera.cpp -o camera.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppThread/include' -I'D:/RCompile/CRANpkg/lib/4.4/progress/include' -I'D:/RCompile/CRANpkg/lib/4.4/spacefillr/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -D RAY_REPRODUCE_PERLIN -DSTRICT_R_HEADERS -DRAY_WINDOWS -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c color.cpp -o color.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppThread/include' -I'D:/RCompile/CRANpkg/lib/4.4/progress/include' -I'D:/RCompile/CRANpkg/lib/4.4/spacefillr/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -D RAY_REPRODUCE_PERLIN -DSTRICT_R_HEADERS -DRAY_WINDOWS -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c constant.cpp -o constant.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppThread/include' -I'D:/RCompile/CRANpkg/lib/4.4/progress/include' -I'D:/RCompile/CRANpkg/lib/4.4/spacefillr/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -D RAY_REPRODUCE_PERLIN -DSTRICT_R_HEADERS -DRAY_WINDOWS -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c csg.cpp -o csg.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppThread/include' -I'D:/RCompile/CRANpkg/lib/4.4/progress/include' -I'D:/RCompile/CRANpkg/lib/4.4/spacefillr/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -D RAY_REPRODUCE_PERLIN -DSTRICT_R_HEADERS -DRAY_WINDOWS -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c curve.cpp -o curve.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppThread/include' -I'D:/RCompile/CRANpkg/lib/4.4/progress/include' -I'D:/RCompile/CRANpkg/lib/4.4/spacefillr/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -D RAY_REPRODUCE_PERLIN -DSTRICT_R_HEADERS -DRAY_WINDOWS -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c cylinder.cpp -o cylinder.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppThread/include' -I'D:/RCompile/CRANpkg/lib/4.4/progress/include' -I'D:/RCompile/CRANpkg/lib/4.4/spacefillr/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -D RAY_REPRODUCE_PERLIN -DSTRICT_R_HEADERS -DRAY_WINDOWS -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c debug.cpp -o debug.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppThread/include' -I'D:/RCompile/CRANpkg/lib/4.4/progress/include' -I'D:/RCompile/CRANpkg/lib/4.4/spacefillr/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -D RAY_REPRODUCE_PERLIN -DSTRICT_R_HEADERS -DRAY_WINDOWS -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c define_functions.cpp -o define_functions.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppThread/include' -I'D:/RCompile/CRANpkg/lib/4.4/progress/include' -I'D:/RCompile/CRANpkg/lib/4.4/spacefillr/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -D RAY_REPRODUCE_PERLIN -DSTRICT_R_HEADERS -DRAY_WINDOWS -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c disk.cpp -o disk.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppThread/include' -I'D:/RCompile/CRANpkg/lib/4.4/progress/include' -I'D:/RCompile/CRANpkg/lib/4.4/spacefillr/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -D RAY_REPRODUCE_PERLIN -DSTRICT_R_HEADERS -DRAY_WINDOWS -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c distributions.cpp -o distributions.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppThread/include' -I'D:/RCompile/CRANpkg/lib/4.4/progress/include' -I'D:/RCompile/CRANpkg/lib/4.4/spacefillr/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -D RAY_REPRODUCE_PERLIN -DSTRICT_R_HEADERS -DRAY_WINDOWS -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c ellipsoid.cpp -o ellipsoid.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppThread/include' -I'D:/RCompile/CRANpkg/lib/4.4/progress/include' -I'D:/RCompile/CRANpkg/lib/4.4/spacefillr/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -D RAY_REPRODUCE_PERLIN -DSTRICT_R_HEADERS -DRAY_WINDOWS -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c filter.cpp -o filter.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppThread/include' -I'D:/RCompile/CRANpkg/lib/4.4/progress/include' -I'D:/RCompile/CRANpkg/lib/4.4/spacefillr/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -D RAY_REPRODUCE_PERLIN -DSTRICT_R_HEADERS -DRAY_WINDOWS -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c hitable.cpp -o hitable.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppThread/include' -I'D:/RCompile/CRANpkg/lib/4.4/progress/include' -I'D:/RCompile/CRANpkg/lib/4.4/spacefillr/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -D RAY_REPRODUCE_PERLIN -DSTRICT_R_HEADERS -DRAY_WINDOWS -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c hitablelist.cpp -o hitablelist.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppThread/include' -I'D:/RCompile/CRANpkg/lib/4.4/progress/include' -I'D:/RCompile/CRANpkg/lib/4.4/spacefillr/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -D RAY_REPRODUCE_PERLIN -DSTRICT_R_HEADERS -DRAY_WINDOWS -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c infinite_area_light.cpp -o infinite_area_light.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppThread/include' -I'D:/RCompile/CRANpkg/lib/4.4/progress/include' -I'D:/RCompile/CRANpkg/lib/4.4/spacefillr/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -D RAY_REPRODUCE_PERLIN -DSTRICT_R_HEADERS -DRAY_WINDOWS -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c integrator.cpp -o integrator.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppThread/include' -I'D:/RCompile/CRANpkg/lib/4.4/progress/include' -I'D:/RCompile/CRANpkg/lib/4.4/spacefillr/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -D RAY_REPRODUCE_PERLIN -DSTRICT_R_HEADERS -DRAY_WINDOWS -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c material.cpp -o material.o material.cpp: In member function 'virtual bool dielectric::scatter(const ray&, const hit_record&, scatter_record&, random_gen&)': material.cpp:214:11: warning: 'refracted.vec3::e[2]' may be used uninitialized [-Wmaybe-uninitialized] 214 | vec3f refracted; | ^~~~~~~~~ material.cpp:214:11: warning: 'refracted.vec3::e[1]' may be used uninitialized [-Wmaybe-uninitialized] In file included from material.h:4, from material.cpp:1: In constructor 'ray::ray(const point3f&, const vec3f&, std::vector*, Float, Float)', inlined from 'virtual bool dielectric::scatter(const ray&, const hit_record&, scatter_record&, random_gen&)' at material.cpp:216:25: ray.h:54:17: warning: 'refracted.vec3::e[0]' may be used uninitialized [-Wmaybe-uninitialized] 54 | inv_dir = vec3f(1/b.x(), 1/b.y(), 1/b.z()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ material.cpp: In member function 'virtual bool dielectric::scatter(const ray&, const hit_record&, scatter_record&, random_gen&)': material.cpp:214:11: note: 'refracted.vec3::e[0]' was declared here 214 | vec3f refracted; | ^~~~~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppThread/include' -I'D:/RCompile/CRANpkg/lib/4.4/progress/include' -I'D:/RCompile/CRANpkg/lib/4.4/spacefillr/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -D RAY_REPRODUCE_PERLIN -DSTRICT_R_HEADERS -DRAY_WINDOWS -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c matrix.cpp -o matrix.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppThread/include' -I'D:/RCompile/CRANpkg/lib/4.4/progress/include' -I'D:/RCompile/CRANpkg/lib/4.4/spacefillr/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -D RAY_REPRODUCE_PERLIN -DSTRICT_R_HEADERS -DRAY_WINDOWS -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c mesh3d.cpp -o mesh3d.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppThread/include' -I'D:/RCompile/CRANpkg/lib/4.4/progress/include' -I'D:/RCompile/CRANpkg/lib/4.4/spacefillr/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -D RAY_REPRODUCE_PERLIN -DSTRICT_R_HEADERS -DRAY_WINDOWS -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c microfacetdist.cpp -o microfacetdist.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppThread/include' -I'D:/RCompile/CRANpkg/lib/4.4/progress/include' -I'D:/RCompile/CRANpkg/lib/4.4/spacefillr/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -D RAY_REPRODUCE_PERLIN -DSTRICT_R_HEADERS -DRAY_WINDOWS -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c miniply.cpp -o miniply.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppThread/include' -I'D:/RCompile/CRANpkg/lib/4.4/progress/include' -I'D:/RCompile/CRANpkg/lib/4.4/spacefillr/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -D RAY_REPRODUCE_PERLIN -DSTRICT_R_HEADERS -DRAY_WINDOWS -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c my_new.cpp -o my_new.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppThread/include' -I'D:/RCompile/CRANpkg/lib/4.4/progress/include' -I'D:/RCompile/CRANpkg/lib/4.4/spacefillr/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -D RAY_REPRODUCE_PERLIN -DSTRICT_R_HEADERS -DRAY_WINDOWS -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c pdf.cpp -o pdf.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppThread/include' -I'D:/RCompile/CRANpkg/lib/4.4/progress/include' -I'D:/RCompile/CRANpkg/lib/4.4/spacefillr/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -D RAY_REPRODUCE_PERLIN -DSTRICT_R_HEADERS -DRAY_WINDOWS -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c perlin.cpp -o perlin.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppThread/include' -I'D:/RCompile/CRANpkg/lib/4.4/progress/include' -I'D:/RCompile/CRANpkg/lib/4.4/spacefillr/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -D RAY_REPRODUCE_PERLIN -DSTRICT_R_HEADERS -DRAY_WINDOWS -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c plymesh.cpp -o plymesh.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppThread/include' -I'D:/RCompile/CRANpkg/lib/4.4/progress/include' -I'D:/RCompile/CRANpkg/lib/4.4/spacefillr/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -D RAY_REPRODUCE_PERLIN -DSTRICT_R_HEADERS -DRAY_WINDOWS -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c quaternion.cpp -o quaternion.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppThread/include' -I'D:/RCompile/CRANpkg/lib/4.4/progress/include' -I'D:/RCompile/CRANpkg/lib/4.4/spacefillr/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -D RAY_REPRODUCE_PERLIN -DSTRICT_R_HEADERS -DRAY_WINDOWS -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c ray.cpp -o ray.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppThread/include' -I'D:/RCompile/CRANpkg/lib/4.4/progress/include' -I'D:/RCompile/CRANpkg/lib/4.4/spacefillr/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -D RAY_REPRODUCE_PERLIN -DSTRICT_R_HEADERS -DRAY_WINDOWS -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c raymesh.cpp -o raymesh.o raymesh.cpp: In constructor 'raymesh::raymesh(Rcpp::List, std::shared_ptr, std::shared_ptr, std::shared_ptr, bool, bool, bool, bool, hitable_list&, bool, Float, Float, int, random_gen, std::shared_ptr, std::shared_ptr, bool)': raymesh.cpp:33:75: warning: comparison of integer expressions of different signedness: '__gnu_cxx::__alloc_traits, int>::value_type' {aka 'int'} and 'std::vector >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 33 | if(mesh->face_material_id[i / 3] < 0 || mesh->face_material_id[i / 3] >= mesh->mesh_materials.size()) { g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppThread/include' -I'D:/RCompile/CRANpkg/lib/4.4/progress/include' -I'D:/RCompile/CRANpkg/lib/4.4/spacefillr/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -D RAY_REPRODUCE_PERLIN -DSTRICT_R_HEADERS -DRAY_WINDOWS -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c rectangle.cpp -o rectangle.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppThread/include' -I'D:/RCompile/CRANpkg/lib/4.4/progress/include' -I'D:/RCompile/CRANpkg/lib/4.4/spacefillr/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -D RAY_REPRODUCE_PERLIN -DSTRICT_R_HEADERS -DRAY_WINDOWS -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c render_animation_rcpp.cpp -o render_animation_rcpp.o render_animation_rcpp.cpp: In function 'void render_animation_rcpp(Rcpp::List, Rcpp::List, Rcpp::List, Rcpp::List, int, int, Rcpp::CharacterVector, Rcpp::Function, int, bool, bool, bool)': render_animation_rcpp.cpp:533:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 533 | for(int i = 0; i < n; i++) { | ~~^~~ In file included from render_animation_rcpp.cpp:7: mathinline.h: In function 'point3f RGBtoHSV(point3f&)': mathinline.h:650:13: warning: ''result_decl' not supported by dump_expr.point3::e[0]' may be used uninitialized [-Wmaybe-uninitialized] 650 | if(hsv.e[0] < 0) { | ~~~~~~~^ mathinline.h:625:37: note: ' hsv' declared here 625 | inline point3f RGBtoHSV(point3f& rgb) { | ^ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppThread/include' -I'D:/RCompile/CRANpkg/lib/4.4/progress/include' -I'D:/RCompile/CRANpkg/lib/4.4/spacefillr/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -D RAY_REPRODUCE_PERLIN -DSTRICT_R_HEADERS -DRAY_WINDOWS -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c render_scene_rcpp.cpp -o render_scene_rcpp.o render_scene_rcpp.cpp: In function 'Rcpp::List render_scene_rcpp(Rcpp::List, Rcpp::List, Rcpp::List)': render_scene_rcpp.cpp:484:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 484 | for(int i = 0; i < n; i++) { | ~~^~~ In file included from render_scene_rcpp.cpp:68: mathinline.h: In function 'point3f RGBtoHSV(point3f&)': mathinline.h:650:13: warning: ''result_decl' not supported by dump_expr.point3::e[0]' may be used uninitialized [-Wmaybe-uninitialized] 650 | if(hsv.e[0] < 0) { | ~~~~~~~^ mathinline.h:625:37: note: ' hsv' declared here 625 | inline point3f RGBtoHSV(point3f& rgb) { | ^ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppThread/include' -I'D:/RCompile/CRANpkg/lib/4.4/progress/include' -I'D:/RCompile/CRANpkg/lib/4.4/spacefillr/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -D RAY_REPRODUCE_PERLIN -DSTRICT_R_HEADERS -DRAY_WINDOWS -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c rng.cpp -o rng.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppThread/include' -I'D:/RCompile/CRANpkg/lib/4.4/progress/include' -I'D:/RCompile/CRANpkg/lib/4.4/spacefillr/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -D RAY_REPRODUCE_PERLIN -DSTRICT_R_HEADERS -DRAY_WINDOWS -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c sampler.cpp -o sampler.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppThread/include' -I'D:/RCompile/CRANpkg/lib/4.4/progress/include' -I'D:/RCompile/CRANpkg/lib/4.4/spacefillr/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -D RAY_REPRODUCE_PERLIN -DSTRICT_R_HEADERS -DRAY_WINDOWS -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c scenerenderer.cpp -o scenerenderer.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppThread/include' -I'D:/RCompile/CRANpkg/lib/4.4/progress/include' -I'D:/RCompile/CRANpkg/lib/4.4/spacefillr/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -D RAY_REPRODUCE_PERLIN -DSTRICT_R_HEADERS -DRAY_WINDOWS -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c sphere.cpp -o sphere.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppThread/include' -I'D:/RCompile/CRANpkg/lib/4.4/progress/include' -I'D:/RCompile/CRANpkg/lib/4.4/spacefillr/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -D RAY_REPRODUCE_PERLIN -DSTRICT_R_HEADERS -DRAY_WINDOWS -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c texture.cpp -o texture.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppThread/include' -I'D:/RCompile/CRANpkg/lib/4.4/progress/include' -I'D:/RCompile/CRANpkg/lib/4.4/spacefillr/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -D RAY_REPRODUCE_PERLIN -DSTRICT_R_HEADERS -DRAY_WINDOWS -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c tonemap.cpp -o tonemap.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppThread/include' -I'D:/RCompile/CRANpkg/lib/4.4/progress/include' -I'D:/RCompile/CRANpkg/lib/4.4/spacefillr/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -D RAY_REPRODUCE_PERLIN -DSTRICT_R_HEADERS -DRAY_WINDOWS -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c transform.cpp -o transform.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppThread/include' -I'D:/RCompile/CRANpkg/lib/4.4/progress/include' -I'D:/RCompile/CRANpkg/lib/4.4/spacefillr/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -D RAY_REPRODUCE_PERLIN -DSTRICT_R_HEADERS -DRAY_WINDOWS -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c transformcache.cpp -o transformcache.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppThread/include' -I'D:/RCompile/CRANpkg/lib/4.4/progress/include' -I'D:/RCompile/CRANpkg/lib/4.4/spacefillr/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -D RAY_REPRODUCE_PERLIN -DSTRICT_R_HEADERS -DRAY_WINDOWS -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c triangle.cpp -o triangle.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppThread/include' -I'D:/RCompile/CRANpkg/lib/4.4/progress/include' -I'D:/RCompile/CRANpkg/lib/4.4/spacefillr/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -D RAY_REPRODUCE_PERLIN -DSTRICT_R_HEADERS -DRAY_WINDOWS -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c trianglemesh.cpp -o trianglemesh.o trianglemesh.cpp: In function 'void LoadRayMaterials(std::vector >&, std::vector >&, std::vector&, std::vector&, std::vector >&, std::vector >&, std::shared_ptr, std::shared_ptr, size_t&, std::shared_ptr, bool, bool, bool, std::vector&)': trianglemesh.cpp:30:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 30 | for(int i = 0; i < shape_materials.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~ trianglemesh.cpp:79:26: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'R_xlen_t' {aka 'long long int'} [-Wsign-compare] 79 | for (size_t i = 0; i < materials.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~ trianglemesh.cpp:193:11: warning: unused variable 'illum' [-Wunused-variable] 193 | int illum = Rcpp::as(single_material["illum"]); | ^~~~~ trianglemesh.cpp: In constructor 'TriangleMesh::TriangleMesh(Rcpp::List, bool, bool, bool, bool, std::shared_ptr, std::shared_ptr, std::shared_ptr, std::shared_ptr, std::shared_ptr, bool)': trianglemesh.cpp:810:23: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'R_xlen_t' {aka 'long long int'} [-Wsign-compare] 810 | for(size_t i = 0; i < materials_raw.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppThread/include' -I'D:/RCompile/CRANpkg/lib/4.4/progress/include' -I'D:/RCompile/CRANpkg/lib/4.4/spacefillr/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -D RAY_REPRODUCE_PERLIN -DSTRICT_R_HEADERS -DRAY_WINDOWS -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c trimesh.cpp -o trimesh.o g++ -shared -s -static-libgcc -o rayrender.dll tmp.def PreviewDisplay.o RayMatrix.o RcppExports.o aabb.o adaptivesampler.o animatedtransform.o box.o buildscene.o bvh_node.o camera.o color.o constant.o csg.o curve.o cylinder.o debug.o define_functions.o disk.o distributions.o ellipsoid.o filter.o hitable.o hitablelist.o infinite_area_light.o integrator.o material.o matrix.o mesh3d.o microfacetdist.o miniply.o my_new.o pdf.o perlin.o plymesh.o quaternion.o ray.o raymesh.o rectangle.o render_animation_rcpp.o render_scene_rcpp.o rng.o sampler.o scenerenderer.o sphere.o texture.o tonemap.o transform.o transformcache.o triangle.o trianglemesh.o trimesh.o -lgdi32 -Ld:/rtools43/x86_64-w64-mingw32.static.posix/lib/x64 -Ld:/rtools43/x86_64-w64-mingw32.static.posix/lib -LD:/RCompile/recent/R/bin/x64 -lR installing to d:/RCompile/CRANincoming/R-devel/lib/00LOCK-rayrender/00new/rayrender/libs/x64 ** R ** inst ** byte-compile and prepare package for lazy loading ** help *** installing help indices ** building package indices ** testing if installed package can be loaded from temporary location ** testing if installed package can be loaded from final location ** testing if installed package keeps a record of temporary installation path * DONE (rayrender)