Subject: | Wx::GLCanvas crashes when loading. |
Hi
I successfully compiled and built Wx::GLCanvas module.
My Environment:
* Windows 7 x64
* Strawberry Perl 5.12.3.0 32bit
* Wx 0.9903
but It crashes when "make test"(t/01_load.t).
-------------------------------------------------------
Show quoted text
>dmake
cp lib/Wx/GLCanvas.pm blib\lib\Wx\GLCanvas.pm
cp lib/Wx/DemoModules/wxGLCanvas.pm blib\lib\Wx\DemoModules\wxGLCanvas.pm
C:\strawberry-perl-5.12.3.0-portable\perl\bin\perl.exe -S
wxperl_overload cpp\ovl_const.cpp cpp\ovl_const.h overload.lst
Writing 'cpp\ovl_const.h'.
Writing 'cpp\ovl_const.cpp'.
C:\strawberry-perl-5.12.3.0-portable\perl\bin\perl.exe
-MExtUtils::Command -e touch -- wxt_overload
C:\strawberry-perl-5.12.3.0-portable\perl\bin\perl.exe
C:\strawberry-perl-5.12.3.0-portable\perl\site\lib\ExtUtils\xsubpp
-noprototypes -typemap
C:\strawberry-perl-5.12.3.0-portable\perl\lib\ExtUtils\typemap -typemap
C:\strawberry-perl-5.12.3.0-portable\perl\site\lib\Wx\typemap -typemap
typemap GLCanvas.xs > GLCanvas.xsc &&
C:\strawberry-perl-5.12.3.0-portable\perl\bin\perl.exe
-MExtUtils::Command -e mv -- GLCanvas.xsc GLCanvas.c
g++ -O2 -mthreads -Os -c -I.
-IC:\strawberry-perl-5.12.3.0-portable\perl\site\lib\Wx
-IC:\strawberry-perl-5.12.3.0-portable\perl\site\lib\Alien\wxWidgets\msw_2_8_12_uni_gcc_3_4\lib
-IC:\strawberry-perl-5.12.3.0-portable\perl\site\lib\Alien\wxWidgets\msw_2_8_12_uni_gcc_3_4\include
-s -O2 -DWIN32 -DHAVE_DES_FCRYPT -DUSE_SITECUSTOMIZE
-DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno-strict-aliasing
-mms-bitfields -DPERL_MSVCRT_READFIX -s -O2 -DVERSION=\"0.09\"
-DXS_VERSION=\"0.09\"
"-IC:\strawberry-perl-5.12.3.0-portable\perl\lib\CORE" -DWXPL_EXT
-DHAVE_W32API_H -D__WXMSW__ -DNDEBUG -D_UNICODE -DWXUSINGDLL -DNOPCH
-DNO_GCC_PRAGMA GLCanvas.c
Running Mkbootstrap for Wx::GLCanvas ()
C:\strawberry-perl-5.12.3.0-portable\perl\bin\perl.exe
-MExtUtils::Command -e chmod -- 644 GLCanvas.bs
C:\strawberry-perl-5.12.3.0-portable\perl\bin\perl.exe
-MExtUtils::Mksymlists \
-e "Mksymlists('NAME'=>\"Wx::GLCanvas\", 'DLBASE' => 'GLCanvas',
'DL_FUNCS' => { }, 'FUNCLIST' => [], 'IMPORTS' => { }, 'DL_VARS' => []);"
dlltool --def GLCanvas.def --output-exp dll.exp
g++ -o blib\arch\auto\Wx\GLCanvas\GLCanvas.dll -Wl,--base-file
-Wl,dll.base -mdll -s
-L"C:\strawberry-perl-5.12.3.0-portable\perl\lib\CORE"
-L"C:\strawberry-perl-5.12.3.0-portable\c\lib" GLCanvas.o
C:\strawberry-perl-5.12.3.0-portable\perl\lib\CORE\libperl512.a
C:\strawberry-perl-5.12.3.0-portable\c\i686-w64-mingw32\lib\libopengl32.a C:\strawberry-perl-5.12.3.0-portable\perl\site\lib\Alien\wxWidgets\msw_2_8_12_uni_gcc_3_4\lib\libwxmsw28u_core.a
C:\strawberry-perl-5.12.3.0-portable\perl\site\lib\Alien\wxWidgets\msw_2_8_12_uni_gcc_3_4\lib\libwxbase28u.a
C:\strawberry-perl-5.12.3.0-portable\perl\site\lib\Alien\wxWidgets\msw_2_8_12_uni_gcc_3_4\lib\libwxmsw28u_gl.a
C:\strawberry-perl-5.12.3.0-portable\perl\site\lib\Alien\wxWidgets\msw_2_8_12_uni_gcc_3_4\lib\libwxmsw28u_core.a
C:\strawberry-perl-5.12.3.0-portable\perl\site\lib\Alien\wxWidgets\msw_2_8_12_uni_gcc_3_4\lib\libwxbase28u.a
C:\strawberry-perl-5.12.3.0-portable\c\i686-w64-mingw32\lib\libmoldname.a C:\strawberry-perl-5.12.3.0-portable\c\i686-w64-mingw32\lib\libkernel32.a
C:\strawberry-perl-5.12.3.0-portable\c\i686-w64-mingw32\lib\libuser32.a
C:\strawberry-perl-5.12.3.0-portable\c\i686-w64-mingw32\lib\libgdi32.a
C:\strawberry-perl-5.12.3.0-portable\c\i686-w64-mingw32\lib\libwinspool.a C:\strawberry-perl-5.12.3.0-portable\c\i686-w64-mingw32\lib\libcomdlg32.a
C:\strawberry-perl-5.12.3.0-portable\c\i686-w64-mingw32\lib\libadvapi32.a C:\strawberry-perl-5.12.3.0-portable\c\i686-w64-mingw32\lib\libshell32.a
C:\strawberry-perl-5.12.3.0-portable\c\i686-w64-mingw32\lib\libole32.a
C:\strawberry-perl-5.12.3.0-portable\c\i686-w64-mingw32\lib\liboleaut32.a C:\strawberry-perl-5.12.3.0-portable\c\i686-w64-mingw32\lib\libnetapi32.a
C:\strawberry-perl-5.12.3.0-portable\c\i686-w64-mingw32\lib\libuuid.a
C:\strawberry-perl-5.12.3.0-portable\c\i686-w64-mingw32\lib\libws2_32.a
C:\strawberry-perl-5.12.3.0-portable\c\i686-w64-mingw32\lib\libmpr.a
C:\strawberry-perl-5.12.3.0-portable\c\i686-w64-mingw32\lib\libwinmm.a
C:\strawberry-perl-5.12.3.0-portable\c\i686-w64-mingw32\lib\libversion.a
C:\strawberry-perl-5.12.3.0-portable\c\i686-w64-mingw32\lib\libodbc32.a
C:\strawberry-perl-5.12.3.0-portable\c\i686-w64-mingw32\lib\libodbccp32.a C:\strawberry-perl-5.12.3.0-portable\c\i686-w64-mingw32\lib\libcomctl32.a
dll.exp
dlltool --def GLCanvas.def --base-file dll.base --output-exp dll.exp
g++ -o blib\arch\auto\Wx\GLCanvas\GLCanvas.dll -mdll -s
-L"C:\strawberry-perl-5.12.3.0-portable\perl\lib\CORE"
-L"C:\strawberry-perl-5.12.3.0-portable\c\lib" GLCanvas.o
C:\strawberry-perl-5.12.3.0-portable\perl\lib\CORE\libperl512.a
C:\strawberry-perl-5.12.3.0-portable\c\i686-w64-mingw32\lib\libopengl32.a C:\strawberry-perl-5.12.3.0-portable\perl\site\lib\Alien\wxWidgets\msw_2_8_12_uni_gcc_3_4\lib\libwxmsw28u_core.a
C:\strawberry-perl-5.12.3.0-portable\perl\site\lib\Alien\wxWidgets\msw_2_8_12_uni_gcc_3_4\lib\libwxbase28u.a
C:\strawberry-perl-5.12.3.0-portable\perl\site\lib\Alien\wxWidgets\msw_2_8_12_uni_gcc_3_4\lib\libwxmsw28u_gl.a
C:\strawberry-perl-5.12.3.0-portable\perl\site\lib\Alien\wxWidgets\msw_2_8_12_uni_gcc_3_4\lib\libwxmsw28u_core.a
C:\strawberry-perl-5.12.3.0-portable\perl\site\lib\Alien\wxWidgets\msw_2_8_12_uni_gcc_3_4\lib\libwxbase28u.a
C:\strawberry-perl-5.12.3.0-portable\c\i686-w64-mingw32\lib\libmoldname.a C:\strawberry-perl-5.12.3.0-portable\c\i686-w64-mingw32\lib\libkernel32.a
C:\strawberry-perl-5.12.3.0-portable\c\i686-w64-mingw32\lib\libuser32.a
C:\strawberry-perl-5.12.3.0-portable\c\i686-w64-mingw32\lib\libgdi32.a
C:\strawberry-perl-5.12.3.0-portable\c\i686-w64-mingw32\lib\libwinspool.a C:\strawberry-perl-5.12.3.0-portable\c\i686-w64-mingw32\lib\libcomdlg32.a
C:\strawberry-perl-5.12.3.0-portable\c\i686-w64-mingw32\lib\libadvapi32.a C:\strawberry-perl-5.12.3.0-portable\c\i686-w64-mingw32\lib\libshell32.a
C:\strawberry-perl-5.12.3.0-portable\c\i686-w64-mingw32\lib\libole32.a
C:\strawberry-perl-5.12.3.0-portable\c\i686-w64-mingw32\lib\liboleaut32.a C:\strawberry-perl-5.12.3.0-portable\c\i686-w64-mingw32\lib\libnetapi32.a
C:\strawberry-perl-5.12.3.0-portable\c\i686-w64-mingw32\lib\libuuid.a
C:\strawberry-perl-5.12.3.0-portable\c\i686-w64-mingw32\lib\libws2_32.a
C:\strawberry-perl-5.12.3.0-portable\c\i686-w64-mingw32\lib\libmpr.a
C:\strawberry-perl-5.12.3.0-portable\c\i686-w64-mingw32\lib\libwinmm.a
C:\strawberry-perl-5.12.3.0-portable\c\i686-w64-mingw32\lib\libversion.a
C:\strawberry-perl-5.12.3.0-portable\c\i686-w64-mingw32\lib\libodbc32.a
C:\strawberry-perl-5.12.3.0-portable\c\i686-w64-mingw32\lib\libodbccp32.a C:\strawberry-perl-5.12.3.0-portable\c\i686-w64-mingw32\lib\libcomctl32.a
dll.exp
C:\strawberry-perl-5.12.3.0-portable\perl\bin\perl.exe
-MExtUtils::Command -e chmod -- 755 blib\arch\auto\Wx\GLCanvas\GLCanvas.dll
C:\strawberry-perl-5.12.3.0-portable\perl\bin\perl.exe
-MExtUtils::Command -e cp -- GLCanvas.bs
blib\arch\auto\Wx\GLCanvas\GLCanvas.bs
C:\strawberry-perl-5.12.3.0-portable\perl\bin\perl.exe
-MExtUtils::Command -e chmod -- 644 blib\arch\auto\Wx\GLCanvas\GLCanvas.bs
C:\strawberry-perl-5.12.3.0-portable\cpan\build\Wx-GLCanvas-0.09-VfrkpV>dmake
test
C:\strawberry-perl-5.12.3.0-portable\perl\bin\perl.exe
"-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib\lib',
'blib\arch')" t/*.t
t/01_load.t .. Dubious, test returned 5 (wstat 1280, 0x500)
No subtests run
t/zz_pod.t ... ok
Test Summary Report
-------------------
t/01_load.t (Wstat: 1280 Tests: 0 Failed: 0)
Non-zero exit status: 5
Parse errors: No plan found in TAP output
Files=2, Tests=8, 3 wallclock secs ( 0.05 usr + 0.03 sys = 0.08 CPU)
Result: FAIL
Failed 1/2 test programs. 0/8 subtests failed.
dmake: Error code 255, while making 'test_dynamic'