From: Glenn L. <pe...@ne...> - 2004-04-10 21:27:49
|
On approximately 4/8/2004 2:36 PM, came the following characters from the keyboard of Laurent ROCHER: > New changes on CVS : Hi Laurent, You've been putting some many nice new features out lately, I thought I should bite the bullet, and try again to move my code to the NEM. "The bullet" seemed to need to include getting the code from CVS, to get all the new goodies, and I've been wanting to get my CVS set up for quite a while anyway, but just was trying not to spend that time.... Well, Tortoise CVS didn't seem to be a big problem, it seems to have done a checkout. But when I go to build things, then it won't compile. So with the same basic environment (compiler setup, VC++ 6.0, but different directory to build in), I can compile the last release of GUI. I don't know if I've missed something in CVS setup, or missed something somewhere else, or if it is code changes, but I get the following errors. As far as I can tell, the obvious things are OK: GUI.cpp #include GUI.h, and GUI.h #include winuser.h, and winuser.h is where WINDOWINFO is declared. But, the error makes it seem like it isn't declared. Any clues? cl -c -nologo -Gf -W3 -MD -Zi -DNDEBUG -O1 -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX -MD -Zi -DNDEBUG -O1 -DVERSION=\"0.0.671\" -DXS_VERSION=\"0.0.671\" "-IC:\Perl\lib\CORE" GUI.cpp GUI.cpp *** Using Preserved Perl context. GUI.xs(1886) : warning C4101: 'targ' : unreferenced local variable GUI.xs(2179) : error C2065: 'WINDOWINFO' : undeclared identifier GUI.xs(2179) : error C2146: syntax error : missing ';' before identifier 'pwi' GUI.xs(2179) : error C2065: 'pwi' : undeclared identifier GUI.xs(2181) : error C2228: left of '.cbSize' must have class/struct/union type GUI.xs(2182) : error C2065: 'GetWindowInfo' : undeclared identifier GUI.xs(2184) : error C2228: left of '.rcClient' must have class/struct/union type GUI.xs(2184) : error C2228: left of '.left' must have class/struct/union type GUI.xs(2185) : error C2228: left of '.rcClient' must have class/struct/union type GUI.xs(2185) : error C2228: left of '.top' must have class/struct/union type GUI.xs(2186) : error C2228: left of '.rcClient' must have class/struct/union type GUI.xs(2186) : error C2228: left of '.right' must have class/struct/union type GUI.xs(2187) : error C2228: left of '.rcClient' must have class/struct/union type GUI.xs(2187) : error C2228: left of '.bottom' must have class/struct/union type *** PACKAGE Win32::GUI::Menu... *** PACKAGE Win32::GUI::MenuButton... *** PACKAGE Win32::GUI::MenuItem... NMAKE : fatal error U1077: 'cl' : return code '0x2' Stop. -- Glenn -- http://nevcal.com/ =========================== The best part about procrastination is that you are never bored, because you have all kinds of things that you should be doing. |