Hi Modelica Gurus around the earth,
I am trying to linking my C code that calls external library, namely GLPK (GNU Linear Programming Kit) with my Modelica model.
The C code works just fine, I have tested it in a stand alone condition.
gcc standalonecode.c -lglpk -o standalonecode
When I plugged in the external C function with my Modelica models, I started to get this error:
I believe that it comes from the linking process. Do you guys know how to solve this linking problem? Thanks!
Cheers,
Edited by:
philgun - Jun-29-20 06:20:13
I saw your PM.
as adrpo said, we have to see your Modelica code that call the C function, especially the annotation, otherwise very little can be said.
Also please check the section 12.9.4 Annotations for External Libraries and Include Files of Modelica Specifications
Modelica Documents
.
You will find useful hints.