cancel
Showing results for 
Search instead for 
Did you mean: 
EN
cancel
Showing results for 
Search instead for 
Did you mean: 
dushyant
Enthusiast

LibXL in AC27 on MacOS

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.

 

1 Solution

Accepted Solutions
Viktor Kovacs
Graphisoft
Graphisoft

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.

Go to post

3 Replies 3
Viktor Kovacs
Graphisoft
Graphisoft

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.

dushyant
Enthusiast

Hey, thanks for your reply.

 

Yes, I found the libXL.dylib in the Frameworks directory:

dushyant_0-1701426699453.png

 

Why has it changed from framework to dylib? 


I included the .dylib files in my CMake config and it worked.

 

Thanks!

 

Akos Somorjai
Graphisoft
Graphisoft

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

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!