Open DmitryKishkinev opened 4 years ago
Where did you get imager from? The master branch of dahtah/imager is unstable now. You can get the package source of the stable version from https://cran.r-project.org/src/contrib/imager_0.42.1.tar.gz
Additionally, you have to put tiffio.h in the include path.
Where did you get imager from? The master branch of dahtah/imager is unstable now. You can get the package source of the stable version from https://cran.r-project.org/src/contrib/imager_0.42.1.tar.gz
Additionally, you have to put tiffio.h in the include path.
Ok will try cran version (tried from github before)
Where and how should I put tiffio.h? What is the include path (sorry never heard of)?
Building imager on Windows is painful. I suggest working on Linux if you are not familiar with C/C++.
ok will try the whole procedure at Ubuntu.
nevertheless how could i include tiffio.h in path on windows? thanks
Learn C/C++ if you want to build imager on Windows. Don't forget this repository is not for education.
This is what I see in RStudio 1.2.5033 terminal (Windows 10, R version 3.6.2)
WARNING: this package has a configure script It probably needs manual configuration
** libs C:/RBuildTools/3.5/mingw_64/bin/g++ -std=gnu++11 -I"C:/PROGRA~1/R/R-36~1.2/include" -DNDEBUG -I../inst/include -DSTRICT_R_HEADERS -Dcimg_use_r -DCIMG_COMPILING -Dcimg_use_fftw3_singlethread -Dcimg_use_tiff -Dcimg_use_rng -Dcimg_verbosity=1 -fpermissive -I/include -I/include -fopenmp -I"C:/Users/dmitr/OneDrive/Documents/R/win-library/3.6/Rcpp/include" -O2 -Wall -mtune=generic -c RcppExports.cpp -o RcppExports.o In file included from RcppExports.cpp:4:0: ../inst/include/imager.h:4:0: warning: "STRICT_R_HEADERS" redefined
define STRICT_R_HEADERS
^