Compilation ERROR
Nobody has claimed this yet.
- Dominant language
- R
- Stars
- 1.1k
- Forks
- 266
- Avg merge
- 2h 56m
- Merged PRs (30d)
- 1
Description
I am trying to install and use the rstan package but I keep getting an error when trying to run the example using the code:
1 [main] make (6652) c:\Rtools\bin\make.exe: *** fatal error - cygheap base mismatch detected - 0x2ED7408/0x2D57408.
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility
and delete all but the most recent version. The most recent version should
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution. Rebooting is also suggested if you
are unable to find another cygwin DLL.
1 [main] make 836 fork: child -1 - forked process 6652 died unexpectedly, retry 0, exit code 0xC0000142, errno 11
make: vfork: Resource temporarily unavailable
ERROR(s) during compilation: source code errors or compiler configuration errors!
Program source:
1:
2: // includes from the plugin
3:
.
.
.
.
911: }
912:
913:
Error in compileCode(f, code, language = language, verbose = verbose) :
Compilation ERROR, function(s)/method(s) not created! 1 [main] make (6652) c:\Rtools\bin\make.exe: *** fatal error - cygheap base mismatch detected - 0x2ED7408/0x2D57408.
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility
and delete all but the most recent version. The most recent version should
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution. Rebooting is also suggested if you
are unable to find another cygwin DLL.
1 [main] make 836 fork: child -1 - forked process 6652 died unexpectedly, retry 0, exit code 0xC0000142, errno 11
make: vfork: Resource temporarily unavailable
In addition: Warning message:
In system(cmd, intern = !verbose) :
running command 'C:/PROGRA1/R/R-351.0/bin/x64/R CMD SHLIB file2b90c527963.cpp 2> file2b90c527963.cpp.err.txt' had status 1
RStan Version:
‘2.17.3’
R Version:
"R version 3.5.0 (2018-04-23)"
Operating System:
Window10
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the reported rstan example and the R CMD SHLIB invocation shown in the error. Check the RStan 2.17.3, R 3.5.0, Windows 10, and Rtools/cygwin environment details; done means determining whether the compilation failure is reproducible in a supported setup and documenting a project-side fix or clear configuration guidance.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100