snowkit / linc_sdl

http://snowkit.github.io/linc/ Haxe/hxcpp @:native bindings for SDL
Other
30 stars 15 forks source link

Type not found #23

Closed notcl4y14 closed 5 months ago

notcl4y14 commented 5 months ago
Example.hx:1: characters 8-15 : Type not found : sdl.SDL
Example.hx:2: characters 8-18 : Type not found : sdl.Window
Example.hx:3: characters 8-20 : Type not found : sdl.Renderer
Example.hx:7: characters 33-39 : Type not found : Window

The code is completely the same as the one on README. I have the library installed, tried the "If you run into SDL build errors first try:" method. Tried compiling to C++.

dazKind commented 5 months ago

Make sure you have the library added to your build.hxml.

notcl4y14 commented 5 months ago

Thanks