Displaying 2 results from an estimated 2 matches for "dartsscor".
Did you mean:
dartsscore
2015 Jul 27
2
R package with Fortran module on Windows? undefined reference to `__stack_chk_fail'
...collect2: ld returned 1 exit status
no DLL was created
ERROR: compilation failed for package 'MyPi'* removing
'C:/Users/IMartinez/Documents/R/R-3.2.1/library/MyPi'
Exited with status 1.
This is the Fortran code:
Module Fortranpi
IMPLICIT NONE
contains
subroutine dboard(darts, dartsscore)
integer, intent(in) :: darts
double precision, intent(out) :: dartsscore
double precision :: x_coord, y_coord
integer :: score, n
score = 0
do n = 1, darts
call random_number(x_coord)
call random_number(...
2015 Jul 27
0
R package with Fortran module on Windows? undefined reference to `__stack_chk_fail'
...ERROR: compilation failed for package 'MyPi'* removing
> 'C:/Users/IMartinez/Documents/R/R-3.2.1/library/MyPi'
>
> Exited with status 1.
>
>
> This is the Fortran code:
>
>
> Module Fortranpi
> IMPLICIT NONE
> contains
> subroutine dboard(darts, dartsscore)
> integer, intent(in) :: darts
> double precision, intent(out) :: dartsscore
> double precision :: x_coord, y_coord
> integer :: score, n
>
> score = 0
> do n = 1, darts
> call rando...