greenfork / nimraylib_now

The Ultimate Raylib gaming library wrapper for Nim
MIT License
149 stars 16 forks source link

Compiled app doesn't start. #93

Closed TTSKarlsson closed 1 year ago

TTSKarlsson commented 1 year ago

OS: Windows 11

Maybe I'm missing a step but the compiled crown.nim app doesn't start.

image

. There are no compile errors, the main.nim contains the raw copy of crown.nim with no changes. . If I start from explorer I get a failure and it tries to open a cmd prompt, which fails in terminal.

image

greenfork commented 1 year ago

Would this troubleshooting section help?

TTSKarlsson commented 1 year ago

Adding --passL:-static for static compilation worked! Thanks a lot mate!

greenfork commented 1 year ago

Great, glad it helped!