On 7/26/06, Chris Cockburn <[EMAIL PROTECTED]> wrote:
> I'm very new to using wxlua and I was wondering if there are any good
> tutorials around on the wbe that show how to setup wxlua in c++ as my
> searches have ended up with me running around in circles.

There is a install.html file in the docs dir that should help, also here
http://wxlua.sourceforge.net/docs/install.html

> But to the problem I've created a gui using the luaeditor app but now I
> would like to make it a standalone .exe and I've run into a problem while
> compiling.  If I use #include "wxlua/include/wxlua.h" or #include
> "wxlua/include/wxlstate.h" I get a lot of compile errors in the wxlbind.h
> along the lines of.
>
> error C2143: syntax error : missing ';' before '*'
> error C2501: 'WXLUACLASS::wxClassInfo' : missing storage-class or type
> specifiers

These errors make no sense? WXLUACLASS is a struct without any
wxClassInfo at all! You get the wxClassInfo typically from a
DECLARE_[ABSTRACT/DYNAMIC]_CLASS in a class declaration.

What are the line numbers and a little bit of the code? What version
of wxLua are you using, one of the snapshots?

> Am I missing some other include files that I need to include?  I have looked
> at the c++ apps that came with wxlua (although I havent tried compiling any
> of them) and it doesnt seem they are doing anything different when including
> either of those files.

Maybe you're defining WXDLLIMPEXP_WXLUA to something strange?

> Currently I'm using visual studio .net 2003 as a compiler and wxlua 2.6.3.
> Any help would be greatly appreciated.

You should definitely try to compile the samples using the build files
in the build dirs as a start. I use the MSVC 2005, the free GUI
compiler without any problems building using the non-dll DEBUG or
RELEASE settings.

Regards,
    John Labenski

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wxlua-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wxlua-users

Reply via email to