Hi i found source of problem. I have problem because build.pl
Alien-WxWidgets in windows ignore --unicode options.
I run build script in debuger.
If i use --debug options i see $stuff = 'd';
But if i run perl build.pl --unicode. $stuff = '';
If i run perl build.pl --unicode --debug $stuff='d';
My/Build/Win32.pm
my $suff = ( $self->awx_unicode ? 'u' : '' ) .
( $self->awx_debug ? 'd' : '' );
After it i look to the package My::Build::Base; for awx_unicode.
sub awx_debug { $_[0]->args( 'debug' ) ? 1 : 0 }
sub awx_is_debug { $_[0]->awx_debug }
sub awx_unicode { $_[0]->notes( 'build_wx_unicode' ) ? 1 : 0 }
sub awx_is_unicode { $_[0]->awx_unicode }
$_[0]->notes( 'build_wx_unicode' ) does't return 1;
When, after i change sub awx_unicode { $_[0]->args( 'unicode' ) ? 1 : 0
} script find binares.
but i see
Copying lib\Alien\wxWidgets\Utility.pm ->
blib\lib\Alien\wxWidgets\Utility.pm
C:\DOCUME~1\Alex\LOCALS~1\Temp\compilet.exp:fake:(.edata+0x3c):
undefined refere
nce to `boot_compilet'
C:\DOCUME~1\Alex\LOCALS~1\Temp\compilet.exp:fake:(.edata+0x40):
undefined refere
nce to `boot_compilet'
collect2: ld returned 1 exit status
C:\DOCUME~1\Alex\LOCALS~1\Temp\compilet.exp:fake:(.edata+0x3c):
undefined refere
nce to `boot_compilet'
C:\DOCUME~1\Alex\LOCALS~1\Temp\compilet.exp:fake:(.edata+0x40):
undefined refere
nce to `boot_compilet'
collect2: ld returned 1 exit status
Copying C:\wxWid\lib\gcc_dll\wxmsw28u_plot_gcc_custom.dll ->
blib\arch\Alien\wxW
idgets\msw_2_8_10_uni_mslu_gcc_3_4\lib\wxmsw28u_plot_gcc_custom.dll
perl build test
C:\Perl\perl_module\WX\Alien>perl build test
Set up gcc environment - 3.4.5 (mingw-vista special r3)
t\01_load............Set up gcc environment - 3.4.5 (mingw-vista special r3)
t\01_load............ok
t\zy_pod_coverage....ok
t\zz_pod.............ok
All tests successful.
Files=3, Tests=18, 3 wallclock secs ( 0.05 usr + 0.03 sys = 0.08 CPU)
Result: PASS
perl build install
install OK.
But, when i try compile wx 0.9 i see
C:\Perl\bin\perl.exe C:\Perl\lib\ExtUtils\xsubpp -noprototypes
-nolinenumbers
-typemap C:\Perl\lib\ExtUtils\typemap -typemap ..\..\typemap -typemap
typemap
ichText.xs > RichText.xsc && C:\Perl\bin\perl.exe -MExtUtils::Command -e
mv Ric
Text.xsc RichText.c
g++ -c -I. -I..\..
-IC:\Perl\site\lib\Alien\wxWidgets\msw_2_8_10_uni_mslu_gcc_
_4\lib -IC:\wxWid\include -IC:\wxWid\contrib\include -fvtable-thunks
-O2 -m
hreads -Os -MP -O2 -DVERSION=\"0.01\" -DXS_VERSION=\"0.01\"
-DHASATTR
BUTE "-IC:\Perl\lib\CORE" -DWXPL_EXT -DHAVE_W32API_H -D__WXMSW__
-D_UNICODE -D
xUSE_UNICODE_MSLU=1 -DWXUSINGDLL -DNOPCH -DNO_GCC_PRAGMA RichText.c
cc1plus.exe: warning: switch "-fvtable-thunks" is no longer supported
cc1plus.exe: error: to generate dependencies you must specify either -M
or -MM
dmake: Error code 129, while making 'RichText.o'
dmake: Error code 255, while making 'subdirs'
dmake: Error code 255, while making 'subdirs'