2023-11-30 04:31 PM - last edited on 2024-09-17 01:19 PM by Doreena Deng
Hi,
I'm getting linker errors when I use libxl with AC27 API on MacOS:
ld: Undefined symbols:
_xlCreateXMLBookA
That's the macro being called by xlCreateXMLBook(). LibXL/libxl.h included.
Has anyone tried it with AC27 API?
Thanks.
Solved! Go to Solution.
2023-12-01 08:56 AM
Thanks for reporting this. Probably it's because LibXL.framework has changed to LibXL.dylib in the Frameworks folder. You need to link dylib files to your project, too. The fix is in progress on our side in the cmake template.
2023-12-01 08:56 AM
Thanks for reporting this. Probably it's because LibXL.framework has changed to LibXL.dylib in the Frameworks folder. You need to link dylib files to your project, too. The fix is in progress on our side in the cmake template.
2023-12-01 11:37 AM
Hey, thanks for your reply.
Yes, I found the libXL.dylib in the Frameworks directory:
Why has it changed from framework to dylib?
I included the .dylib files in my CMake config and it worked.
Thanks!
2023-12-05 06:19 PM
Hi,
Why did we change this to .dylib? It made it easier for us the C++17 compilation of our source. Also, this is a 3rd-party component, and this way we don't have to build it every time we build Archicad.
Best, Akos