Christoph Buchner

Results 643 comments of Christoph Buchner

And the dll I generated with `gcc -shared -fPIC -o ./Resources/Library/win64/ExternalFunc1.dll ./Resources/Source/ExternalFunc1.c -I./Resources/Include` as explained above [ExternalFunc1.zip](https://github.com/user-attachments/files/17258219/ExternalFunc1.zip)

Presence of `-fPIC` does not make a difference. I ran your a.mos (with the various C files and dll distributed in a `Resources` directory as appropriate), and the FMU binaries/win64...

@arun3688 Possibly this could be a clang/gcc behaviour difference also observed in two other places in OM: https://github.com/OpenModelica/OpenModelica/issues/12065#issuecomment-2418998558. Are you and @adeas31 compiling the **FMU** (not the extension) with clang...