User forums > Help

Errors building C::B rev2688

<< < (6/8) > >>

mdelfede:

--- Quote from: killerbot on July 08, 2006, 12:31:23 pm ---
............
clicking on OK; leads the to the next error message :

--- Quote ---GetInstance: Invalid argument type
--- End quote ---

clickin on OK --> finally in CB :-)

--- End quote ---

The same here with GCC 4.1.2 SuSe.......... still some problems, but at least now it works  :D

<edit>
it works, but about all relating to scriptings is broken... don't know if it's only my build's fault or because of SqPlus bug.

Regards

Max

mdelfede:
The only thing that really helped was to install gcc 4.0.3 as an alternate compiler and rebuild all codeblocks sources.
Whith the warkaround more than half of the features were broken.

Here a page with a good howto for the installation of more GCC versions :

http://www.mjmwired.net/resources/mjm-fedora-gcc.html

I suggest to have gcc sources configured to give a suffix to executable names (e.g. gcc403 for the 4.0.3 version), in order to avoid mistakes on use. This is done with "--program-suffix=403" option, as explained in text.
I suggest also the installation in /opt/gcc/<version>, this allow for quick uninstall when needed. This is done with the --prefix=/opt/gcc/<version> option in configure.

After installing the new GCC, codeblocks can be built using it with these steps

export CC=/opt/gcc/4.0.3/gcc403
export CXX=/opt/gcc/4.0.3/g++403
./configure --enable-contrib
make

(all those for the 4.0.3 version I installed)

Best Regards

Max

tr1gun:
Hi,
is there a fix for the problem that solves it without any errors?

cu

zlbruce:
In C::B rev2745, I must add this two red lines to src/plugins/compilergcc/Makefile for building

--- Quote ---INCLUDES = $(WX_CXXFLAGS) \
                -I$(top_srcdir)/src/sdk \
                -I$(top_srcdir)/src/sdk/wxscintilla/include \
                -I$(top_srcdir)/src/plugins/compilergcc/depslib/src \
                -I$(top_srcdir)/src/sdk/scripting/include \
                -I$(top_srcdir)/src/sdk/scripting/sqplus

--- End quote ---
My system is Debian Sid, and use dpkg-buildpackage to build a deb

mandrav:

--- Quote from: tr1gun on July 13, 2006, 06:26:37 pm ---Hi,
is there a fix for the problem that solves it without any errors?

cu

--- End quote ---

I 'm currently installing SuSE 10.1 to see the problem myself (and attempt to fix it).
I won't tell you much, just that I remembered why I ditched rpm-based distros long ago ;)

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version