-------------- Clean: Plugin-unix in CodeSnippets-unix ---------------
Cleaned "CodeSnippets-unix - Plugin-unix"
-------------- Clean: App-unix in CodeSnippets-unix ---------------
Cleaned "CodeSnippets-unix - App-unix"
-------------- Build: Plugin-unix in CodeSnippets-unix ---------------
<snip>
g++ -Wall -g -Ulinux -Uunix -I/usr/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread -fexceptions -Winvalid-pch -fPIC -pthread -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -DcbDEBUG -DCB_PRECOMP -I../../../include -I../../../sdk/wxscintilla/include -I. -Ieditor -ISearch -I../../../include/mozilla_chardet -I/usr/include -c /home/pecan/devel/trunk/src/plugins/contrib/codesnippets/codesnippetstreectrl.cpp -o ../../../.objs/plugins/contrib/codesnippets/plugin/codesnippetstreectrl.o
<snip>
Output size is 7.71 MB
-------------- Build: App-unix in CodeSnippets-unix ---------------
<snip>
g++ -Wall -g -Ulinux -Uunix -I/usr/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread -fexceptions -Winvalid-pch -fPIC -pthread -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -DcbDEBUG -DCB_PRECOMP -I../../../include -I../../../sdk/wxscintilla/include -I. -Ieditor -ISearch -I../../../include/mozilla_chardet -I/usr/include -c /home/pecan/devel/trunk/src/plugins/contrib/codesnippets/codesnippetstreectrl.cpp -o ../../../.objs/plugins/contrib/codesnippets/app/codesnippetstreectrl.o
Output size is 7.55 MB
Running project post-build steps
./update
adding: manifest.xml (deflated 51%)
Process terminated with status 0 (1 minutes, 47 seconds)
0 errors, 0 warnings (1 minutes, 47 seconds)
/usr/include/wx-2.8/wx/treebase.h:75:5: note: candidates are: wxTreeItemId::wxTreeItemId(long int)
Code#if WXWIN_COMPATIBILITY_2_4
// deprecated: only for compatibility, don't work on 64 bit archs
wxTreeItemId(long item) { m_pItem = wxUIntToPtr(item); }
operator long() const { return (long)wxPtrToUInt(m_pItem); }
#else // !WXWIN_COMPATIBILITY_2_4
operator bool() const { return IsOk(); }
#endif // WXWIN_COMPATIBILITY_2_4/!WXWIN_COMPATIBILITY_2_4
CB_PRECOMP is set!
Anyway: if I compile without CB_PRECOMP and with NOPCH, it still compiles without problems on 64-bit debian.
I also set all defines and special parameters the same way, but it still compiles.
What version of wxWidgets do you use ( wx-config --version-full )?
I do not get any errors. My results are clean.
Also, your statements numbers do not match mine.
Some of the lines you're getting errors on are blank lines for me.
It looks like you're using lib64. If you want to provide changes that would work with 64 bit Codeblocks and wxWidgets, I'll be glad to try and make the changes.
svn build rev 7028 (2011-02-24 18:02:27) gcc 4.4.3 Linux/unicode - 32 bitCode
-------------- Clean: Plugin-unix in CodeSnippets-unix ---------------
Cleaned "CodeSnippets-unix - Plugin-unix"
-------------- Clean: App-unix in CodeSnippets-unix ---------------
Cleaned "CodeSnippets-unix - App-unix"
-------------- Build: Plugin-unix in CodeSnippets-unix ---------------
<snip>
g++ -Wall -g -Ulinux -Uunix -I/usr/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread -fexceptions -Winvalid-pch -fPIC -pthread -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -DcbDEBUG -DCB_PRECOMP -I../../../include -I../../../sdk/wxscintilla/include -I. -Ieditor -ISearch -I../../../include/mozilla_chardet -I/usr/include -c /home/pecan/devel/trunk/src/plugins/contrib/codesnippets/codesnippetstreectrl.cpp -o ../../../.objs/plugins/contrib/codesnippets/plugin/codesnippetstreectrl.o
<snip>
Output size is 7.71 MB
-------------- Build: App-unix in CodeSnippets-unix ---------------
<snip>
g++ -Wall -g -Ulinux -Uunix -I/usr/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread -fexceptions -Winvalid-pch -fPIC -pthread -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -DcbDEBUG -DCB_PRECOMP -I../../../include -I../../../sdk/wxscintilla/include -I. -Ieditor -ISearch -I../../../include/mozilla_chardet -I/usr/include -c /home/pecan/devel/trunk/src/plugins/contrib/codesnippets/codesnippetstreectrl.cpp -o ../../../.objs/plugins/contrib/codesnippets/app/codesnippetstreectrl.o
Output size is 7.55 MB
Running project post-build steps
./update
adding: manifest.xml (deflated 51%)
Process terminated with status 0 (1 minutes, 47 seconds)
0 errors, 0 warnings (1 minutes, 47 seconds)
... If you want to provide changes that would work with 64 bit Codeblocks and wxWidgets, I'll be glad to try and make the changes.
That's very kind of you, if you can do some tests or changes under lib64.
I've quarried my system about the wxGTK, I got these out puts:
[David@Ocean ~]$ rpm -qa | grep wxGTK
wxGTK-gl-2.8.11-3.fc14.x86_64
wxGTK-2.8.11-3.fc14.i686
wxGTK-2.8.11-3.fc14.x86_64
wxGTK-devel-2.8.11-3.fc14.x86_64
wxGTK-media-2.8.11-3.fc14.x86_64
[David@Ocean ~]$ rpm -qa | grep wxBase
wxBase-2.8.11-3.fc14.x86_64
wxBase-2.8.11-3.fc14.i686
It's not a problem with 64-bit in general.
It's a problem with 64-bit libraries, that use deprecated functions (that are removed in wx2.9 by the way), because WXWIN_COMPATIBILITY_2_4 is defined.
Try building wxWidgets without using "--enable-compat24"; this assumes I guessed the correct cause of the problem.
Tim S.
Try building wxWidgets without using "--enable-compat24"; this assumes I guessed the correct cause of the problem.
Tim S.
Do the above to NOT enable WXWIN_COMPATIBILITY_2_4 during wxWidgets build.
Note: If you download a per built wxWidgets; please report the fact that WXWIN_COMPATIBILITY_2_4 and 64 bit build is NOT supported together to your source of pre-built library.
Tim S.