I cannot get wxErlang to work at all. Do i need to include a module. Can't find any basic information relating to it. Please help. I am look for a very basic example of a module.
the error I am getting is
undefined function wx:start/0
This should display an empty frame:
1> wx:new().
{wx_ref,0,wx,[]}
2> Frame = wxFrame:new(wx:null(), 0, "myFrame").
{wx_ref,36,wxFrame,[]}
3> wxFrame:show(Frame).
true
To find the ex-erlang-samples You should issue the following call in EShell to locate the base directory for wx-erlang:
code:lib_dir(wx).
On Windows the returned path uses "/" instead of "\", so just replace them.
Inside that directory there shoud be a directory "examples". Start with "simple" inside those examples.
Also You should check if wx is working properly: use
wx:demo().
in EShell.
I just needed to include the wx lib using the following line
include/ is a sub directory in my project containing the wx library.