From: <ld...@tu...> - 2006-06-09 05:13:28
|
Hi Sorry for my English, it is not my native language... Windows2000, MinGW $ gcc -v Reading specs from c:/MinGW/bin/../lib/gcc/mingw32/3.4.2/specs Configured with: ../gcc/configure --with-gcc --with-gnu-ld --with-gnu-a= s --host=3Dmingw32 --target=3Dmingw32 --prefix=3D/mingw --enable-threads --disable-nls --enable-languages=3Dc,c++,f77,ada,objc,java --disable-win32-registry --disable-shared --enable-sjlj-exceptions --enable-libgcj --disable-java-awt --without-x --enable-java-gc=3Dboehm= --disable-libgcj-debug --enable-interpreter --enable-hash-synchronizati= on --enable-libstdcxx-debug Thread model: win32 gcc version 3.4.2 (mingw-special) When i try compile latest snapshot wxLua_Snapshot_2006-06-07.tar.gz, I = get error..... .././bk-deps g++ -c -o wxbind_dll_wx_bind.o -I../modules/wxbind/setup -I../modules -I./.. -DWXMAKINGDLL_WXBIND -I/usr/local/lib/wx/include/msw-ansi-release-2.6 -I/usr/local/include/wx-2.6 -D__WXMSW__ -mthreads -DWXUSINGDLL=3D1 -DNO_GCC_PRAGMA -g0 -O2 ../modules/wxbind/src/wx_bind.cpp ../modules/wxbind/src/wx_bind.cpp: In function `int wxLua_function_wxHandleFatalExceptions(lua_State*)': ../modules/wxbind/src/wx_bind.cpp:4061: error: `wxHandleFatalExceptions= ' undeclared (first use this function) ../modules/wxbind/src/wx_bind.cpp:4061: error: (Each undeclared identif= ier is reported only once for each function it appears in.) ../modules/wxbind/src/wx_bind.cpp:3017: confused by earlier errors, bai= ling out make[1]: *** [wxbind_dll_wx_bind.o] Error 1 make[1]: Leaving directory `/home/Ldn/wxLua/modules' make: *** [modules] Error 2 Problem is here modules/wxbind/wx_bind.cpp:4060 static int LUACALL wxLua_function_wxHandleFatalExceptions(lua_State *L)= { wxLuaState wxlState(L); bool returns; // get number of arguments int argCount =3D lua_gettop(L); // bool doIt =3D true bool doIt =3D (argCount >=3D 1 ? wxlState.GetBooleanType(1) : true)= ; // call wxHandleFatalExceptions returns =3D wxHandleFatalExceptions(doIt); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ // push the result flag lua_pushboolean(L, returns); return 1; } If I am remark it //returns =3D wxHandleFatalExceptions(doIt); and continue compiling I get error $ make (cd ./modules/ && make ) make[1]: Entering directory `/home/Ldn/wxLua/modules' .././bk-deps g++ -c -o wxbind_dll_wx_bind.o -I../modules/wxbind/setup -I../modules -I./.. -DWXMAKINGDLL_WXBIND -I/usr/local/lib/wx/include/msw-ansi-release-2.6 -I/usr/local/include/wx-2.6 -D__WXMSW__ -mthreads -DWXUSINGDLL=3D1 -DNO_GCC_PRAGMA -g0 -O2 ../modules/wxbind/src/wx_bind.cpp ../modules/wxbind/src/wx_bind.cpp: In function `WXLUAOBJECT* wxLuaGetObjectList_wx(size_t&)': ../modules/wxbind/src/wx_bind.cpp:3017: internal compiler error: output_operand: invalid expression as operand Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://www.mingw.org/bugs.shtml> for instructions. make[1]: *** [wxbind_dll_wx_bind.o] Error 1 make[1]: Leaving directory `/home/Ldn/wxLua/modules' make: *** [modules] Error 2 Problem is here modules/wxbind/wx_bind.cpp:2941 #if wxLUA_USE_wxPointSizeRect { &wxDefaultPosition, 0, "wxDefaultPosition", &s_wxluatag_wxPoi= nt }, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ { &wxDefaultSize, 0, "wxDefaultSize", &s_wxluatag_wxSize }, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ #endif Can you help me to compile wxLua under win32 with MinGW?= |