JacquesCarette / Drasil

Generate all the things (focusing on research software)
https://jacquescarette.github.io/Drasil
BSD 2-Clause "Simplified" License
142 stars 26 forks source link

NoPCM doesn't generate Swift because there's no ODE library #2978

Open balacij opened 2 years ago

balacij commented 2 years ago

If you try to run NoPCM with Swift, you will be greeted with:

nopcm: None of the chosen ODE libraries are compatible with Swift
CallStack (from HasCallStack):
  error, called at lib/Language/Drasil/Code/Imperative/GenODE.hs:30:30 in drasil-code-0.1.9.0-DDlUtrRYQRgF1WFAe3dCCu:Language.Drasil.Code.Imperative.GenODE
make: *** [Makefile:257: nopcm_gen] Error 1
JacquesCarette commented 2 years ago
  1. that's a fine error message
  2. it's output in a very unfriendly way

So there's probably two things to fix here.