colyseus / colyseus-haxe

⚔ Colyseus Multiplayer SDK for Haxe
https://docs.colyseus.io/getting-started/haxe-client/
MIT License
75 stars 16 forks source link

Type not Found Error #48

Closed Raam124 closed 1 year ago

Raam124 commented 3 years ago

Main.hx:1: characters 8-30 : Type not found : io.colyseus.Client Main.hx:2: characters 8-24 : Type not found : io.colyseus.Room Main.hx:4: characters 18-24 : Type not found : Client

I'm doing exactly how the document says but still getting these errors

serjek commented 3 years ago

Turns out you didn't install the library properly. Make sure you run haxelib install colyseus before running example.

Raam124 commented 3 years ago

I've installed it properly and still getting this

DillyzThe1 commented 2 years ago

Your problem is not that you have not installed the library, but rather you seem to have not imported it. Go to Project.xml & put the following next to the other libraries:

<haxelib name="colyseus" />