2020-07-2911:06 PM - last edited on 2021-09-1510:30 AM by Noemi Balogh
Hi,
I want to use an external dylib in my c++ plugin, and it reads a config.json file from current folder. But when I call "std::__fs::filesystem::current_path()", it only returns "/". I'm wondering where is the default location that Archicad runs? Or where it calls a dylib? Thanks.
On macOS platform Archicad tries to load the dynamic libraries from the Support folder next to Archicad.app, so if you Add-On uses external dynamic libraries, then you should place it into the Support folder.
On Windows platform the dynamic libraries should be placed next to Archicad.exe.