Author Topic: wxWidgets 2.8.11 build tests [PATCH]  (Read 22516 times)

Offline keenblade

  • Multiple posting newcomer
  • *
  • Posts: 36
  • tao
    • keenblade
Re: wxWidgets 2.8.11 build tests [PATCH]
« Reply #15 on: June 13, 2010, 03:23:11 pm »
Quote
fixed .. bring on the next one ;-)
As you wish master, but apparently there is none at the moment :)
Thank you sooo much for the great support.
Anyway it\'s all the same at the end...

Offline robert_

  • Single posting newcomer
  • *
  • Posts: 5
    • r - b u t l e r . n e t
Re: wxWidgets 2.8.11 build tests [PATCH]
« Reply #16 on: June 13, 2010, 06:11:27 pm »
Compiling rev. 6352 with the following options:  ./configure --prefix=/usr --with-contrib-plugins=all --enable-pch
yields the following:

Code
Making all in src                                  
make[1]: Entering directory `/home/robert_/projects/codeblocks/codeblocks.svn/src'
Making all in base                                                                
make[2]: Entering directory `/home/robert_/projects/codeblocks/codeblocks.svn/src/base'
Making all in tinyxml                                                                  
make[3]: Entering directory `/home/robert_/projects/codeblocks/codeblocks.svn/src/base/tinyxml'
/bin/sh ../../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../../src/include -I/usr/lib/wx/include/x11univ-ansi-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXUNIVERSAL__ -D__WXX11__ -pthread -I../../../src/sdk/wxscintilla/include -I../../../src/include -I../../../src/include/tinyxml  -Ulinux -Uunix  -O2 -ffast-math -DCB_AUTOCONF -g -O2 -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -MT tinystr.lo -MD -MP -MF .deps/tinystr.Tpo -c -o tinystr.lo tinystr.cpp                                      
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../../src/include -I/usr/lib/wx/include/x11univ-ansi-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXUNIVERSAL__ -D__WXX11__ -pthread -I../../../src/sdk/wxscintilla/include -I../../../src/include -I../../../src/include/tinyxml -Ulinux -Uunix -O2 -ffast-math -DCB_AUTOCONF -g -O2 -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -MT tinystr.lo -MD -MP -MF .deps/tinystr.Tpo -c tinystr.cpp  -fPIC -DPIC -o .libs/tinystr.o                                                      
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../../src/include -I/usr/lib/wx/include/x11univ-ansi-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXUNIVERSAL__ -D__WXX11__ -pthread -I../../../src/sdk/wxscintilla/include -I../../../src/include -I../../../src/include/tinyxml -Ulinux -Uunix -O2 -ffast-math -DCB_AUTOCONF -g -O2 -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -MT tinystr.lo -MD -MP -MF .deps/tinystr.Tpo -c tinystr.cpp -o tinystr.o >/dev/null 2>&1                                                          
mv -f .deps/tinystr.Tpo .deps/tinystr.Plo                                                                                                                                                
/bin/sh ../../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../../src/include -I/usr/lib/wx/include/x11univ-ansi-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXUNIVERSAL__ -D__WXX11__ -pthread -I../../../src/sdk/wxscintilla/include -I../../../src/include -I../../../src/include/tinyxml  -Ulinux -Uunix  -O2 -ffast-math -DCB_AUTOCONF -g -O2 -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -MT tinyxml.lo -MD -MP -MF .deps/tinyxml.Tpo -c -o tinyxml.lo tinyxml.cpp                                      
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../../src/include -I/usr/lib/wx/include/x11univ-ansi-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXUNIVERSAL__ -D__WXX11__ -pthread -I../../../src/sdk/wxscintilla/include -I../../../src/include -I../../../src/include/tinyxml -Ulinux -Uunix -O2 -ffast-math -DCB_AUTOCONF -g -O2 -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -MT tinyxml.lo -MD -MP -MF .deps/tinyxml.Tpo -c tinyxml.cpp  -fPIC -DPIC -o .libs/tinyxml.o                                                      
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../../src/include -I/usr/lib/wx/include/x11univ-ansi-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXUNIVERSAL__ -D__WXX11__ -pthread -I../../../src/sdk/wxscintilla/include -I../../../src/include -I../../../src/include/tinyxml -Ulinux -Uunix -O2 -ffast-math -DCB_AUTOCONF -g -O2 -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -MT tinyxml.lo -MD -MP -MF .deps/tinyxml.Tpo -c tinyxml.cpp -o tinyxml.o >/dev/null 2>&1                                                          
mv -f .deps/tinyxml.Tpo .deps/tinyxml.Plo                                                                                                                                                
/bin/sh ../../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../../src/include -I/usr/lib/wx/include/x11univ-ansi-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXUNIVERSAL__ -D__WXX11__ -pthread -I../../../src/sdk/wxscintilla/include -I../../../src/include -I../../../src/include/tinyxml  -Ulinux -Uunix  -O2 -ffast-math -DCB_AUTOCONF -g -O2 -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -MT tinyxmlerror.lo -MD -MP -MF .deps/tinyxmlerror.Tpo -c -o tinyxmlerror.lo tinyxmlerror.cpp                  
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../../src/include -I/usr/lib/wx/include/x11univ-ansi-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXUNIVERSAL__ -D__WXX11__ -pthread -I../../../src/sdk/wxscintilla/include -I../../../src/include -I../../../src/include/tinyxml -Ulinux -Uunix -O2 -ffast-math -DCB_AUTOCONF -g -O2 -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -MT tinyxmlerror.lo -MD -MP -MF .deps/tinyxmlerror.Tpo -c tinyxmlerror.cpp  -fPIC -DPIC -o .libs/tinyxmlerror.o                                  
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../../src/include -I/usr/lib/wx/include/x11univ-ansi-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXUNIVERSAL__ -D__WXX11__ -pthread -I../../../src/sdk/wxscintilla/include -I../../../src/include -I../../../src/include/tinyxml -Ulinux -Uunix -O2 -ffast-math -DCB_AUTOCONF -g -O2 -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -MT tinyxmlerror.lo -MD -MP -MF .deps/tinyxmlerror.Tpo -c tinyxmlerror.cpp -o tinyxmlerror.o >/dev/null 2>&1                                      
mv -f .deps/tinyxmlerror.Tpo .deps/tinyxmlerror.Plo                                                                                                                                      
/bin/sh ../../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../../src/include -I/usr/lib/wx/include/x11univ-ansi-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXUNIVERSAL__ -D__WXX11__ -pthread -I../../../src/sdk/wxscintilla/include -I../../../src/include -I../../../src/include/tinyxml  -Ulinux -Uunix  -O2 -ffast-math -DCB_AUTOCONF -g -O2 -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -MT tinyxmlparser.lo -MD -MP -MF .deps/tinyxmlparser.Tpo -c -o tinyxmlparser.lo tinyxmlparser.cpp              
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../../src/include -I/usr/lib/wx/include/x11univ-ansi-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXUNIVERSAL__ -D__WXX11__ -pthread -I../../../src/sdk/wxscintilla/include -I../../../src/include -I../../../src/include/tinyxml -Ulinux -Uunix -O2 -ffast-math -DCB_AUTOCONF -g -O2 -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -MT tinyxmlparser.lo -MD -MP -MF .deps/tinyxmlparser.Tpo -c tinyxmlparser.cpp  -fPIC -DPIC -o .libs/tinyxmlparser.o                              
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../../src/include -I/usr/lib/wx/include/x11univ-ansi-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXUNIVERSAL__ -D__WXX11__ -pthread -I../../../src/sdk/wxscintilla/include -I../../../src/include -I../../../src/include/tinyxml -Ulinux -Uunix -O2 -ffast-math -DCB_AUTOCONF -g -O2 -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -MT tinyxmlparser.lo -MD -MP -MF .deps/tinyxmlparser.Tpo -c tinyxmlparser.cpp -o tinyxmlparser.o >/dev/null 2>&1                                  
mv -f .deps/tinyxmlparser.Tpo .deps/tinyxmlparser.Plo                                                                                                                                    
/bin/sh ../../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../../src/include -I/usr/lib/wx/include/x11univ-ansi-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXUNIVERSAL__ -D__WXX11__ -pthread -I../../../src/sdk/wxscintilla/include -I../../../src/include -I../../../src/include/tinyxml  -Ulinux -Uunix  -O2 -ffast-math -DCB_AUTOCONF -g -O2 -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -MT tinywxuni.lo -MD -MP -MF .deps/tinywxuni.Tpo -c -o tinywxuni.lo tinywxuni.cpp                              
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../../src/include -I/usr/lib/wx/include/x11univ-ansi-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXUNIVERSAL__ -D__WXX11__ -pthread -I../../../src/sdk/wxscintilla/include -I../../../src/include -I../../../src/include/tinyxml -Ulinux -Uunix -O2 -ffast-math -DCB_AUTOCONF -g -O2 -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -MT tinywxuni.lo -MD -MP -MF .deps/tinywxuni.Tpo -c tinywxuni.cpp  -fPIC -DPIC -o .libs/tinywxuni.o                                              
In file included from /usr/include/wx-2.8/wx/dnd.h:219,                                                                                                                                  
                 from ../../../src/sdk/wxscintilla/include/wx/wxscintilla.h:26,                                                                                                          
                 from ../../../src/include/sdk_common.h:95,                                                                                                                              
                 from ../../../src/include/sdk_precomp.h:13,                                                                                                                            
                 from tinywxuni.cpp:1:                                                                                                                                                  
/usr/include/wx-2.8/wx/x11/dnd.h:130: error: multiple definition of 'enum wxDragResult'                                                                                                  
/usr/include/wx-2.8/wx/dnd.h:38: error: previous definition here                                                                                                                        
/usr/include/wx-2.8/wx/x11/dnd.h:132: error: conflicting declaration 'wxDragError'                                                                                                      
/usr/include/wx-2.8/wx/dnd.h:40: error: 'wxDragError' has a previous declaration as 'wxDragResult wxDragError'                                                                          
/usr/include/wx-2.8/wx/x11/dnd.h:133: error: conflicting declaration 'wxDragNone'                                                                                                        
/usr/include/wx-2.8/wx/dnd.h:41: error: 'wxDragNone' has a previous declaration as 'wxDragResult wxDragNone'                                                                            
/usr/include/wx-2.8/wx/x11/dnd.h:134: error: conflicting declaration 'wxDragCopy'                                                                                                        
/usr/include/wx-2.8/wx/dnd.h:42: error: 'wxDragCopy' has a previous declaration as 'wxDragResult wxDragCopy'                                                                            
/usr/include/wx-2.8/wx/x11/dnd.h:135: error: conflicting declaration 'wxDragMove'                                                                                                        
/usr/include/wx-2.8/wx/dnd.h:43: error: 'wxDragMove' has a previous declaration as 'wxDragResult wxDragMove'                                                                            
/usr/include/wx-2.8/wx/x11/dnd.h:136: error: conflicting declaration 'wxDragCancel'                                                                                                      
/usr/include/wx-2.8/wx/dnd.h:45: error: 'wxDragCancel' has a previous declaration as 'wxDragResult wxDragCancel'
In file included from ../../../src/sdk/wxscintilla/include/wx/wxscintilla.h:26,
                 from ../../../src/include/sdk_common.h:95,
                 from ../../../src/include/sdk_precomp.h:13,
                 from tinywxuni.cpp:1:
/usr/include/wx-2.8/wx/dnd.h:236: error: redefinition of 'class wxTextDropTarget'
/usr/include/wx-2.8/wx/x11/dnd.h:63: error: previous definition of 'class wxTextDropTarget'
/usr/include/wx-2.8/wx/dnd.h:250: error: redefinition of 'class wxFileDropTarget'
/usr/include/wx-2.8/wx/x11/dnd.h:111: error: previous definition of 'class wxFileDropTarget'
make[3]: *** [tinywxuni.lo] Error 1
make[3]: Leaving directory `/home/robert_/projects/codeblocks/codeblocks.svn/src/base/tinyxml'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/robert_/projects/codeblocks/codeblocks.svn/src/base'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/robert_/projects/codeblocks/codeblocks.svn/src'
make: *** [all-recursive] Error 1
« Last Edit: June 13, 2010, 06:12:58 pm by robert_ »
"I predict a no storm..." -David Spade
using Code::Blocks 8.02.

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7591
    • My Best Post
