On 6/24/07, Andre <[EMAIL PROTECTED]> wrote:
> John Labenski <[EMAIL PROTECTED]> writes:
>
> >
> > On 6/24/07, Andre <[EMAIL PROTECTED]> wrote:
> > > A couple of library are not reachable but do exist easily fixed.
> >
> Debug Unicode Multilib
> LINK : fatal error LNK1181: cannot open input file 'wxlua_msw28ud_wxlua.lib'
> add C:\Programs\wxWidgets\wxLua\lib\vc_lib\ path
> -------------- compile
> LINK : fatal error LNK1181: cannot open input file 'wxmsw28ud_xrc.lib'
> add path C:\Programs\wxWidgets\lib\vc_lib\

This is probably not appropriate, mixing dll and static lib builds.
What are you using to build wxLua? The *.sln files?

There are a couple things you can try:

1) Use "Batch build" in both wxLua and wxWigets to make sure that
these two missing libs are compiled. Sometimes for dlls you have to
build a few times since the dlls have to get linked to libs (not the
static ones, but ones built for the dll, see wxLua/lib/vc_dll and you
should have a xxx.lib for every xxx.dll) and they fail unless they all
exist at once. Just keep pressing build until you don't get any more
errors about missing libs. (yeah it's ugly)

2) Could you try to load wxLua/build/msvc6/wxLua.dsw and let it
convert it to a sln file and see if that works.

> >
> > > cannot link with wxAppInitializer now this is somewhat more obscure.
> >
> -------------- compile
> luamodule.obj : error LNK2019: unresolved external symbol 
> "__declspec(dllimport)
> public: __thiscall wxAppInitializer::wxAppInitializer(class wxAppConsole *
> (__cdecl*)(void))" (__imp_??0wxAppInitializer@@[EMAIL PROTECTED]@@[EMAIL 
> PROTECTED])
> referenced in function _$E7

This sounds like a bad wxWidgets build. Has anything changed since it
last worked? If not, I bet the problem is because you've mixed dll and
static lib builds, see above. When you build as a dll the
WXDLLEXPORT_XXX defines are set appropriately, for static libs they're
defined to nothing and so the functions aren't exported (and therefore
"missing")

Regards,
    John Labenski

ps. I just tried it again w/ MSVC6 and wxWidgets 2.8.4 with no problems.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
wxlua-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wxlua-users

Reply via email to