It's gone mad I tell you!
| ?- circletest.
sdl_PollEvent *works* if called from the prompt as
sdl_PollEvent(X) but when my program runs the above errors are
thrown out for some reason. I can call sdl_CreateWindow() from
the prompt and create a window just fine. My real question
is why does it think I am calling sdl_CreateWindow/0 when
there is no such predicate??
What has me stumped is that THERE ARE 0 ARITY predicates
with those names! According to the manual:
an existence error occurs when an object on which an operation
is to be
performed does not exist. ErrorTerm
has the following
form: existence_error(Object, Culprit)
is the type of the
the argument which
caused the error.
is one of:
I now suspect there must be something wrong with the gplc / link
process although no errors are shown during the makefile build
process... sigh all I wanted to do was play with some graphics!