Re: wxWidgets 2.8.11 build tests [PATCH]
« Reply #17 on: June 13, 2010, 06:25:59 pm »
I wish you luck no idea if Compiling Code::Blocks using wxX11 instead of wxGTK is possible.

Tim S.

C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline tiwag

  • Developer
  • Lives here!
  • *****
  • Posts: 1196
  • sailing away ...
    • tiwag.cb
Re: wxWidgets 2.8.11 build tests [PATCH]
« Reply #18 on: July 14, 2010, 11:45:31 am »
I've done a recent svn build using wx2.8.11

attached is a patchfile with added wxCHECK_VERSION() wrappers in order to stay compatible with wx2.8.10 and 2.9.0 builds.

maybe this can be commited to svn after more testing

@dev's:
is there at all any motivation to change C::B builds to wx2.8.11 by default ?

[attachment deleted by admin]

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5493
Re: wxWidgets 2.8.11 build tests [PATCH]
« Reply #19 on: July 14, 2010, 11:57:03 am »
the changes are only that little ?

It was on my todo list, since I knew there were some issues ..

However, where on windows it easy to say to people use that wx, on linux this is more difficult since several distros are their new release spin and might shio with wx 2.8.11. And then saying to users go back to the older version is less easy as on windows.

How is CB running for you now with that wx 2.8.11 ?

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: wxWidgets 2.8.11 build tests [PATCH]
« Reply #20 on: July 14, 2010, 12:14:15 pm »
How is CB running for you now with that wx 2.8.11 ?
For me it runs just fine on WinXP since wx 2.8.11 is out... but even without the patch?! Or I didn't get when exactly this patch is needed. Probably I didn't do a critical operation (which is...?!)).

