News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

CB * svn: 4298 ) compile failed on CentOS 5.

Started by Dimitrios Chr. Ioannidis, July 23, 2007, 03:13:15 PM

Previous topic - Next topic

Dimitrios Chr. Ioannidis

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 ? )

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
--- The distance between insanity and genius is measured only by success. ---

killerbot

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

Dimitrios Chr. Ioannidis

Quote from: killerbot on July 23, 2007, 03:19:42 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,
--- The distance between insanity and genius is measured only by success. ---

MortenMacFly

Quote from: killerbot on July 23, 2007, 03:19:42 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. ;-)
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

killerbot

And now that Morton also switched, we just have to switch ;-)

MortenMacFly

Quote from: killerbot on July 23, 2007, 03:46:31 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... ;-)
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

Biplab

#6
Quote from: killerbot on July 23, 2007, 03:19:42 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. :)
Be a part of the solution, not a part of the problem.

Biplab

Be a part of the solution, not a part of the problem.