controllab / fmi-export-20sim

FMI export code generation template for 20-sim
GNU General Public License v3.0
3 stars 4 forks source link

unresolved external symbol xx_stop_simulation #23

Closed juouyCLE closed 8 years ago

juouyCLE commented 8 years ago

Hello, since installation of version 4.6.2 I have an error during FMU compilation: xxfuncs.obj : error LNK2001: unresolved external symbol xx_stop_simulation

margro commented 8 years ago

Thanks for reporting this. It is broken since we added multiple-instance support for FMI.

For now, remove the stopsimulation() calls in your 20-sim model and export again. In the meantime, we will discuss internally if we should/can support stopsimulation in a co-simulation environment.

I cannot easily fix this without breaking multiple instance support again... This needs some re-thinking from our side.

juouyCLE commented 8 years ago

thanks for the solution

julien

Le 17/10/2016 à 14:13, Marcel Groothuis a écrit :

Thanks for reporting this. It is broken since we added multiple-instance support for FMI.

For now, remove the stopsimulation() calls in your 20-sim model and export again. In the meantime, we will discuss internally if we should/can support stopsimulation in a co-simulation environment.

I cannot easily fix this without breaking multiple instance support again... This needs some re-thinking from our side.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/controllab/fmi-export-20sim/issues/23#issuecomment-254190361, or mute the thread https://github.com/notifications/unsubscribe-auth/AVyFTsJVew__H5JA50HPiCKLqwKD8lzYks5q02ZggaJpZM4KXIQt.