Code::Blocks Forums

User forums => Help => Topic started by: Dimitrios Chr. Ioannidis on July 23, 2007, 03:13:15 pm

Title: CB * svn: 4298 ) compile failed on CentOS 5.
Post by: Dimitrios Chr. Ioannidis on July 23, 2007, 03:13:15 pm
Hi all,

  OS: CentOS 5
  gcc: g++ (GCC) 4.1.1 20070105 (Red Hat 4.1.1-52)
  wxWidgets : 2.6.4 ( is the support for 2.6.4 stopped ? )

Code
make[4]: Leaving directory `/home/dimitris/Codeblocks/trunk/src/plugins/compilergcc/resources'
make[4]: Entering directory `/home/dimitris/Codeblocks/trunk/src/plugins/compilergcc'
if /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../../src/include -I/opt/wx264/lib/wx/include/gtk2-unicode-release-2.6 -I/opt/wx264/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DNO_GCC_PRAGMA   -I../../../src/include -I../../../src/include/wxscintilla/include -I../../../src/include/scripting/include -I../../../src/include/scripting/sqplus -I../../../src/plugins/compilergcc/depslib/src  -Ulinux -Uunix -DDEPSLIB_UNIX -O2 -ffast-math -g -O2 -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -MT compilergcc.lo -MD -MP -MF ".deps/compilergcc.Tpo" -c -o compilergcc.lo compilergcc.cpp; \
        then mv -f ".deps/compilergcc.Tpo" ".deps/compilergcc.Plo"; else rm -f ".deps/compilergcc.Tpo"; exit 1; fi
 g++ -DHAVE_CONFIG_H -I. -I. -I../../../src/include -I/opt/wx264/lib/wx/include/gtk2-unicode-release-2.6 -I/opt/wx264/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DNO_GCC_PRAGMA -I../../../src/include -I../../../src/include/wxscintilla/include -I../../../src/include/scripting/include -I../../../src/include/scripting/sqplus -I../../../src/plugins/compilergcc/depslib/src -Ulinux -Uunix -DDEPSLIB_UNIX -O2 -ffast-math -g -O2 -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -MT compilergcc.lo -MD -MP -MF .deps/compilergcc.Tpo -c compilergcc.cpp  -fPIC -DPIC -o .libs/compilergcc.o
compilergcc.cpp: In member function 'void CompilerGCC::SetEnvironmentForCompiler(const wxString&, wxString&)':
compilergcc.cpp:804: error: 'class wxPathList' has no member named 'Index'
compilergcc.cpp:814: error: 'class wxPathList' has no member named 'Index'
compilergcc.cpp:819: error: 'class wxPathList' has no member named 'Index'
make[4]: *** [compilergcc.lo] Error 1
make[4]: Leaving directory `/home/dimitris/Codeblocks/trunk/src/plugins/compilergcc'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/dimitris/Codeblocks/trunk/src/plugins/compilergcc'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/dimitris/Codeblocks/trunk/src/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/dimitris/Codeblocks/trunk/src'
make: *** [all-recursive] Error 1
Title: Re: CB * svn: 4298 ) compile failed on CentOS 5.
Post by: killerbot on July 23, 2007, 03:19:42 pm
the error is due to wx264.
Other similar calls like the one breaking your build have been protected to ony be used whenbuilding with wx28x, but todays adjustments didn't take that into account.
@Biplab : can you adjust so it's also wx28x only used like the other uses in that file ?

However, we are getting very close to dumping wx26x though !
Near future !

If you can try to upgrade your system to wx284.

Cheers,
Lieven
Title: Re: CB * svn: 4298 ) compile failed on CentOS 5.
Post by: Dimitrios Chr. Ioannidis on July 23, 2007, 03:27:22 pm
However, we are getting very close to dumping wx26x though !
Near future !

If you can try to upgrade your system to wx284.

No problem and thx for the verification reg. wx 2.6.4 support ....

regards,
Title: Re: CB * svn: 4298 ) compile failed on CentOS 5.
Post by: MortenMacFly on July 23, 2007, 03:40:16 pm
However, we are getting very close to dumping wx26x though !
Near future !
That's one of the reason I have dropped wx26 today, too. ;-)
Title: Re: CB * svn: 4298 ) compile failed on CentOS 5.
Post by: killerbot on July 23, 2007, 03:46:31 pm
And now that Morton also switched, we just have to switch ;-)
Title: Re: CB * svn: 4298 ) compile failed on CentOS 5.
Post by: MortenMacFly on July 23, 2007, 03:52:48 pm
And now that Morton also switched, we just have to switch ;-)
BTW: This would mean a big clean-up party. Just have a look at all those wxVersion and (int)GetCount() casts around... Hehe... ;-)
Title: Re: CB * svn: 4298 ) compile failed on CentOS 5.
Post by: Biplab on July 23, 2007, 04:03:33 pm
@Biplab : can you adjust so it's also wx28x only used like the other uses in that file ?

I forgot to wrap that.  :roll:

Give me some time. I'll wrap it. :)

@ALL,

Please note that the improvement made in that revision will not be available with wx2.6. There is no straight-forward way to fix that problem with wx-2.6. So if you are using wx-2.6, then you have to live with this little bug. :)
Title: Re: CB * svn: 4298 ) compile failed on CentOS 5.
Post by: Biplab on July 23, 2007, 04:35:00 pm
Fixed in rev 4299. :)