mckennapsean / scorrplot

interactive scatterplot for visually exploring pairwise correlation
http://mckennapsean.com/projects/s-corrplot/
GNU General Public License v2.0
11 stars 2 forks source link

Compilation error #2

Closed sahirbhatnagar closed 8 years ago

sahirbhatnagar commented 8 years ago

I tried installing via devtools::install_github("mckennapsean/scorrplot") and get the following error

In file included from scorr.cc:25:0:
GlutStrokeFont.h:11:19: fatal error: GL/gl.h: No such file or directory
 #include <GL/gl.h>
                   ^
compilation terminated.
make: *** [scorr.o] Error 1
ERROR: compilation failed for package ‘scorr’
* removing ‘/home/sahir/R/x86_64-pc-linux-gnu-library/3.2/scorr’
Error: Command failed (1)
print(sessionInfo(), locale = F)
R version 3.3.0 (2016-05-03)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 14.04.4 LTS

attached base packages:
[1] grid      parallel  stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
 [1] factoextra_1.0.3.9000 latex2exp_0.4.0       ggplot2_2.1.0         stringr_1.0.0        
 [5] cluster_2.0.4         doMC_1.3.4            iterators_1.0.8       eclust_0.0.0.9000    
 [9] PMA_1.0.9             impute_1.44.0         ncvreg_3.5-1          grpreg_2.8-1         
[13] gglasso_1.3           glmnet_2.0-5          foreach_1.4.3         Matrix_1.2-4         
[17] WGCNA_1.51            fastcluster_1.1.16    dynamicTreeCut_1.63-1 dplyr_0.4.3          
[21] plyr_1.8.3            data.table_1.9.6      magrittr_1.5          RSQLite_1.0.0        
[25] DBI_0.3.1            

loaded via a namespace (and not attached):
 [1] httr_1.1.0            Biobase_2.30.0        tidyr_0.4.1           splines_3.3.0        
 [5] protoclust_1.5        Formula_1.2-1         assertthat_0.1        stats4_3.3.0         
 [9] latticeExtra_0.6-28   progress_2.0.0        ggrepel_0.5           lattice_0.20-33      
[13] quantreg_5.21         chron_2.3-47          digest_0.6.9          RColorBrewer_1.1-2   
[17] minqa_1.2.4           colorspace_1.2-6      preprocessCore_1.32.0 devtools_1.10.0      
[21] pheatmap_1.0.8        SparseM_1.7           caret_6.0-64          GO.db_3.2.2          
[25] scales_0.4.0          lme4_1.1-11           MatrixModels_0.4-1    git2r_0.14.0         
[29] mgcv_1.8-12           IRanges_2.4.8         car_2.1-2             withr_1.0.1          
[33] nnet_7.3-12           BiocGenerics_0.16.1   lazyeval_0.1.10       pbkrtest_0.4-6       
[37] survival_2.39-2       memoise_1.0.0         doParallel_1.0.10     nlme_3.1-127         
[41] MASS_7.3-44           foreign_0.8-66        rsconnect_0.4.2.2     tools_3.3.0          
[45] matrixStats_0.50.1    S4Vectors_0.8.11      munsell_0.4.3         AnnotationDbi_1.32.3 
[49] compiler_3.3.0        nloptr_1.0.4          labeling_0.3          gtable_0.2.0         
[53] codetools_0.2-14      curl_0.9.7            reshape2_1.4.1        R6_2.1.2             
[57] gridExtra_2.2.1       Hmisc_3.17-2          stringi_1.0-1         Rcpp_0.12.4          
[61] rpart_4.1-10          acepack_1.3-3.3      
mckennapsean commented 8 years ago

Thanks for submitting the issue!

Have you installed an OpenGL + utility toolkit library? A good example is freeglut.

It looks like the compilation is failing when looking for that dependency, GL/gl.h.

Let me know if installing GL + GLUT fixes the issue... thanks!

sahirbhatnagar commented 8 years ago

Yes you're right. I should have read further down your README.

Thanks, and nice work