tfussell / xlnt

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

Undefined reference for undefined reference to `xlnt::workbook::load(std::string const&)' #550

Open amithks25 opened 3 years ago

amithks25 commented 3 years ago

I am trying to link the libxlnt.so library to my code,This is not working with Clang. When linking it is giving Error

(.text._ZN9abc10ReadRecordEv+0x21): undefined reference to `xlnt::workbook::load(std::string const&)'

 undefined reference to `xlnt::cell::to_string() const'

clang-8: error: linker command failed with exit code 1 (use -v to see invocation)

[10/11] Building CXX object tools/llvm-config/CMakeFiles/llvm-config.dir/llvm-config.cpp.o

ninja: build stopped: subcommand failed.