From: Jouke V. <jo...@pv...> - 2006-08-20 09:35:30
|
Hi Mattia, I tried to build wxPerl from cvs (after first successfully installing Alien::wxWidgets from cvs), because I wanted to test my wrapping of Wx::StaticText::Wrap, but it fails, ending the output with the following: NMAKE -f Makefile all -nologo cl -c -I. -I..\.. -IC:\Perl\site\lib\Alien\wxWidgets\msw_2_6_3_cl_0\lib -IC:\Perl\site\lib\Alien\wxWidgets\msw_2_6_3_cl_0\include -IC:\Perl\site\lib\Al ien\wxWidgets\msw_2_6_3_cl_0\include -GF -TP /c /nologo /TP /MD /O2 /W4 /GR /EH sc -MD -Zi -DNDEBUG -O1 -DVERSION=\"0.01\" -DXS_VERSION=\"0.01\" "-IC:\Perl \lib\CORE" -DWXPL_EXT -DWIN32 -D__WXMSW__ -DWXUSINGDLL -D_WINDOWS -DNOPCH -D_C RT_SECURE_NO_DEPRECATE XRC.c Command line warning D4025 : overriding '/O2' with '/O1' XRC.c ..\..\cpp/helpers.h(276) : warning C4510: 'wxPliPrototype' : default constructor could not be generated ..\..\cpp/helpers.h(272) : see declaration of 'wxPliPrototype' ..\..\cpp/helpers.h(276) : warning C4610: struct 'wxPliPrototype' can never be i nstantiated - user defined constructor required XRC.c(52) : warning C4189: 'CLASS' : local variable is initialized but not refer enced XRC.c(372) : error C2664: 'bool (struct interpreter *,const struct wxPliPrototyp e &,int,bool)' : cannot convert parameter 2 from 'const unsigned char []' to 'co nst struct wxPliPrototype &' Reason: cannot convert from 'const unsigned char []' to 'const struct wx PliPrototype' No constructor could take the source type, or constructor overload resol ution was ambiguous XRC.c(373) : error C2664: 'bool (struct interpreter *,const struct wxPliPrototyp e &,int,bool)' : cannot convert parameter 2 from 'const unsigned char []' to 'co nst struct wxPliPrototype &' Reason: cannot convert from 'const unsigned char []' to 'const struct wx PliPrototype' No constructor could take the source type, or constructor overload resol ution was ambiguous NMAKE : fatal error U1077: 'cl' : return code '0x2' Stop. NMAKE : fatal error U1077: '"D:\Program Files\Microsoft Visual Studio\VC98\bin\N MAKE.EXE"' : return code '0x2' Stop. NMAKE : fatal error U1077: '"D:\Program Files\Microsoft Visual Studio\VC98\bin\N MAKE.EXE"' : return code '0x2' Stop. Is there something that I'm doing wrong, or is the cvs HEAD not buildable? ;-) Cheers, Jouke |
From: Mattia B. <mat...@li...> - 2006-08-20 09:51:34
|
On Sun, 20 Aug 2006 11:35:23 +0200 Jouke Visser <jo...@pv...> wrote: Hi, > I tried to build wxPerl from cvs (after first successfully installing > Alien::wxWidgets from cvs), because I wanted to test my wrapping of > Wx::StaticText::Wrap, but it fails, ending the output with the following: > ..\..\cpp/helpers.h(276) : warning C4510: 'wxPliPrototype' : default > constructor > could not be generated > ..\..\cpp/helpers.h(272) : see declaration of 'wxPliPrototype' > ..\..\cpp/helpers.h(276) : warning C4610: struct 'wxPliPrototype' can > never be i > nstantiated - user defined constructor required Stupid VC++, you have no business issuing this warning. > XRC.c(372) : error C2664: 'bool (struct interpreter *,const struct > wxPliPrototyp > e &,int,bool)' : cannot convert parameter 2 from 'const unsigned char > []' to 'co > nst struct wxPliPrototype &' > Reason: cannot convert from 'const unsigned char []' to 'const > struct wx > PliPrototype' > No constructor could take the source type, or constructor > overload resol > ution was ambiguous > XRC.c(373) : error C2664: 'bool (struct interpreter *,const struct > wxPliPrototyp > e &,int,bool)' : cannot convert parameter 2 from 'const unsigned char > []' to 'co > nst struct wxPliPrototype &' > Reason: cannot convert from 'const unsigned char []' to 'const > struct wx > PliPrototype' > No constructor could take the source type, or constructor > overload resol > ution was ambiguous > Is there something that I'm doing wrong, or is the cvs HEAD not > buildable? ;-) No, and no :-) just the build system is not as smart as it could be. Just "rm overload" and remake. Or (better) nmake distclean and remake. HTH Mattia |
From: Mattia B. <mat...@li...> - 2006-08-20 11:45:54
|
On Sun, 20 Aug 2006 11:52:08 +0200 Mattia Barbon <mat...@li...> wrote: Hi again, > On Sun, 20 Aug 2006 11:35:23 +0200 > Jouke Visser <jo...@pv...> wrote: > > > Is there something that I'm doing wrong, or is the cvs HEAD not > > buildable? ;-) > > No, and no :-) just the build system is not as smart as it could be. > Just "rm overload" and remake. Or (better) nmake distclean and remake. And cvs update. CVS was not buildable with VC++ (hate, hate, hate). Regards Mattia |
From: Jouke V. <jo...@pv...> - 2006-08-20 19:05:42
|
Hi again, >> Just "rm overload" and remake. Or (better) nmake distclean and remake. > > And cvs update. CVS was not buildable with VC++ (hate, hate, hate). Did it, and it works :) I wrapped Wx::StaticText::Wrap successfully (with a version check since it has been added in wxWidgets 2.6.3) and committed it to cvs. Thanks, Jouke |