From: John L. <jla...@gm...> - 2011-12-26 13:54:03
|
As a temporary measure, if you don't plan on using a wxImageHistogram, you can rem out the contents of that funtion and have it return 0. I'll look into it in the new year. Regards, John On Dec 26, 2011 3:34 AM, "Milind Gupta" <mil...@gm...> wrote: > Hi, > When I make wxLua by following the installtion instructions I > get the following error: > > make > (cd ./modules/ && make ) > make[1]: Entering directory `/home/aryajur/Downloads/wxLua/modules' > /home/aryajur/Downloads/wxLua/bk-deps g++ -c -o > wxbindcore_dll_wxcore_image.o -I.pch/wxprec_wxbindcore_dll > -I../modules/wxbind/setup -I../modules -I./.. -I/usr/include/lua5.1 > -DWXMAKINGDLL_WXBINDCORE -fPIC -DPIC > -I/usr/local/lib/wx/include/gtk2-unicode-release-2.8 > -I/usr/local/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES > -D__WXGTK__ -pthread -DwxLUA_USEBINDING_WXGL=0 -DwxLUA_USEBINDING_WXMEDIA=0 > -DwxLUA_USEBINDING_WXSTC=0 -O2 ./wxbind/src/wxcore_image.cpp > ./wxbind/src/wxcore_image.cpp: In function ‘int > wxLua_wxImageHistogram_iterator_op_inc(lua_State*)’: > ./wxbind/src/wxcore_image.cpp:2296:54: error: taking address of temporary > [-fpermissive] > make[1]: *** [wxbindcore_dll_wxcore_image.o] Error 1 > make[1]: Leaving directory `/home/aryajur/Downloads/wxLua/modules' > make: *** [modules] Error 2 > aryajur@aryajur-ThinkPad-X61-Tablet:~/Downloads/wxLua$ make -fpermissive > make: permissive: No such file or directory > make: *** No rule to make target `permissive'. Stop. > > > Please can anybody help me resolve this. Or is there an easier way to > install wxLua??? > > Thanks, > Milind > > > ------------------------------------------------------------------------------ > Write once. Port to many. > Get the SDK and tools to simplify cross-platform app development. Create > new or port existing apps to sell to consumers worldwide. Explore the > Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join > http://p.sf.net/sfu/intel-appdev > _______________________________________________ > wxlua-users mailing list > wxl...@li... > https://lists.sourceforge.net/lists/listinfo/wxlua-users > > |