Author Topic: [HELP] Compile and install CodeBlocks issues!  (Read 11647 times)

Offline wangfei406

  • Single posting newcomer
  • *
  • Posts: 9
[HELP] Compile and install CodeBlocks issues!
« on: October 27, 2011, 11:24:15 am »
I'm working on Redhat Enterprise Linux 4. I cannot bear ddd to debug programs since it is too rough to use, so I decided to use IDE like CodeBlocks. But I don't have the root previlege to install softwares. As a result, I have to get the source code to compile by myself.

But I got some compile issues. As we know, wxWidgets is the requisite. Here is the download link http://sourceforge.net/projects/wxwindows/files/2.8.12/.
But which one should I use?(I'm using  Redhat Enterprise Linux 4) wxWidgets-2.8.12.tar.bz2 or wxGTK-2.8.12.tar.bz2? Or others? And what is the difference? Forgive me, I am new to linux.  :?

Actually, I have tried both of them. If I use wxWidgets-2.8.12.tar.bz2 to install, I will get compile errors when compiling codeblocks. But the compile error can be resolved if I turn to wxGTK-2.8.12.tar.bz2. However, I got other build error as below. Here I am using codeblocks10.5.  version 8.02 has the similar errors while making resources. What's matter? Please help me!


------------------------
mv -f .deps/switcherdlg.Tpo .deps/switcherdlg.Po
/bin/sh ../../libtool --tag=CXX   --mode=link g++  -O2 -ffast-math -DCB_AUTOCONF -g -O2 -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions   -o codeblocks app.o appglobals.o compilersettingsdlg.o crashhandler.o dlgabout.o dlgaboutplugin.o environmentsettingsdlg.o infopane.o main.o notebookstyles.o prefix.o printdlg.o scriptconsole.o scriptingsettingsdlg.o splashscreen.o startherepage.o switcherdlg.o -L../sdk -lcodeblocks -L/remote/vgrnd57/feiwang/install_tools/wxGTK-2.8.10/lib -pthread   -L/usr/X11R6/lib64   -lwx_gtk2u-2.8  -lpthread -ldl
libtool: link: g++ -O2 -ffast-math -DCB_AUTOCONF -g -O2 -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -o .libs/codeblocks app.o appglobals.o compilersettingsdlg.o crashhandler.o dlgabout.o dlgaboutplugin.o environmentsettingsdlg.o infopane.o main.o notebookstyles.o prefix.o printdlg.o scriptconsole.o scriptingsettingsdlg.o splashscreen.o startherepage.o switcherdlg.o -pthread  -L/remote/vgrnd57/feiwang/software/codeblocks-10.05-release/src/sdk /remote/vgrnd57/feiwang/software/codeblocks-10.05-release/src/sdk/.libs/libcodeblocks.so -L/remote/vgrnd57/feiwang/install_tools/wxGTK-2.8.10/lib -L/usr/X11R6/lib64 -lwx_gtk2u-2.8 -lpthread -ldl -pthread -Wl,-rpath -Wl,/remote/vgrnd57/feiwang/install_tools/codeblocks-10.05-release/lib
make[3]: Leaving directory `/remote/vgrnd57/feiwang/software/codeblocks-10.05-release/src/src'
make[2]: Leaving directory `/remote/vgrnd57/feiwang/software/codeblocks-10.05-release/src/src'
Making all in plugins
make[2]: Entering directory `/remote/vgrnd57/feiwang/software/codeblocks-10.05-release/src/plugins'
Making all in astyle
make[3]: Entering directory `/remote/vgrnd57/feiwang/software/codeblocks-10.05-release/src/plugins/astyle'
Making all in resources
make[4]: Entering directory `/remote/vgrnd57/feiwang/software/codeblocks-10.05-release/src/plugins/astyle/resources'
PWD=`pwd` cd . && zip /remote/vgrnd57/feiwang/software/codeblocks-10.05-release/src/plugins/astyle/resources/astyle.zip manifest.xml *.xrc > /dev/null
/remote/vgrnd57/feiwang/software/codeblocks-10.05-release/src/plugins/astyle/resources/astyle.zip: No such file or directory
make[4]: *** [astyle.zip] Error 1

make[4]: Leaving directory `/remote/vgrnd57/feiwang/software/codeblocks-10.05-release/src/plugins/astyle/resources'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/remote/vgrnd57/feiwang/software/codeblocks-10.05-release/src/plugins/astyle'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/remote/vgrnd57/feiwang/software/codeblocks-10.05-release/src/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/remote/vgrnd57/feiwang/software/codeblocks-10.05-release/src'
make: *** [all-recursive] Error 1

-----------------------------------------
« Last Edit: October 27, 2011, 11:26:17 am by wangfei406 »

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: [HELP] Compile and install CodeBlocks issues!
« Reply #1 on: October 27, 2011, 12:22:41 pm »
Does zip exist on your system ?
Can you call it from the commandline ?

Offline wangfei406

  • Single posting newcomer
  • *
  • Posts: 9
Re: [HELP] Compile and install CodeBlocks issues!
« Reply #2 on: October 27, 2011, 01:03:35 pm »
Does zip exist on your system ?
Can you call it from the commandline ?

Yes, I tested. But it seems too old. I  have also supected zip causes the error. But seems not.
codeblocks 8.02 reports simlilar build errors in src/src/resources/image/16x16. I don't know why!


feiwang@vgamdquad98:/remote/vgrnd57/feiwang/software/codeblocks-10.05-release % zip --version
zip 1.2.4 (18 Aug 93)
Compilation options:
DIRENT UTIME STDC_HEADERS HAVE_UNISTD_H
feiwang@vgamdquad98:/remote/vgrnd57/feiwang/so

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: [HELP] Compile and install CodeBlocks issues!
« Reply #3 on: October 27, 2011, 02:36:09 pm »
You can try to run the zip command from commandline in the appropriate folder, without the "> /dev/null" to see what it really does.

Offline wangfei406

  • Single posting newcomer
  • *
  • Posts: 9
Re: [HELP] Compile and install CodeBlocks issues!
« Reply #4 on: October 28, 2011, 03:55:39 am »
zip /remote/vgrnd57/feiwang/software/codeblocks-10.05-release/src/plugins/astyle/resources/astyle.zip manifest.xml *.xrc
zip: No match.


That's the result.

All I have done above is in the company's linux server. Last nightI tried to build codeblocks in my home machine with unbuntu installed in VM in the some way. I got dependecies error while running "./configure". So I installed GTK. After that, codeblocks can be compiled successfully. So it that to say GTK library is also needed by codeblocks???

Offline wangfei406

  • Single posting newcomer
  • *
  • Posts: 9
Re: [HELP] Compile and install CodeBlocks issues!
« Reply #5 on: October 28, 2011, 04:05:29 am »
I checked GTK in company server. It seems that GTK is there.

feiwang@vgamdquad98:/remote/vgrnd57/feiwang/software/codeblocks-10.05-release % pkg-config --modversion gtk+-2.0
2.4.13
feiwang@vgamdquad98:/remote/vgrnd57/feiwang/software/codeblocks-10.05-release % pkg-config --cflags --libs gtk+-2.0
-DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include  -Wl,--export-dynamic -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7588
    • My Best Post
Re: [HELP] Compile and install CodeBlocks issues!
« Reply #6 on: October 28, 2011, 04:45:02 am »
So it that to say GTK library is also needed by codeblocks???

Code::Blocks needs wxWidgets (wxGTK under non-windows OSes); under Linux and other Unix like OSes, wxWidgets(wxGTK) needs GTK.

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 Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: [HELP] Compile and install CodeBlocks issues!
« Reply #7 on: October 28, 2011, 06:32:43 am »
But gtk development files are not needed if you do not compile C::B to build the codesnippets-plugin/-app or the mousesap-plugin and if you disable the use of gtk-notebooks.
Run ./configure --help to see how to do this (if needed).

Offline wangfei406

  • Single posting newcomer
  • *
  • Posts: 9
Re: [HELP] Compile and install CodeBlocks issues!
« Reply #8 on: October 31, 2011, 10:01:52 am »
I compiled GTK and installed successfully with a lot of efforts. Now the compile error became to the following. What's wrong????


make[5]: Entering directory `/remote/vgrnd57/feiwang/software/codeblocks-10.05-release/src/src/resources/images/16x16'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/remote/vgrnd57/feiwang/software/codeblocks-10.05-release/src/src/resources/images/16x16'
Making all in settings
make[5]: Entering directory `/remote/vgrnd57/feiwang/software/codeblocks-10.05-release/src/src/resources/images/settings'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/remote/vgrnd57/feiwang/software/codeblocks-10.05-release/src/src/resources/images/settings'
make[5]: Entering directory `/remote/vgrnd57/feiwang/software/codeblocks-10.05-release/src/src/resources/images'
make[5]: Nothing to be done for `all-am'.
make[5]: Leaving directory `/remote/vgrnd57/feiwang/software/codeblocks-10.05-release/src/src/resources/images'
make[4]: Leaving directory `/remote/vgrnd57/feiwang/software/codeblocks-10.05-release/src/src/resources/images'
make[4]: Entering directory `/remote/vgrnd57/feiwang/software/codeblocks-10.05-release/src/src/resources'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/remote/vgrnd57/feiwang/software/codeblocks-10.05-release/src/src/resources'
make[3]: Leaving directory `/remote/vgrnd57/feiwang/software/codeblocks-10.05-release/src/src/resources'
make[3]: Entering directory `/remote/vgrnd57/feiwang/software/codeblocks-10.05-release/src/src'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/remote/vgrnd57/feiwang/software/codeblocks-10.05-release/src/src'
make[2]: Leaving directory `/remote/vgrnd57/feiwang/software/codeblocks-10.05-release/src/src'
Making all in plugins
make[2]: Entering directory `/remote/vgrnd57/feiwang/software/codeblocks-10.05-release/src/plugins'
Making all in astyle
make[3]: Entering directory `/remote/vgrnd57/feiwang/software/codeblocks-10.05-release/src/plugins/astyle'
Making all in resources
make[4]: Entering directory `/remote/vgrnd57/feiwang/software/codeblocks-10.05-release/src/plugins/astyle/resources'
make[4]: *** No rule to make target `configuration.xrc', needed by `astyle.zip'.  Stop.

make[4]: Leaving directory `/remote/vgrnd57/feiwang/software/codeblocks-10.05-release/src/plugins/astyle/resources'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/remote/vgrnd57/feiwang/software/codeblocks-10.05-release/src/plugins/astyle'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/remote/vgrnd57/feiwang/software/codeblocks-10.05-release/src/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/remote/vgrnd57/feiwang/software/codeblocks-10.05-release/src'
make: *** [all-recursive] Error 1

Offline wangfei406

  • Single posting newcomer
  • *
  • Posts: 9
Re: [HELP] Compile and install CodeBlocks issues!
« Reply #9 on: October 31, 2011, 10:48:58 am »
codeblocks8.02 got the following errors, similar to 10.05.

-------------------------------------------
make[5]: Entering directory `/remote/vgrnd57/feiwang/software/codeblocks-8.02/src/src/resources/images/16x16'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/remote/vgrnd57/feiwang/software/codeblocks-8.02/src/src/resources/images/16x16'
Making all in settings
make[5]: Entering directory `/remote/vgrnd57/feiwang/software/codeblocks-8.02/src/src/resources/images/settings'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/remote/vgrnd57/feiwang/software/codeblocks-8.02/src/src/resources/images/settings'
make[5]: Entering directory `/remote/vgrnd57/feiwang/software/codeblocks-8.02/src/src/resources/images'
make[5]: Nothing to be done for `all-am'.
make[5]: Leaving directory `/remote/vgrnd57/feiwang/software/codeblocks-8.02/src/src/resources/images'
make[4]: Leaving directory `/remote/vgrnd57/feiwang/software/codeblocks-8.02/src/src/resources/images'
make[4]: Entering directory `/remote/vgrnd57/feiwang/software/codeblocks-8.02/src/src/resources'
PWD=`pwd` cd . && zip /remote/vgrnd57/feiwang/software/codeblocks-8.02/src/src/resources/resources.zip *.xrc images/*.png images/16x16/*.png > /dev/null
/remote/vgrnd57/feiwang/software/codeblocks-8.02/src/src/resources/resources.zip: No such file or directory
make[4]: *** [resources.zip] Error 1

make[4]: Leaving directory `/remote/vgrnd57/feiwang/software/codeblocks-8.02/src/src/resources'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/remote/vgrnd57/feiwang/software/codeblocks-8.02/src/src/resources'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/remote/vgrnd57/feiwang/software/codeblocks-8.02/src/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/remote/vgrnd57/feiwang/software/codeblocks-8.02/src'
make: *** [all-recursive] Error 1

Offline wangfei406

  • Single posting newcomer
  • *
  • Posts: 9
Re: [HELP] Compile and install CodeBlocks issues!
« Reply #10 on: October 31, 2011, 12:33:20 pm »
Hi guys,

I found all these errors are in src/plugins/. Is it possible I missed any dependency when I was compiling plugins?

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: [HELP] Compile and install CodeBlocks issues!
« Reply #11 on: October 31, 2011, 01:20:00 pm »
What happens if you execute:
Code
cd /remote/vgrnd57/feiwang/software/codeblocks-8.02/src/src/resources
zip /remote/vgrnd57/feiwang/software/codeblocks-8.02/src/src/resources/resources.zip *.xrc images/*.png images/16x16/*.png > /dev/null
What is this /remote/vgrnd57? A virtual drive? What is the FS? Have you tried to build in /home/feiwang ?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: [HELP] Compile and install CodeBlocks issues!
« Reply #12 on: October 31, 2011, 01:35:53 pm »
Try it without the
Code
> /dev/null

Offline wangfei406

  • Single posting newcomer
  • *
  • Posts: 9
Re: [HELP] Compile and install CodeBlocks issues!
« Reply #13 on: November 01, 2011, 06:26:35 am »
Hi expert,

Finally, I found it may be caused by the zip(gzip, tar) utilities. Some *.gz file cannot be uncompressed successfully. And some *.zip missed duo to unknown reasons. I copyied these *.zip files from instaled version on Windows and unzip *.gz manually. Luckily, I succeeded! I guess it is caused by the utilies in my en. Maybe too old or sth else.

But I got another problem. If I attach the program I want to debug, cb alway crash!But I can use ddd to debug. I'm using v10.05. It also crash on win7(installed version).

Is there any comments on it? Here it the crash report of cb.



        This XML file does not appear to have any style information associated with it. The document tree is shown below.
      

<report version="1.0" kind="exception">
<system description="Linux 2.6.9-78.ELsmp x86_64"/>

<modules>
<module path="/remote/vgrnd57/feiwang/install_tools/codeblocks-10.05/bin/codeblocks" address="00400000" size="0009f000"/>
<module path="/lib64/ld-2.3.4.so" address="2a95556000" size="00015000" version="2.3.4"/>
<module path="/usr/share/fonts/bitstream-vera/VeraMono.ttf" address="2a9556d000" size="0000d000"/>
<module path="/lib64/ld-2.3.4.so" address="2a9566a000" size="00001000" version="2.3.4"/>
<module path="/remote/vgrnd57/feiwang/install_tools/codeblocks-10.05/lib/libcodeblocks.so.0.0.1" address="2a9566c000" size="004bb000" version="0.0.1"/>
<module path="/remote/vgrnd57/feiwang/install_tools/codeblocks-10.05/lib/libcodeblocks.so.0.0.1" address="2a95c26000" size="00029000" version="0.0.1"/>
<module path="/remote/vgrnd57/feiwang/install_tools/wxGTK-2.8.12/lib/libwx_gtk2_richtext-2.8.so.0.8.0" address="2a95c59000" size="000f7000" version="0.8.0"/>
<module path="/remote/vgrnd57/feiwang/install_tools/wxGTK-2.8.12/lib/libwx_gtk2_richtext-2.8.so.0.8.0" address="2a95e4f000" size="0000d000" version="0.8.0"/>
<module path="/remote/vgrnd57/feiwang/install_tools/wxGTK-2.8.12/lib/libwx_gtk2_aui-2.8.so.0.8.0" address="2a95e5f000" size="0006e000" version="0.8.0"/>
<module path="/remote/vgrnd57/feiwang/install_tools/wxGTK-2.8.12/lib/libwx_gtk2_aui-2.8.so.0.8.0" address="2a95fcd000" size="00006000" version="0.8.0"/>
<module path="/remote/vgrnd57/feiwang/install_tools/wxGTK-2.8.12/lib/libwx_gtk2_xrc-2.8.so.0.8.0" address="2a95fd5000" size="00090000" version="0.8.0"/>
<module path="/remote/vgrnd57/feiwang/install_tools/wxGTK-2.8.12/lib/libwx_gtk2_xrc-2.8.so.0.8.0" address="2a96165000" size="00006000" version="0.8.0"/>
<module path="/remote/vgrnd57/feiwang/install_tools/wxGTK-2.8.12/lib/libwx_gtk2_qa-2.8.so.0.8.0" address="2a9616e000" size="00021000" version="0.8.0"/>
<module path="/remote/vgrnd57/feiwang/install_tools/wxGTK-2.8.12/lib/libwx_gtk2_qa-2.8.so.0.8.0" address="2a9628e000" size="00003000" version="0.8.0"/>
<module path="/remote/vgrnd57/feiwang/install_tools/wxGTK-2.8.12/lib/libwx_gtk2_html-2.8.so.0.8.0" address="2a96337000" size="000ff000" version="0.8.0"/>
<module path="/remote/vgrnd57/feiwang/install_tools/wxGTK-2.8.12/lib/libwx_gtk2_adv-2.8.so.0.8.0" address="2a96444000" size="000d3000" version="0.8.0"/>
<module path="/remote/vgrnd57/feiwang/install_tools/wxGTK-2.8.12/lib/libwx_gtk2_adv-2.8.so.0.8.0" address="2a96617000" size="00012000" version="0.8.0"/>
<module path="/remote/vgrnd57/feiwang/install_tools/wxGTK-2.8.12/lib/libwx_gtk2_core-2.8.so.0.8.0" address="2a9662c000" size="00394000" version="0.8.0"/>
<module path="/remote/vgrnd57/feiwang/install_tools/wxGTK-2.8.12/lib/libwx_gtk2_core-2.8.so.0.8.0" address="2a96ac0000" size="00054000" version="0.8.0"/>
<module path="/remote/vgrnd57/feiwang/install_tools/wxGTK-2.8.12/lib/libwx_base_xml-2.8.so.0.8.0" address="2a96b20000" size="00009000" version="0.8.0"/>
<module path="/remote/vgrnd57/feiwang/install_tools/wxGTK-2.8.12/lib/libwx_base_xml-2.8.so.0.8.0" address="2a96c29000" size="00001000" version="0.8.0"/>
<module path="/remote/vgrnd57/feiwang/install_tools/wxGTK-2.8.12/lib/libwx_base_net-2.8.so.0.8.0" address="2a96c2b000" size="0002d000" version="0.8.0"/>
<module path="/remote/vgrnd57/feiwang/install_tools/wxGTK-2.8.12/lib/libwx_base_net-2.8.so.0.8.0" address="2a96d58000" size="00003000" version="0.8.0"/>
<module path="/remote/vgrnd57/feiwang/install_tools/wxGTK-2.8.12/lib/libwx_base-2.8.so.0.8.0" address="2a96e84000" size="00100000" version="0.8.0"/>
<module path="/lib64/tls/libpthread-2.3.4.so" address="2a96fc7000" size="00010000" version="2.3.4"/>
<module path="/lib64/tls/libpthread-2.3.4.so" address="2a970d6000" size="00001000" version="2.3.4"/>
<module path="/lib64/libdl-2.3.4.so" address="2a970dd000" size="00002000" version="2.3.4"/>
<module path="/lib64/libdl-2.3.4.so" address="2a971de000" size="00001000" version="2.3.4"/>
<module path="/linux/depot/gcc-4.2.2/lib64/libstdc++.so.6.0.9" address="2a971e0000" size="000e7000" version="6.0.9"/>
<module path="/linux/depot/gcc-4.2.2/lib64/libstdc++.so.6.0.9" address="2a973c7000" size="00002000" version="6.0.9"/>
<module path="/lib64/tls/libm-2.3.4.so" address="2a973e3000" size="00085000" version="2.3.4"/>
<module path="/lib64/tls/libm-2.3.4.so" address="2a97567000" size="00001000" version="2.3.4"/>
<module path="/linux/depot/gcc-4.2.2/lib64/libgcc_s.so.1" address="2a9756a000" size="0000d000" version="1"/>
<module path="/linux/depot/gcc-4.2.2/lib64/libgcc_s.so.1" address="2a97677000" size="00001000" version="1"/>
<module path="/lib64/tls/libc-2.3.4.so" address="2a977a7000" size="00100000" version="2.3.4"/>
<module path="/lib64/tls/libc-2.3.4.so" address="2a978aa000" size="00002000" version="2.3.4"/>
<module path="/remote/vgrnd57/feiwang/install_tools/gtk+-2.20.1/lib/libgtk-x11-2.0.so.0.2000.1" address="2a978b1000" size="003f2000" version="0.2000.1"/>
<module path="/remote/vgrnd57/feiwang/install_tools/gtk+-2.20.1/lib/libgtk-x11-2.0.so.0.2000.1" address="2a97da3000" size="0000b000" version="0.2000.1"/>
<module path="/remote/vgrnd57/feiwang/install_tools/gtk+-2.20.1/lib/libgdk-x11-2.0.so.0.2000.1" address="2a97db1000" size="000a0000" version="0.2000.1"/>
<module path="/remote/vgrnd57/feiwang/install_tools/gtk+-2.20.1/lib/libgdk-x11-2.0.so.0.2000.1" address="2a97f50000" size="00005000" version="0.2000.1"/>
<module path="/remote/vgrnd57/feiwang/install_tools/atk-1.29.2/lib/libatk-1.0.so.0.2911.1" address="2a97f72000" size="00100000" version="0.2911.1"/>
<module path="/remote/vgrnd57/feiwang/install_tools/glib-2.23.6/lib/libgio-2.0.so.0.2306.0" address="2a98075000" size="000aa000" version="0.2306.0"/>
<module path="/remote/vgrnd57/feiwang/install_tools/glib-2.23.6/lib/libgio-2.0.so.0.2306.0" address="2a9821f000" size="00003000" version="0.2306.0"/>
<module path="/remote/vgrnd57/feiwang/install_tools/pango-1.20.0/lib/libpangoft2-1.0.so.0.2000.0" address="2a98224000" size="0002b000" version="0.2000.0"/>
<module path="/remote/vgrnd57/feiwang/install_tools/pango-1.20.0/lib/libpangoft2-1.0.so.0.2000.0" address="2a9834f000" size="00001000" version="0.2000.0"/>
<module path="/remote/vgrnd57/feiwang/install_tools/gtk+-2.20.1/lib/libgdk_pixbuf-2.0.so.0.2000.1" address="2a9836a000" size="000ff000" version="0.2000.1"/>
<module path="/remote/vgrnd57/feiwang/install_tools/pango-1.20.0/lib/libpango-1.0.so.0.2000.0" address="2a9846a000" size="00041000" version="0.2000.0"/>
<module path="/remote/vgrnd57/feiwang/install_tools/pango-1.20.0/lib/libpango-1.0.so.0.2000.0" address="2a985aa000" size="00003000" version="0.2000.0"/>
<module path="/remote/vgrnd57/feiwang/install_tools/freetype-2.4.0/lib/libfreetype.so.6.5.0" address="2a985ae000" size="0007e000" version="6.5.0"/>
<module path="/remote/vgrnd57/feiwang/install_tools/freetype-2.4.0/lib/libfreetype.so.6.5.0" address="2a9872b000" size="00006000" version="6.5.0"/>
<module path="/remote/vgrnd57/feiwang/install_tools/fontconfig-2.8.0/lib/libfontconfig.so.1.4.4" address="2a98762000" size="00100000" version="1.4.4"/>
<module path="/remote/vgrnd57/feiwang/install_tools/glib-2.23.6/lib/libgobject-2.0.so.0.2306.0" address="2a98864000" size="00043000" version="0.2306.0"/>
<module path="/remote/vgrnd57/feiwang/install_tools/glib-2.23.6/lib/libgobject-2.0.so.0.2306.0" address="2a989a7000" size="00002000" version="0.2306.0"/>
<module path="/remote/vgrnd57/feiwang/install_tools/glib-2.23.6/lib/libgmodule-2.0.so.0.2306.0" address="2a989aa000" size="00003000" version="0.2306.0"/>
<module path="/remote/vgrnd57/feiwang/install_tools/glib-2.23.6/lib/libgmodule-2.0.so.0.2306.0" address="2a98aac000" size="00001000" version="0.2306.0"/>
<module path="/remote/vgrnd57/feiwang/install_tools/glib-2.23.6/lib/libgthread-2.0.so.0.2306.0" address="2a98ab1000" size="000ff000" version="0.2306.0"/>
<module path="/lib64/tls/librt-2.3.4.so" address="2a98bb1000" size="00009000" version="2.3.4"/>
<module path="/lib64/tls/librt-2.3.4.so" address="2a98cb9000" size="00001000" version="2.3.4"/>
<module path="/remote/vgrnd57/feiwang/install_tools/glib-2.23.6/lib/libglib-2.0.so.0.2306.0" address="2a98ccc000" size="000f0000" version="0.2306.0"/>
<module path="/remote/vgrnd57/feiwang/install_tools/glib-2.23.6/lib/libglib-2.0.so.0.2306.0" address="2a98ebc000" size="00001000" version="0.2306.0"/>
<module path="/usr/X11R6/lib64/libXinerama.so.1.0" address="2a98ebe000" size="00002000" version="1.0"/>
<module path="/usr/X11R6/lib64/libXinerama.so.1.0" address="2a98fbf000" size="00001000" version="1.0"/>
<module path="/usr/X11R6/lib64/libXxf86vm.so.1.0" address="2a98fc5000" size="000ff000" version="1.0"/>
<module path="/usr/X11R6/lib64/libSM.so.6.0" address="2a990c6000" size="00009000" version="6.0"/>
<module path="/usr/X11R6/lib64/libSM.so.6.0" address="2a991cf000" size="00001000" version="6.0"/>
<module path="/usr/lib64/libpng12.so.0.1.2.7" address="2a991f6000" size="00100000" version="0.1.2.7"/>
<module path="/usr/lib64/libz.so.1.2.1.2" address="2a992f7000" size="00013000" version="1.2.1.2"/>
<module path="/usr/lib64/libz.so.1.2.1.2" address="2a99409000" size="00001000" version="1.2.1.2"/>
<module path="/usr/lib64/libjpeg.so.62.0.0" address="2a9940b000" size="00020000" version="62.0.0"/>
<module path="/usr/lib64/libjpeg.so.62.0.0" address="2a9952b000" size="00001000" version="62.0.0"/>
<module path="/usr/lib64/libtiff.so.3.6" address="2a9957d000" size="00100000" version="3.6"/>
<module path="/usr/lib64/libexpat.so.0.5.0" address="2a99680000" size="00020000" version="0.5.0"/>
<module path="/usr/lib64/libexpat.so.0.5.0" address="2a997a0000" size="00002000" version="0.5.0"/>
<module path="/usr/X11R6/lib64/libXext.so.6.4" address="2a997a3000" size="00011000" version="6.4"/>
<module path="/usr/X11R6/lib64/libXext.so.6.4" address="2a998b3000" size="00001000" version="6.4"/>
<module path="/remote/vgrnd57/feiwang/install_tools/pango-1.20.0/lib/libpangocairo-1.0.so.0.2000.0" address="2a998be000" size="000ff000" version="0.2000.0"/>
<module path="/remote/vgrnd57/feiwang/install_tools/cairo-1.6.0/lib/libcairo.so.2.17.3" address="2a999bf000" size="00066000" version="2.17.3"/>
<module path="/remote/vgrnd57/feiwang/install_tools/cairo-1.6.0/lib/libcairo.so.2.17.3" address="2a99b24000" size="00002000" version="2.17.3"/>
<module path="/remote/vgrnd57/feiwang/install_tools/libpng-1.0.56/lib/libpng10.so.0.56.0" address="2a99b27000" size="00022000" version="0.56.0"/>
<module path="/remote/vgrnd57/feiwang/install_tools/libpng-1.0.56/lib/libpng10.so.0.56.0" address="2a99c49000" size="00001000" version="0.56.0"/>
<module path="/usr/X11R6/lib64/libXrender.so.1.2.2" address="2a99c52000" size="00100000" version="1.2.2"/>
<module path="/usr/X11R6/lib64/libICE.so.6.3" address="2a99d54000" size="00016000" version="6.3"/>
<module path="/usr/X11R6/lib64/libICE.so.6.3" address="2a99e6a000" size="00001000" version="6.3"/>
<module path="/usr/X11R6/lib64/libX11.so.6.2" address="2a99e6f000" size="000f3000" version="6.2"/>
<module path="/usr/X11R6/lib64/libX11.so.6.2" address="2a9a062000" size="00006000" version="6.2"/>
<module path="/remote/vgrnd57/feiwang/install_tools/pixman-0.10.0/lib/libpixman-1.so.0.10.0" address="2a9a094000" size="000ff000" version="0.10.0"/>
<module path="/lib64/libresolv-2.3.4.so" address="2a9a196000" size="00011000" version="2.3.4"/>
<module path="/lib64/libresolv-2.3.4.so" address="2a9a2a7000" size="00001000" version="2.3.4"/>
<module path="/usr/lib/locale/locale-archive" address="2a9a2b0000" size="02e46000"/>
<module path="/usr/X11R6/lib/X11/locale/lib64/common/xlcUTF8Load.so.2" address="2a9d0fc000" size="00001000" version="2"/>
<module path="/usr/X11R6/lib/X11/locale/lib64/common/xlcUTF8Load.so.2" address="2a9d1fc000" size="00001000" version="2"/>
<module path="/var/db/nscd/hosts" address="2a9d232000" size="00035000"/>
<module path="/usr/X11R6/lib64/libXcursor.so.1.0.2" address="2a9d31d000" size="00009000" version="1.0.2"/>
<module path="/usr/X11R6/lib64/libXcursor.so.1.0.2" address="2a9d426000" size="00001000" version="1.0.2"/>
<module path="/usr/X11R6/lib/X11/locale/lib64/common/xlcDef.so.2" address="2a9d429000" size="00100000" version="2"/>
<module path="/usr/lib64/gconv/UTF-32.so" address="2a9d52a000" size="00002000" version="32"/>
<module path="/usr/lib64/gconv/UTF-32.so" address="2a9d62b000" size="00002000" version="32"/>
<module path="/remote/vgrnd57/feiwang/install_tools/fontconfig-2.8.0/var/cache/fontconfig/c09c2e2d9ddef970513e4a68e1d4f7be-le64.cache-3" address="2a9d631000" size="00001000"/>
<module path="/remote/vgrnd57/feiwang/install_tools/fontconfig-2.8.0/var/cache/fontconfig/e3ead4b767b8819993a6fa3ae306afa9-le64.cache-3" address="2a9d63b000" size="00003000"/>
<module path="/remote/vgrnd57/feiwang/install_tools/fontconfig-2.8.0/var/cache/fontconfig/1da28c2d7545ea63f327420ec70f3608-le64.cache-3" address="2a9d63f000" size="00001000"/>
<module path="/remote/vgrnd57/feiwang/install_tools/fontconfig-2.8.0/var/cache/fontconfig/a79cbf3ed486c7f506f8b31e23c4bdac-le64.cache-3" address="2a9d647000" size="00001000"/>
<module path="/remote/vgrnd57/feiwang/install_tools/fontconfig-2.8.0/var/cache/fontconfig/8beb6a8722ca3887efd7f4978e58f1ce-le64.cache-3" address="2a9d64c000" size="00001000"/>
<module path="/remote/vgrnd57/feiwang/install_tools/fontconfig-2.8.0/var/cache/fontconfig/4cce9e453bd1da93a477438f928b89bc-le64.cache-3" address="2a9d64e000" size="00001000"/>
<module path="/remote/vgrnd57/feiwang/install_tools/fontconfig-2.8.0/var/cache/fontconfig/1487dd4aecf3164c4a11193169052443-le64.cache-3" address="2a9d770000" size="00120000"/>
<module path="/remote/vgrnd57/feiwang/install_tools/fontconfig-2.8.0/var/cache/fontconfig/bc06c1eea3e636f72101cafc3fb39508-le64.cache-3" address="2a9d895000" size="00004000"/>
<module path="/remote/vgrnd57/feiwang/install_tools/fontconfig-2.8.0/var/cache/fontconfig/f22309b238134d3cca63435f528976cd-le64.cache-3" address="2a9d8a0000" size="00015000"/>
« Last Edit: November 01, 2011, 06:30:38 am by wangfei406 »

Offline wangfei406

  • Single posting newcomer
  • *
  • Posts: 9
Re: [HELP] Compile and install CodeBlocks issues!
« Reply #14 on: November 01, 2011, 06:31:08 am »
<module path="/remote/vgrnd57/feiwang/install_tools/fontconfig-2.8.0/var/cache/fontconfig/79652363633577d7d713baab7f54ad8c-le64.cache-3" address="2a9d8c0000" size="00050000"/>
<module path="/remote/vgrnd57/feiwang/install_tools/fontconfig-2.8.0/var/cache/fontconfig/c2f9adeeec4c80f8379426691be25147-le64.cache-3" address="2a9d940000" size="0002f000"/>
<module path="/remote/vgrnd57/feiwang/install_tools/fontconfig-2.8.0/var/cache/fontconfig/642b3544849e3a974d56048423cf42e8-le64.cache-3" address="2a9d973000" size="0000f000"/>
<module path="/remote/vgrnd57/feiwang/install_tools/fontconfig-2.8.0/var/cache/fontconfig/0a5814e28079c4ddb8553c639b7b949f-le64.cache-3" address="2a9d99f000" size="00004000"/>
<module path="/remote/vgrnd57/feiwang/install_tools/fontconfig-2.8.0/var/cache/fontconfig/87f5e051180a7a75f16eb6fe7dbd3749-le64.cache-3" address="2a9d9ac000" size="00004000"/>
<module path="/remote/vgrnd57/feiwang/install_tools/fontconfig-2.8.0/var/cache/fontconfig/1e1dd7140d37562f5d3a8a40646466e8-le64.cache-3" address="2a9d9b2000" size="0003b000"/>
<module path="/remote/vgrnd57/feiwang/install_tools/fontconfig-2.8.0/var/cache/fontconfig/f4023520196b2bc2c439adcafb2470ff-le64.cache-3" address="2a9d9f1000" size="00003000"/>
<module path="/usr/lib64/gconv/ISO8859-1.so" address="2a9d9f6000" size="00002000" version="1"/>
<module path="/usr/lib64/gconv/ISO8859-1.so" address="2a9daf7000" size="00002000" version="1"/>
<module path="/remote/vgrnd57/feiwang/install_tools/pango-1.20.0/lib/pango/1.6.0/modules/pango-basic-fc.so" address="2a9dafb000" size="00100000" version="fc"/>
<module path="/usr/share/fonts/bitstream-vera/VeraBd.ttf" address="2a9dbfc000" size="0000f000"/>
<module path="/remote/vgrnd57/feiwang/install_tools/gtk+-2.20.1/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-xpm.so" address="2a9dc1d000" size="00006000" version="xpm"/>
<module path="/remote/vgrnd57/feiwang/install_tools/gtk+-2.20.1/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-xpm.so" address="2a9dd23000" size="00001000" version="xpm"/>
<module path="/remote/vgrnd57/feiwang/install_tools/codeblocks-10.05/lib/codeblocks/plugins/libastyle.so" address="2a9dd67000" size="00100000" version="10.05/lib/codeblocks/plugins/libastyle"/>
<module path="/remote/vgrnd57/feiwang/install_tools/codeblocks-10.05/lib/codeblocks/plugins/libautosave.so" address="2a9de6a000" size="0000f000" version="10.05/lib/codeblocks/plugins/libautosave"/>
<module path="/remote/vgrnd57/feiwang/install_tools/codeblocks-10.05/lib/codeblocks/plugins/libautosave.so" address="2a9df78000" size="00002000" version="10.05/lib/codeblocks/plugins/libautosave"/>
<module path="/remote/vgrnd57/feiwang/install_tools/codeblocks-10.05/lib/codeblocks/plugins/libclasswizard.so" address="2a9df96000" size="00100000" version="10.05/lib/codeblocks/plugins/libclasswizard"/>
<module path="/remote/vgrnd57/feiwang/install_tools/codeblocks-10.05/lib/codeblocks/plugins/libcodecompletion.so" address="2a9e098000" size="000cc000" version="10.05/lib/codeblocks/plugins/libcodecompletion"/>
<module path="/remote/vgrnd57/feiwang/install_tools/codeblocks-10.05/lib/codeblocks/plugins/libcodecompletion.so" address="2a9e264000" size="00007000" version="10.05/lib/codeblocks/plugins/libcodecompletion"/>
<module path="/remote/vgrnd57/feiwang/install_tools/codeblocks-10.05/lib/codeblocks/plugins/libcompiler.so" address="2a9e26d000" size="00150000" version="10.05/lib/codeblocks/plugins/libcompiler"/>
<module path="/remote/vgrnd57/feiwang/install_tools/codeblocks-10.05/lib/codeblocks/plugins/libcompiler.so" address="2a9e4bc000" size="00007000" version="10.05/lib/codeblocks/plugins/libcompiler"/>
<module path="/remote/vgrnd57/feiwang/install_tools/codeblocks-10.05/lib/codeblocks/plugins/libdebugger.so" address="2a9e4c5000" size="000b7000" version="10.05/lib/codeblocks/plugins/libdebugger"/>
<module path="/remote/vgrnd57/feiwang/install_tools/codeblocks-10.05/lib/codeblocks/plugins/libdebugger.so" address="2a9e67c000" size="0000c000" version="10.05/lib/codeblocks/plugins/libdebugger"/>
<module path="/remote/vgrnd57/feiwang/install_tools/codeblocks-10.05/lib/codeblocks/plugins/libdefaultmimehandler.so" address="2a9e68a000" size="0001a000" version="10.05/lib/codeblocks/plugins/libdefaultmimehandler"/>
<module path="/remote/vgrnd57/feiwang/install_tools/codeblocks-10.05/lib/codeblocks/plugins/libdefaultmimehandler.so" address="2a9e7a3000" size="00003000" version="10.05/lib/codeblocks/plugins/libdefaultmimehandler"/>
<module path="/remote/vgrnd57/feiwang/install_tools/codeblocks-10.05/lib/codeblocks/plugins/libscriptedwizard.so" address="2a9e80f000" size="00100000" version="10.05/lib/codeblocks/plugins/libscriptedwizard"/>
<module path="/remote/vgrnd57/feiwang/install_tools/codeblocks-10.05/lib/codeblocks/plugins/libprojectsimporter.so" address="2a9e918000" size="0002c000" version="10.05/lib/codeblocks/plugins/libprojectsimporter"/>
<module path="/remote/vgrnd57/feiwang/install_tools/codeblocks-10.05/lib/codeblocks/plugins/libprojectsimporter.so" address="2a9ea43000" size="00002000" version="10.05/lib/codeblocks/plugins/libprojectsimporter"/>
<module path="/remote/vgrnd57/feiwang/install_tools/codeblocks-10.05/lib/codeblocks/plugins/libopenfileslist.so" address="2a9ea4f000" size="00100000" version="10.05/lib/codeblocks/plugins/libopenfileslist"/>
<module path="/remote/vgrnd57/feiwang/install_tools/codeblocks-10.05/lib/codeblocks/plugins/libtodo.so" address="2a9eb50000" size="0002b000" version="10.05/lib/codeblocks/plugins/libtodo"/>
<module path="/remote/vgrnd57/feiwang/install_tools/codeblocks-10.05/lib/codeblocks/plugins/libtodo.so" address="2a9ec7a000" size="00004000" version="10.05/lib/codeblocks/plugins/libtodo"/>
<module path="/usr/share/fonts/bitstream-vera/VeraMoBd.ttf" address="2a9ec86000" size="0000c000"/>
</modules>

<stack>
<frame level="0"/>
<frame level="1" function="wxStringBase::operator=(wxStringBase const&)" offset="0000000f"/>
<frame level="2" function="DebuggerGDB::Debug()" offset="000001f3"/>
<frame level="3" function="DebuggerGDB::OnAttachToProcess(wxCommandEvent&)" offset="00000183"/>
<frame level="4" function="wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&)" offset="0000007d"/>
<frame level="5" function="wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*)" offset="0000009c"/>
<frame level="6" function="wxEvtHandler::ProcessEvent(wxEvent&)" offset="000000ad"/>
<frame level="7" function="wxEvtHandler::ProcessEvent(wxEvent&)" offset="00000050"/>
<frame level="8" function="wxEvtHandler::ProcessEvent(wxEvent&)" offset="00000050"/>
<frame level="9" function="wxEvtHandler::ProcessEvent(wxEvent&)" offset="00000050"/>
<frame level="10" function="wxEvtHandler::ProcessEvent(wxEvent&)" offset="00000050"/>
<frame level="11" function="wxEvtHandler::ProcessEvent(wxEvent&)" offset="00000050"/>
<frame level="12" function="wxEvtHandler::ProcessEvent(wxEvent&)" offset="00000050"/>
<frame level="13" function="wxEvtHandler::ProcessEvent(wxEvent&)" offset="00000050"/>
<frame level="14"/>
<frame level="15" function="g_closure_invoke" offset="00000110"/>
<frame level="16"/>
<frame level="17" function="g_signal_emit_valist" offset="0000075f"/>
<frame level="18" function="g_signal_emit" offset="00000083"/>
<frame level="19" function="gtk_widget_activate" offset="0000004e"/>
<frame level="20" function="gtk_menu_shell_activate_item" offset="00000143"/>
<frame level="21"/>
<frame level="22"/>
<frame level="23" function="g_closure_invoke" offset="00000110"/>
<frame level="24"/>
<frame level="25" function="g_signal_emit_valist" offset="000004ef"/>
<frame level="26" function="g_signal_emit" offset="00000083"/>
<frame level="27"/>
<frame level="28" function="gtk_propagate_event" offset="000000d9"/>
<frame level="29" function="gtk_main_do_event" offset="00000377"/>
<frame level="30"/>
<frame level="31" function="g_main_context_dispatch" offset="000001c5"/>
<frame level="32"/>
<frame level="33" function="g_main_loop_run" offset="000001c5"/>
<frame level="34" function="gtk_main" offset="000000a3"/>
<frame level="35" function="wxEventLoop::Run()" offset="0000006d"/>
<frame level="36" function="wxAppBase::MainLoop()" offset="0000004b"/>
</stack>
</report>

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5913
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: [HELP] Compile and install CodeBlocks issues!
« Reply #15 on: November 01, 2011, 06:44:37 am »
@wangfei406
When you post, please use code or quote tags.

Code
Your contents
or
Quote
Your contents
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: [HELP] Compile and install CodeBlocks issues!
« Reply #16 on: November 01, 2011, 07:37:09 am »
1. Please use code-tags if you post such an amount of code, otherwise it's nearly unreadable and I will not look into it.
2. Do what you are told to and post the results.
3. Do never mix resource-files from diferent C:B versions or you will run in crash for sure.