So I wouldn't mind an upgrade (from a Windows-only perspective). However, I believe we do have quite some more Freeze/Thaw stuff in the plugins which might be affected, too?!.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline tiwag

  • Developer
  • Lives here!
  • *****
  • Posts: 1196
  • sailing away ...
    • tiwag.cb
Re: wxWidgets 2.8.11 build tests [PATCH]
« Reply #21 on: July 14, 2010, 03:01:03 pm »
How is CB running for you now with that wx 2.8.11 ?
For me it runs just fine on WinXP since wx 2.8.11 is out... but even without the patch?! Or I didn't get when exactly this patch is needed. Probably I didn't do a critical operation (which is...?!)).

So I wouldn't mind an upgrade (from a Windows-only perspective). However, I believe we do have quite some more Freeze/Thaw stuff in the plugins which might be affected, too?!.

Yes that's true. I'm running my C::B_wx2.8.11 test-version also on WINXP, can't say anything about linux.
Without the patch, which was already posted before,
there are some rendering problems in the Notebook area when you open a project using File->Open...
the above patch definitely works around this problem.

interestingly this problem doesn't occur (without the patch)
when opening a project from the "Recent projects" list of the "Start here" Notebook,
which is done almost all the time.


if any other problems are got known, please post them here.

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: wxWidgets 2.8.11 build tests [PATCH]
« Reply #22 on: July 14, 2010, 03:36:06 pm »
interestingly this problem doesn't occur (without the patch)
when opening a project from the "Recent projects" list of the "Start here" Notebook,
which is done almost all the time.

This is because File -> Open calls OnFileOpen, which calls DoOnFileOpen and this function calls DropFiles and DropFiles calls OpenGeneric in a loop, because there might be more than one file to open.

The other functions (OnFileReopen and OnStartHereLink) are designed to open only one file and Freeze...Thaw is not used here when calling OpenGeneric.