<div dir="ltr">Hi folks<div><br><div>I have a .xz file and need to read it and "convert" to a DataFrame using Rcpp if possible.</div><div><br></div><div>But... I'm with a problem (first time testing this) using liblzma with Rcpp, I already know how to do this with CMakeLists.txt, but I don't know how to do with RCpp</div><div><br></div><div>Anyone have an idea? </div><div><br></div><div>Output from compile time:</div><div><font face="monospace"><br>> sourceCpp("D:/Trabalho/FTDB-R/FTDB/src/ftdbR.cpp")<br>/mingw64/bin/g++ -std=gnu++11  -I"C:/PROGRA~1/R/R-41~1.2/include" -DNDEBUG   -I"C:/Users/rspadim/Documents/R/win-library/4.1/Rcpp/include" -I"D:/Trabalho/FTDB-R/FTDB/src" -I"D:/Trabalho/FTDB-R/FTDB/inst/include"        -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c D:/Trabalho/FTDB-R/FTDB/src/xz/xz/decode.cpp -o D:/Trabalho/FTDB-R/FTDB/src/xz/xz/decode.o<br>D:/Trabalho/FTDB-R/FTDB/src/xz/xz/decode.cpp:5:10: fatal error: lzma.h: No such file or directory<br> #include <lzma.h><br>          ^~~~~~~~<br>compilation terminated.<br>make: *** [C:/PROGRA~1/R/R-41~1.2/etc/x64/Makeconf:245: D:/Trabalho/FTDB-R/FTDB/src/xz/xz/decode.o] Error 1<br>Error in sourceCpp("D:/Trabalho/FTDB-R/FTDB/src/ftdbR.cpp") : <br>  Error 1 occurred building shared library.<br>In addition: Warning message:<br>In normalizePath(path.expand(path), winslash, mustWork) :<br>  path[1]="D:/Trabalho/FTDB-R/FTDB/src/../inst/include": O sistema não pode encontrar o caminho especificado</font><br></div><div><font face="monospace"><br></font></div></div></div>