From: Andre <ar...@ki...> - 2007-06-25 13:10:06
|
John Labenski <jlabenski@...> writes: > > 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? I simply create a solution and compile unicode multilib. > > 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 The libs are compiled I check and they are there, just the directory are missing from the additional library in the linker. > > 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. > This is what I did. > > > > > > > cannot link with wxAppInitializer now this is somewhat more obscure. > > > > > -------------- compile > > 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") > I simply use default everywhere except for using unicode. I think something happen when the dsw is turned into an sln. > > ps. I just tried it again w/ MSVC6 and wxWidgets 2.8.4 with no problems. > Never got it working on 7, always removed it from the build. I will compile it with 6 and see what happen. |