User forums > Using Code::Blocks

Compilation successfull but cant start.

<< < (3/5) > >>

BEEjay:
hi there i've the VERION_1_= from the cvs an i can't start the programm too.

i use wxWidgets 2.4.x


here the debug

--- Code: ---NU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...Using host libthread_db library "/lib/libthread_db.so.1".

(gdb) r
Starting program: /usr/local/src/codeblocks/src/devel/codeblocks.exe
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 30177)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 30177)]
0xb7e91179 in wxWindowBase::FindWindow () from /usr/lib/libwx_gtk2-2.4.so
(gdb) bt
#0  0xb7e91179 in wxWindowBase::FindWindow () from /usr/lib/libwx_gtk2-2.4.so
#1  0xb7a82cda in EditorManager (this=0x82fa8f8, parent=0x812a920) at editormanager.cpp:176
#2  0xb7a822f4 in EditorManager::Get (parent=0x812a920) at editormanager.cpp:143
#3  0xb7a99e53 in Manager::GetEditorManager (this=0x81fa978) at manager.cpp:284
#4  0x08060ad6 in MainFrame::CreateMenubar (this=0x812a920) at main.cpp:524
#5  0x0806032e in MainFrame::CreateIDE (this=0x812a920) at main.cpp:457
#6  0x0805f0ef in MainFrame (this=0x812a920, lang=@0x80ce22c, parent=0x0) at main.cpp:370
#7  0x08057515 in CodeBlocksApp::InitFrame (this=0x80ce1d0) at app.cpp:176
#8  0x08057de8 in CodeBlocksApp::OnInit (this=0x80ce1d0) at app.cpp:301
#9  0xb7d30a38 in wxEntry () from /usr/lib/libwx_gtk2-2.4.so
#10 0x08056ba2 in main (argc=1, argv=0xbffff544) at app.cpp:79
(gdb)   


--- End code ---

grv575:
It's failing on:
   wxBitmapButton* myclosebutton = XRCCTRL(*m_pPanel,"ID_EditorManagerCloseButton",wxBitmapButton);

You sure you have XRC enabled in your wx2.4.2 build?
See the wiki about building wxWidgets.

BEEjay:

--- Quote from: grv575 on August 25, 2005, 05:57:11 pm ---It's failing on:
   wxBitmapButton* myclosebutton = XRCCTRL(*m_pPanel,"ID_EditorManagerCloseButton",wxBitmapButton);

You sure you have XRC enabled in your wx2.4.2 build?
See the wiki about building wxWidgets.


--- End quote ---

how can i Test ist waht are enabled in the build. because i use gentoo and don't see the configure details.

mandrav:
Have you run './update' ?

Yiannis.

BEEjay:
wuha thanks that's it!!! :)

Many many many thx ! :))))

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version