qb-0 / PyMeow-

Python Game Hacking Library
MIT License
158 stars 21 forks source link

Compilation error #7

Closed monkeswag closed 3 years ago

monkeswag commented 3 years ago

How can I compile this lib? I downloaded all dependencies (nimpy, nimgl, winim) but the compilation process crashes with this error:

Error: type mismatch: got <Vec2, PyTypeObject> but expected one of:
proc initPyNimObjectWithPyType(o: PyNimObject; typ: PyTypeObject)
  first type mismatch at position: 1
  required type for o: PyNimObject
  but expression 'o' is of type: Vec2

expression: initPyNimObjectWithPyType(o, typ)
monkeswag commented 3 years ago

I was able to compile with this version of nimpy But the overlay window is black: https://prnt.sc/1g3ton4

monkeswag commented 3 years ago

Everything works with this version of nimgl ¯_(ツ)_/¯

qb-0 commented 3 years ago

Everything should compile now with up to date nim libraries.