User forums > Help
using code profiler in C - crash! (svn 7071)
wangdong1226:
Dear oBFusCATed,
Sorry for my late test report. I'm a little bit busy these days. :)
I've reinstalled the Fedora official wxGTK-2.8.11-3 (official Fedora releasw wxGTK has "--enable-compat24 \" in its rpm .spec file ). Then I re-combined the codeblocks-svn7074 with your patch.
I got errors, please view as follows:
--- Quote ---
---------------
......
......
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../../../src/include -I/usr/lib64/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I../../../../src/include -I../../../../src/sdk/wxscintilla/include -I../../../../src/plugins/contrib/codesnippets -I../../../../src/plugins/contrib/codesnippets/Search -I../../../../src/plugins/contrib/codesnippets/editor -I../../../../src/include/mozilla_chardet -Ulinux -Uunix -O2 -ffast-math -DCB_AUTOCONF -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -c Search/DirectoryParamsPanel.cpp -fPIC -DPIC -o .libs/DirectoryParamsPanel.o
/bin/sh ../../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../../../src/include -I/usr/lib64/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I../../../../src/include -I../../../../src/sdk/wxscintilla/include -I../../../../src/plugins/contrib/codesnippets -I../../../../src/plugins/contrib/codesnippets/Search -I../../../../src/plugins/contrib/codesnippets/editor -I../../../../src/include/mozilla_chardet -Ulinux -Uunix -O2 -ffast-math -DCB_AUTOCONF -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -c -o InsertIndexManager.lo `test -f 'Search/InsertIndexManager.cpp' || echo './'`Search/InsertIndexManager.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../../../src/include -I/usr/lib64/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I../../../../src/include -I../../../../src/sdk/wxscintilla/include -I../../../../src/plugins/contrib/codesnippets -I../../../../src/plugins/contrib/codesnippets/Search -I../../../../src/plugins/contrib/codesnippets/editor -I../../../../src/include/mozilla_chardet -Ulinux -Uunix -O2 -ffast-math -DCB_AUTOCONF -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -c Search/InsertIndexManager.cpp -fPIC -DPIC -o .libs/InsertIndexManager.o
codesnippets.cpp: In constructor 'CodeSnippets::CodeSnippets()':
codesnippets.cpp:109:52: error: conversion from 'int' to 'const wxTreeItemId' is ambiguous
/usr/include/wx-2.8/wx/treebase.h:75:5: note: candidates are: wxTreeItemId::wxTreeItemId(long int)
/usr/include/wx-2.8/wx/treebase.h:59:5: note: wxTreeItemId::wxTreeItemId(void*)
codesnippets.cpp: In member function 'void CodeSnippets::OnPrjTreeMouseLeftDownEvent(wxMouseEvent&)':
codesnippets.cpp:1243:30: error: conversion from 'int' to 'const wxTreeItemId' is ambiguous
/usr/include/wx-2.8/wx/treebase.h:75:5: note: candidates are: wxTreeItemId::wxTreeItemId(long int)
/usr/include/wx-2.8/wx/treebase.h:59:5: note: wxTreeItemId::wxTreeItemId(void*)
codesnippets.cpp:1244:28: error: conversion from 'int' to 'const wxTreeItemId' is ambiguous
/usr/include/wx-2.8/wx/treebase.h:75:5: note: candidates are: wxTreeItemId::wxTreeItemId(long int)
/usr/include/wx-2.8/wx/treebase.h:59:5: note: wxTreeItemId::wxTreeItemId(void*)
codesnippets.cpp: In member function 'void CodeSnippets::OnPrjTreeMouseLeftUpEvent(wxMouseEvent&)':
codesnippets.cpp:1273:28: error: conversion from 'int' to 'const wxTreeItemId' is ambiguous
/usr/include/wx-2.8/wx/treebase.h:75:5: note: candidates are: wxTreeItemId::wxTreeItemId(long int)
/usr/include/wx-2.8/wx/treebase.h:59:5: note: wxTreeItemId::wxTreeItemId(void*)
codesnippets.cpp: In member function 'void CodeSnippets::DoPrjTreeExternalDrag(wxTreeCtrl*)':
codesnippets.cpp:1449:30: error: conversion from 'int' to 'const wxTreeItemId' is ambiguous
/usr/include/wx-2.8/wx/treebase.h:75:5: note: candidates are: wxTreeItemId::wxTreeItemId(long int)
/usr/include/wx-2.8/wx/treebase.h:59:5: note: wxTreeItemId::wxTreeItemId(void*)
codesnippets.cpp:1450:28: error: conversion from 'int' to 'const wxTreeItemId' is ambiguous
/usr/include/wx-2.8/wx/treebase.h:75:5: note: candidates are: wxTreeItemId::wxTreeItemId(long int)
/usr/include/wx-2.8/wx/treebase.h:59:5: note: wxTreeItemId::wxTreeItemId(void*)
make[5]: *** [codesnippets.lo] Error 1
make[5]: *** Waiting for unfinished jobs....
Search/InsertIndexManager.cpp: In member function 'long int InsertIndexManager::GetInsertionIndex(const wxString&, long int)':
Search/InsertIndexManager.cpp:24:7: warning: 'index' may be used uninitialized in this function
make[5]: Leaving directory `/home/David/rpmbuild/BUILD/codeblocks/src/plugins/contrib/codesnippets'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/David/rpmbuild/BUILD/codeblocks/src/plugins/contrib/codesnippets'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/David/rpmbuild/BUILD/codeblocks/src/plugins/contrib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/David/rpmbuild/BUILD/codeblocks/src/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/David/rpmbuild/BUILD/codeblocks/src'
make: *** [all-recursive] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.lzgOx1 (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.lzgOx1 (%build)
[David@Ocean SPECS]$
[David@Ocean SPECS]$ rpm -qa | grep wx
wxGTK-gl-2.8.11-3.fc14.x86_64
wxBase-2.8.11-3.fc14.x86_64
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 SPECS]$ uname -a
Linux Ocean 2.6.35.11-83.fc14.x86_64 #1 SMP Mon Feb 7 07:06:44 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
[David@Ocean SPECS]$
--------------
--- End quote ---
Temporarily solution:
1).
Just as stahta01 (Tim S) has told me before (http://forums.codeblocks.org/index.php/topic,14289.msg96177.html#msg96177).
--- Quote ---Try building wxWidgets without using "--enable-compat24"
--- End quote ---
.
This can solve the Fedora official wxGTK2.8.11-3 conflicts with CodeBlocks-svn7047 problem.
or
2).
Re-build wxGTK using the official released wxWidgets2.8.12 source; then install corresponding produced wxGTK and wxBase files; then re-build CodeBlocks-svn7047.
Best regards.
David.
oBFusCATed:
Are you sure the patch have been applied?
wangdong1226:
Yes, I'm sure.
Maybe you do not want to see this; but I did patched acc. to your patch file, and I got errors during compiling.
Navigation
[0] Message Index
[*] Previous page
Go to full version