tfussell / xlnt

:bar_chart: Cross-platform user-friendly xlsx library for C++11+
Other
1.5k stars 423 forks source link

libstudxml version mismatch? #111

Closed d07RiV closed 7 years ago

d07RiV commented 7 years ago

When trying to build the library it generates several errors like this:

'xml::serializer::end_element': function does not take 2 arguments

for lines like

serializer.end_element(xmlns, "keyData");

The end_element function indeed takes zero arguments. The requirements section states that libstudxml v1.1.0 is required, but the linked page only has v1.0.1 - could that be the reason for this error?

tfussell commented 7 years ago

Hi @d07RiV. Thanks for giving my library a try. libstudxml v1.1.0 is still in alpha at the moment. v1.0.1 was released about 2 years ago so I'm sticking with the HEAD of the Git release for now (currently v1.1.0-a5). You should be able to clone version this from the Git repo here: http://scm.codesynthesis.com/?p=libstudxml/libstudxml.git libstudxml is also configured as a git submodule in xlnt which you can initialize automatically using "git submodule update --init" from the xlnt root directory. Let me know if you have any other issues.

sukoi26 commented 7 years ago

currently, i use xlnt with the version of additional libraries , no problem to build

git submodule status
 1a17ade299c3a05e5a63a8cb3f390d21845c21c6 ../third-party/cryptopp (CRYPTOPP_5_6_3-1448-g1a17ade)
 191adddb3876ab389c0c856e1c03874bf70f8ee4 ../third-party/cxxtest (4.4)
 132522ca4c895e9b07d7e323d5529474806e5829 ../third-party/libstudxml (1.1.0-a4-3-g132522c)
 a5ad5ec9d936d63e9c010d1054f8b11fed0fabbc ../third-party/utfcpp (v2.3.4-7-ga5ad5ec)
 94575859cf7f657f0f31aff4c50761fe3f182699 ../third-party/zlib (v1.2.8-57-g9457585)