jmcnamara / libxlsxwriter

A C library for creating Excel XLSX files.
https://libxlsxwriter.github.io
Other
1.48k stars 330 forks source link

Linker error when trying to use latest version with macOS project #425

Closed duncangroenewald closed 8 months ago

duncangroenewald commented 8 months ago

I have been using v1.0.5 of this library for some time and decided to upgrade to the latest version to see if it would improve performance when writing the xls files.

However when replacing the source code and headers from the new version I now get a linker error as shown below.

Can someone shed some light on why this error might be occurring.

Thanks

ld: Undefined symbols: _lxw_table_assemble_xml_file, referenced from: write_table_files in packager.o _lxw_table_free, referenced from: write_table_files in packager.o write_table_files in packager.o _lxw_table_new, referenced from: write_table_files in packager.o clang: error: linker command failed with exit code 1 (use -v to see invocation)

duncangroenewald commented 8 months ago

Ignore this - I didn't realise there is a new table.c file in the source code.