tractatus / wholebrain

R package for segmentation, registration and generating web-based brain atlases from microscope images
GNU General Public License v3.0
86 stars 42 forks source link

Some problems install rstan in windows 10 #32

Open WZFish opened 4 years ago

WZFish commented 4 years ago

when I have install rstan an run the test code in the website ,there are some problem : Error in compileCode(f, code, language = language, verbose = verbose) : Compilation ERROR, function(s)/method(s) not created! make: *** No rule to make target '$(CXX11STD)''. Stop. 此外: Warning message: In system(cmd, intern = !verbose) : 运行命令'C:/PROGRA~1/R/R-36~1.3/bin/x64/R CMD SHLIB file2e7c58eb3c09.cpp 2> file2e7c58eb3c09.cpp.err.txt'的状态是1 Error in sink(type = "output") : 链结不对

And in the website you said that Download the OpenCVCompilerOptions.cmake file from here but no link ,where can I download it?

tractatus commented 4 years ago

This is an error from installing RStan and not WholeBrain so you probably should ask there instead.

Nevertheless I can see that your Rtools, R and RStudio are not configured especially with respect to Rtools paths and headers.

Try reinstalling with stable version of Rtools that is my best advice although it looks like your entire Rstudio, Rtools set up is problematic. Because it cant find CX11.

Also you dont need to compile OpenCV yourself ROOenCVLite will do this for you as long as you have Cmake.