lmi
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi] wx xrcdemo and --disable-gif


From: Greg Chicares
Subject: [lmi] wx xrcdemo and --disable-gif
Date: Sat, 12 Aug 2017 15:47:51 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1

It's been a long time since I built the wx samples, but I tried it today
and it failed as shown below. Could it be that samples/xrc doesn't
respect the '--disable-gif' configure option that I've specified?

make[4]: Entering directory '/opt/lmi/wx-scratch/wxWidgets-3.1.0-p1/gcc-491-8977
5012799fe5c9bd8ea61e5fa43da7/samples/xrc'
i686-w64-mingw32-windres -i../../../samples/xrc/../../samples/sample.rc -oxrcdem
o_sample_rc.o    --define __WXMSW__        --include-dir ../../../samples/xrc --
define WXUSINGDLL --include-dir ../../../samples/xrc/../../samples --include-dir
 /opt/lmi/wx-scratch/wxWidgets-3.1.0-p1/gcc-491-89775012799fe5c9bd8ea61e5fa43da7
/lib/wx/include/i686-w64-mingw32-msw-unicode-3.1 --include-dir ../../../include
i686-w64-mingw32-g++ -c -o xrcdemo_xrcdemo.o -D__WXMSW__      -I../../../samples
/xrc -DWXUSINGDLL -I../../../samples/xrc/../../samples -Wall -Wundef -Wunused-pa
rameter -Wno-ctor-dtor-privacy -Woverloaded-virtual  -D_FILE_OFFSET_BITS=64 -I/o
pt/lmi/wx-scratch/wxWidgets-3.1.0-p1/gcc-491-89775012799fe5c9bd8ea61e5fa43da7/li
b/wx/include/i686-w64-mingw32-msw-unicode-3.1 -I../../../include -mthreads -O2 -
fno-omit-frame-pointer -std=c++11  ../../../samples/xrc/xrcdemo.cpp
../../../samples/xrc/xrcdemo.cpp: In member function 'virtual bool MyApp::OnInit
()':
../../../samples/xrc/xrcdemo.cpp:79:29: error: 'wxGIFHandler' does not name a ty
pe
     wxImage::AddHandler(new wxGIFHandler);
                             ^
Makefile:221: recipe for target 'xrcdemo_xrcdemo.o' failed
make[4]: *** [xrcdemo_xrcdemo.o] Error 1



reply via email to

[Prev in Thread] Current Thread [Next in Thread]