[Ipe-discuss] pdf2ipe compile error
Michael GENG
xygeng at msn.com
Thu Oct 31 18:54:07 CET 2019
Hi All,
Any body know to to addess the error to compile pdf2ipe? In unbuntu under subsystem of linux in windows 10
Thanks a lot!
Michael
~Downloads/ipe-tools-master/pdftoipe$ make
g++ -Wno-write-strings -std=c++11 -I/usr/include/poppler -c -o xmloutputdev.o xmloutputdev.cpp
g++ -Wno-write-strings -std=c++11 -I/usr/include/poppler -c -o pdftoipe.o pdftoipe.cpp
pdftoipe.cpp: In function ‘int main(int, char**)’:
pdftoipe.cpp:111:31: error: ‘class GooString’ has no member named ‘c_str’
const char *p = fileName->c_str() + fileName->getLength() - 4;
^~~~~
pdftoipe.cpp:113:45: error: ‘class GooString’ has no member named ‘c_str’
xmlFileName = std::string(fileName->c_str(),
^~~~~
pdftoipe.cpp:116:31: error: ‘class GooString’ has no member named ‘c_str’
xmlFileName = fileName->c_str();
^~~~~
<builtin>: recipe for target 'pdftoipe.o' failed
make: *** [pdftoipe.o] Error 1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.science.uu.nl/pipermail/ipe-discuss/attachments/20191031/a32e58bc/attachment.html>
More information about the Ipe-discuss
mailing list