You're hitting an issue on Windows that has been known for a little while: 
[https://github.com/nim-lang/Nim/issues/8648](https://github.com/nim-lang/Nim/issues/8648)

Basically, the stderr pipe gets overflowed and Windows hangs. You can mitigate 
this by specifying that the compiler should stop after a certain number of 
errors. For `gcc`, it's `-fmax-errors=N`, where `N` is the number of errors you 
should stop after.

For example, to disable warnings and set max errors to 5, do the following:
    
    
    {.passC: "-Ifmi/shared/include -w -fmax-errors=5".}
    
    
    Run

For your other problem, you have to define the symbols by calling passC with a 
`-DSYMBOL=VAL`. For example, it looks like you need this:
    
    
    {.passC: "-Ifmi/shared/include -w -fmax-errors=5 
-DMODEL_GUID={8c4e810f-3df3-4a00-8276-176fa3c9f008} -DNUMBER_OF_BOOLEANS=0".}
    # Keep defining the rest of them as required
    
    
    Run

Reply via email to