yglukhov / nimx

GUI library
MIT License
1.09k stars 75 forks source link

I'd really like to use nimx but I can't get it to work #339

Closed iffy closed 5 years ago

iffy commented 5 years ago

I've been really excited about nimx and the possibility of writing cross-platform apps but I haven't yet been able to get it to run with the latest version of Nim. #336

I've started a module for making auto-updating, cross-platform apps using Nim. The goal is to make something as nice to use (and with similar features) as Electron: https://github.com/iffy/wiish I'd really rather use the excellent work you've already done with nimx instead of trying to redo it, but I can't tell from the README And I can't tell what packaging features nimx already provides.

Could you provide a working example of these (if they're already part of nimx -- I'm not asking for new features, just new documentation):

I'd be happy to contribute PRs to this repo for documentation or even features -- I just don't really know what works/doesn't.

yglukhov commented 5 years ago

Does this help? https://github.com/yglukhov/nimx/blob/master/doc/building-for-different-platforms.md

iffy commented 5 years ago

@yglukhov yes! I'm going to submit a PR to link to those docs from the README.

Though I'm getting this error now:

../../../Users/matt/.nimble/pkgs/jester-#head/jester.nim(82, 14) template/generic instantiation of `!=` from here
../../../Users/matt/lib/Nim/lib/system.nim(486, 10) Error: type mismatch: got <RawHeaders, nil>
iffy commented 5 years ago

Okay, if I use clone and do nimble develop for jester, closure_compiler, httpbeast, nimsl, nake and nimx then that works.