* installing *source* package 'neojags' ...
** this is package 'neojags' version '0.1.7'
** package 'neojags' successfully unpacked and MD5 sums checked
** using staged installation

   **********************************************
   WARNING: this package has a configure script
         It probably needs manual configuration
   **********************************************


** libs
using C compiler: 'gcc.exe (GCC) 14.3.0'
using C++ compiler: 'g++.exe (GCC) 14.3.0'
make[1]: Entering directory '/d/temp/2026_11_23_10_37_00_27970/RtmpAdEI6j/R.INSTALL407c7f2e6529/neojags/src'
g++ -std=gnu++20  -I"D:/RCompile/recent/R-4.6.2/include" -DNDEBUG -I"C:/Program Files/JAGS/JAGS-5.0.2/include" -D JAGS_MAJOR_ASSUMED=0 -D JAGS_MAJOR_FORCED=04    -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include"      -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -c distributions/jags/DFunction.cc -o distributions/jags/DFunction.o
g++ -std=gnu++20  -I"D:/RCompile/recent/R-4.6.2/include" -DNDEBUG -I"C:/Program Files/JAGS/JAGS-5.0.2/include" -D JAGS_MAJOR_ASSUMED=0 -D JAGS_MAJOR_FORCED=04    -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include"      -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -c distributions/jags/DPQFunction.cc -o distributions/jags/DPQFunction.o
g++ -std=gnu++20  -I"D:/RCompile/recent/R-4.6.2/include" -DNDEBUG -I"C:/Program Files/JAGS/JAGS-5.0.2/include" -D JAGS_MAJOR_ASSUMED=0 -D JAGS_MAJOR_FORCED=04    -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include"      -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -c distributions/jags/PFunction.cc -o distributions/jags/PFunction.o
g++ -std=gnu++20  -I"D:/RCompile/recent/R-4.6.2/include" -DNDEBUG -I"C:/Program Files/JAGS/JAGS-5.0.2/include" -D JAGS_MAJOR_ASSUMED=0 -D JAGS_MAJOR_FORCED=04    -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include"      -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -c distributions/jags/QFunction.cc -o distributions/jags/QFunction.o
g++ -std=gnu++20  -I"D:/RCompile/recent/R-4.6.2/include" -DNDEBUG -I"C:/Program Files/JAGS/JAGS-5.0.2/include" -D JAGS_MAJOR_ASSUMED=0 -D JAGS_MAJOR_FORCED=04    -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include"      -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -c distributions/jags/RScalarDist.cc -o distributions/jags/RScalarDist.o
g++ -std=gnu++20  -I"D:/RCompile/recent/R-4.6.2/include" -DNDEBUG -I"C:/Program Files/JAGS/JAGS-5.0.2/include" -D JAGS_MAJOR_ASSUMED=0 -D JAGS_MAJOR_FORCED=04    -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include"      -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -c distributions/DGmsnburr.cc -o distributions/DGmsnburr.o
g++ -std=gnu++20  -I"D:/RCompile/recent/R-4.6.2/include" -DNDEBUG -I"C:/Program Files/JAGS/JAGS-5.0.2/include" -D JAGS_MAJOR_ASSUMED=0 -D JAGS_MAJOR_FORCED=04    -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include"      -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -c distributions/DMsnburr.cc -o distributions/DMsnburr.o
g++ -std=gnu++20  -I"D:/RCompile/recent/R-4.6.2/include" -DNDEBUG -I"C:/Program Files/JAGS/JAGS-5.0.2/include" -D JAGS_MAJOR_ASSUMED=0 -D JAGS_MAJOR_FORCED=04    -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include"      -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -c distributions/DMsnburr2a.cc -o distributions/DMsnburr2a.o
g++ -std=gnu++20  -I"D:/RCompile/recent/R-4.6.2/include" -DNDEBUG -I"C:/Program Files/JAGS/JAGS-5.0.2/include" -D JAGS_MAJOR_ASSUMED=0 -D JAGS_MAJOR_FORCED=04    -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include"      -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -c distributions/DSkewnf.cc -o distributions/DSkewnf.o
g++ -std=gnu++20  -I"D:/RCompile/recent/R-4.6.2/include" -DNDEBUG -I"C:/Program Files/JAGS/JAGS-5.0.2/include" -D JAGS_MAJOR_ASSUMED=0 -D JAGS_MAJOR_FORCED=04    -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include"      -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -c distributions/DSkewtf.cc -o distributions/DSkewtf.o
g++ -std=gnu++20  -I"D:/RCompile/recent/R-4.6.2/include" -DNDEBUG -I"C:/Program Files/JAGS/JAGS-5.0.2/include" -D JAGS_MAJOR_ASSUMED=0 -D JAGS_MAJOR_FORCED=04    -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include"      -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -c distributions/DLep.cc -o distributions/DLep.o
g++ -std=gnu++20  -I"D:/RCompile/recent/R-4.6.2/include" -DNDEBUG -I"C:/Program Files/JAGS/JAGS-5.0.2/include" -D JAGS_MAJOR_ASSUMED=0 -D JAGS_MAJOR_FORCED=04    -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include"      -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -c distributions/DFossep.cc -o distributions/DFossep.o
g++ -std=gnu++20  -I"D:/RCompile/recent/R-4.6.2/include" -DNDEBUG -I"C:/Program Files/JAGS/JAGS-5.0.2/include" -D JAGS_MAJOR_ASSUMED=0 -D JAGS_MAJOR_FORCED=04    -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include"      -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -c distributions/DJsep.cc -o distributions/DJsep.o
gcc  -I"D:/RCompile/recent/R-4.6.2/include" -DNDEBUG -I"C:/Program Files/JAGS/JAGS-5.0.2/include" -D JAGS_MAJOR_ASSUMED=0 -D JAGS_MAJOR_FORCED=04    -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include"      -pedantic -Wstrict-prototypes -O2 -Wall -std=gnu2x  -mfpmath=sse -msse2 -mstackrealign   -c init.c -o init.o
g++ -std=gnu++20  -I"D:/RCompile/recent/R-4.6.2/include" -DNDEBUG -I"C:/Program Files/JAGS/JAGS-5.0.2/include" -D JAGS_MAJOR_ASSUMED=0 -D JAGS_MAJOR_FORCED=04    -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include"      -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -c neojags.cc -o neojags.o
g++ -std=gnu++20  -I"D:/RCompile/recent/R-4.6.2/include" -DNDEBUG -I"C:/Program Files/JAGS/JAGS-5.0.2/include" -D JAGS_MAJOR_ASSUMED=0 -D JAGS_MAJOR_FORCED=04    -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include"      -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -c testneojags.cc -o testneojags.o
g++ -std=gnu++20 -shared -s -static-libgcc -o neojags.dll tmp.def distributions/jags/DFunction.o distributions/jags/DPQFunction.o distributions/jags/PFunction.o distributions/jags/QFunction.o distributions/jags/RScalarDist.o distributions/DGmsnburr.o distributions/DMsnburr.o distributions/DMsnburr2a.o distributions/DSkewnf.o distributions/DSkewtf.o distributions/DLep.o distributions/DFossep.o distributions/DJsep.o init.o neojags.o testneojags.o -LC:/Program Files/JAGS/JAGS-5.0.2//x64/bin -ljags-4 -ljrmath-0 -Ld:/rtools45/x86_64-w64-mingw32.static.posix/lib/x64 -Ld:/rtools45/x86_64-w64-mingw32.static.posix/lib -LD:/RCompile/recent/R-4.6.2/bin/x64 -lR
D:\rtools45\x86_64-w64-mingw32.static.posix\bin/ld.exe: cannot find -ljags-4: No such file or directory
collect2.exe: error: ld returned 1 exit status
make[1]: Leaving directory '/d/temp/2026_11_23_10_37_00_27970/RtmpAdEI6j/R.INSTALL407c7f2e6529/neojags/src'
make[1]: Entering directory '/d/temp/2026_11_23_10_37_00_27970/RtmpAdEI6j/R.INSTALL407c7f2e6529/neojags/src'
make[1]: Leaving directory '/d/temp/2026_11_23_10_37_00_27970/RtmpAdEI6j/R.INSTALL407c7f2e6529/neojags/src'
no DLL was created
ERROR: compilation failed for package 'neojags'
* removing 'd:/Rcompile/CRANpkg/lib/4.6/neojags'
* restoring previous 'd:/Rcompile/CRANpkg/lib/4.6/neojags'