Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation error on Linux #2

Open
JohannesNE opened this issue Dec 2, 2021 · 0 comments
Open

Installation error on Linux #2

JohannesNE opened this issue Dec 2, 2021 · 0 comments

Comments

@JohannesNE
Copy link

JohannesNE commented Dec 2, 2021

Trying to install spacefillr on linux I get an error

I run remotes::install_github("tylermorganwall/spacefillr")

I get 3000 + errors similar to this last one.

../inst/include/halton_sampler.h:3286:61: error: exponent has no digits
 3286 |             m_perm1619[(index / 2621161u) % 1619u]) * float(0x1.fffffcp-1 / 4243659659u); // Results in [0,1).
      |                                                             ^~~~~~~~~~~
In file included from generate_point_functions.cpp:8:
../inst/include/sobol.h: In function ‘float u32_to_0_1_f32(uint32_t)’:
../inst/include/sobol.h:11:29: error: unable to find numeric literal operator ‘operator""f’
   11 |   return(std::fmin(n * 0x1p-32f /* 1/2^32 */,
      |                             ^~~
../inst/include/sobol.h:11:29: note: use ‘-fext-numeric-literals’ to enable more built-in suffixes
make: *** [/usr/lib/R/etc/Makeconf:177: generate_point_functions.o] Error 1
make: *** Waiting for unfinished jobs....
ERROR: compilation failed for package ‘spacefillr’

Sys.info():

sysname 
                                                           "Linux" 
                                                           release 
                                             "5.13.0-7614-generic" 
                                                           version 
"#14~1631647151~21.04~930e87c-Ubuntu SMP Fri Sep 17 00:24:58 UTC " 
                                                          nodename 
                                                          "pop-os" 
                                                           machine 
                                                          "x86_64" 

And R.version

platform       x86_64-pc-linux-gnu         
arch           x86_64                      
os             linux-gnu                   
system         x86_64, linux-gnu           
status                                     
major          4                           
minor          1.0                         
year           2021                        
month          05                          
day            18                          
svn rev        80317                       
language       R                           
version.string R version 4.1.0 (2021-05-18)
nickname       Camp Pontanezen             
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant