-
Notifications
You must be signed in to change notification settings - Fork 25
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
Unable to install flowCore #175
Comments
install the latest cytolib from github |
Can you please direct me to the tar.gz of file RProtoBufLib >= 1.9.4 ? install.packages("D:/Users/akaush9/Documents/R_source_file/cytolib_1.9.10.tar.gz", repos = NULL, type = "source")
|
Thanks it worked. |
I am also having the same issue as Akhilesh.
Thank you for your help. |
Since you are using windows/mac, I'd recommend to re-install all the packages directly from Bioconductor (either the latest release or development version, depends on your R version) |
As I'm sure you guessed, I was installing from GitHub in order to give Dillon's CytoExploreR a go. |
Yes, bioc devel should be in sync with github version |
@hally166 flowCore should compile Now. |
Unable to install flowCore version 1.53.8, however I could install version 1.52.1. But the reason of using 1.53.8 was due to issue #98 in previous version.
devtools::install_github("RGLab/flowCore",ref="trunk")
Downloading GitHub repo RGLab/flowCore@trunk
√ checking for file 'C:\Users\akhil\AppData\Local\Temp\RtmpgbZMHZ\remotesdd07919680e\RGLab-flowCore-195ae63/DESCRIPTION' ...
√ checking DESCRIPTION meta-information ...
NB: this package now depends on R (>= 3.5.0)
WARNING: Added dependency on R >= 3.5.0 because serialized objects in serialize/load version 3 cannot be read in older versions of R. File(s) containing such objects: 'flowCore/data/GvHD.rda' 'flowCore/tests/testthat/expectResults.rds'
Installing package into ‘C:/Program Files/R/R-3.6.1/library’
(as ‘lib’ is unspecified)
** using staged installation
** libs
*** arch - i386
c:/Rtools/mingw_32/bin/g++ -std=gnu++11 -I"C:/PROGRA
1/R/R-3.6.2/include" -DNDEBUG -I"C:/Program Files/R/R-3.6.1/library/Rcpp/include" -I"C:/Program Files/R/R-3.6.1/library/BH/include" -I"C:/Program Files/R/R-3.6.1/library/cytolib/include" -O2 -Wall -mtune=generic -c FastLogicle.cpp -o FastLogicle.o1/R/R-3.6.2/include" -DNDEBUG -I"C:/Program Files/R/R-3.6.1/library/Rcpp/include" -I"C:/Program Files/R/R-3.6.1/library/BH/include" -I"C:/Program Files/R/R-3.6.1/library/cytolib/include" -O2 -Wall -mtune=generic -c Hyperlog.cpp -o Hyperlog.oc:/Rtools/mingw_32/bin/g++ -std=gnu++11 -I"C:/PROGRA
c:/Rtools/mingw_32/bin/g++ -std=gnu++11 -I"C:/PROGRA
1/R/R-3.6.2/include" -DNDEBUG -I"C:/Program Files/R/R-3.6.1/library/Rcpp/include" -I"C:/Program Files/R/R-3.6.1/library/BH/include" -I"C:/Program Files/R/R-3.6.1/library/cytolib/include" -O2 -Wall -mtune=generic -c Logicle.cpp -o Logicle.o1/R/R-3.6.2/include" -DNDEBUG -I"C:/Program Files/R/R-3.6.1/library/Rcpp/include" -I"C:/Program Files/R/R-3.6.1/library/BH/include" -I"C:/Program Files/R/R-3.6.1/library/cytolib/include" -O2 -Wall -mtune=generic -c RcppExports.cpp -o RcppExports.oc:/Rtools/mingw_32/bin/g++ -std=gnu++11 -I"C:/PROGRA
c:/Rtools/mingw_32/bin/g++ -std=gnu++11 -I"C:/PROGRA
1/R/R-3.6.2/include" -DNDEBUG -I"C:/Program Files/R/R-3.6.1/library/Rcpp/include" -I"C:/Program Files/R/R-3.6.1/library/BH/include" -I"C:/Program Files/R/R-3.6.1/library/cytolib/include" -O2 -Wall -mtune=generic -c biexponential.cpp -o biexponential.o1/R/R-3.6.2/include" -DNDEBUG -I"C:/Program Files/R/R-3.6.1/library/Rcpp/include" -I"C:/Program Files/R/R-3.6.1/library/BH/include" -I"C:/Program Files/R/R-3.6.1/library/cytolib/include" -O2 -Wall -mtune=generic -c convertRawBytes.cpp -o convertRawBytes.oc:/Rtools/mingw_32/bin/g++ -std=gnu++11 -I"C:/PROGRA
c:/Rtools/mingw_32/bin/g++ -std=gnu++11 -I"C:/PROGRA
1/R/R-3.6.2/include" -DNDEBUG -I"C:/Program Files/R/R-3.6.1/library/Rcpp/include" -I"C:/Program Files/R/R-3.6.1/library/BH/include" -I"C:/Program Files/R/R-3.6.1/library/cytolib/include" -O2 -Wall -mtune=generic -c fcsTextParse.cpp -o fcsTextParse.o1/R/R-3.6.2/include" -DNDEBUG -I"C:/Program Files/R/R-3.6.1/library/Rcpp/include" -I"C:/Program Files/R/R-3.6.1/library/BH/include" -I"C:/Program Files/R/R-3.6.1/library/cytolib/include" -O2 -Wall -mtune=generic -c hyperlogTransform.cpp -o hyperlogTransform.oc:/Rtools/mingw_32/bin/g++ -std=gnu++11 -I"C:/PROGRA
c:/Rtools/mingw_32/bin/g++ -std=gnu++11 -I"C:/PROGRA
1/R/R-3.6.2/include" -DNDEBUG -I"C:/Program Files/R/R-3.6.1/library/Rcpp/include" -I"C:/Program Files/R/R-3.6.1/library/BH/include" -I"C:/Program Files/R/R-3.6.1/library/cytolib/include" -O2 -Wall -mtune=generic -c inPolygon.cpp -o inPolygon.o1/R/R-3.6.2/etc/i386/Makeconf:215: inPolygon.o] Error 1inPolygon.cpp: In function 'std::vector inPolygon(Rcpp::NumericMatrix, Rcpp::NumericMatrix)':
inPolygon.cpp:39:12: error: 'CYTO_POINT' is not a member of 'cytolib'
vectorcytolib::CYTO_POINT points(nrv);
^
inPolygon.cpp:39:12: error: 'CYTO_POINT' is not a member of 'cytolib'
inPolygon.cpp:39:31: error: template argument 1 is invalid
vectorcytolib::CYTO_POINT points(nrv);
^
inPolygon.cpp:39:31: error: template argument 2 is invalid
inPolygon.cpp:39:39: error: invalid type in declaration before '(' token
vectorcytolib::CYTO_POINT points(nrv);
^
inPolygon.cpp:42:14: error: invalid types 'int[int]' for array subscript
points[i].x = vertices[i];
^
inPolygon.cpp:43:14: error: invalid types 'int[int]' for array subscript
points[i].y = vertices[i + nrv];
^
inPolygon.cpp:52:71: error: invalid initialization of reference of type 'const std::vectorcytolib::POINT&' from expression of type 'int'
cytolib::in_polygon(xdata, ydata, points, parentInd, false, resInd);
^
In file included from inPolygon.cpp:6:0:
C:/Program Files/R/R-3.6.1/library/cytolib/include/cytolib/in_polygon.hpp:26:13: note: in passing argument 3 of 'void cytolib::in_polygon(EVENT_DATA_TYPE*, EVENT_DATA_TYPE*, const std::vectorcytolib::POINT&, INDICE_TYPE&, bool, INDICE_TYPE&)'
inline void in_polygon(EVENT_DATA_TYPE * xdata, EVENT_DATA_TYPE * ydata, const vector & vertices, INDICE_TYPE & parentInd, bool is_negated, INDICE_TYPE &res)
^
make: *** [C:/PROGRA
ERROR: compilation failed for package 'flowCore'
Error: Failed to install 'flowCore' from GitHub:
(converted from warning) installation of package ‘C:/Users/akhil/AppData/Local/Temp/RtmpgbZMHZ/filedd06f6a10e6/flowCore_1.53.8.tar.gz’ had non-zero exit status
The text was updated successfully, but these errors were encountered: