User forums > Nightly builds

The 10 January 2007 build is out.

<< < (12/13) > >>

cbexaminr:

--- Quote from: stahta01 on January 16, 2007, 10:08:23 am ---
Note, autorevision.h is an auto created header.
Do you have SVN installed?
( svn is called by the program that creates autorevision.h)
Is the path to it in the PATH variable?
Have you re-built the C::B main project?
Since you got it to work better?
Tim S

--- End quote ---

OK, that helps - I used SVN from cygwin prompt to fetch source.  I don't have any SVN in my general paths.

Will change (somehow) and try again...

cbexaminr:
OK, finally got it built.  But, then tried to execute it in place (src\devel), and got an error box with contents:

"Mismatch between the program and library build versions detected.
The library used 2.6 (no debug,Unicode,compiler with C++ ABI 102, wx containers, compatible with 2.4),
and your program used 2.6 (no debug,Unicode,compiler with C++ ABI 1002,wx containers, compatible with 2.4)."

(The different in the two items seems to be 102 vs 1002, which took me some time so see.)

Is this because I used one version compiler to build wxwidgets, and a different version to build codeblocks?

That seems a little extreme...?  If the different version compilers are the cause, What is the difference that makes this a problem?

stahta01:
I have no idea, but I would suggest using the 3.4 compiler to compile wxWidgets, I think you used an 3.3 compiler based on some of the info you gave me earlier.

The files wx/build.h and wx/version.h are used to build that message but I can NOT find where __GXX_ABI_VERSION is set. I think that is where the 102 or 1002 is from.

The following command returns a list of values one of which is __GXX_ABI_VERSION
g++ -c nul.c -E -dM


3.4.2 returns 1002 for __GXX_ABI_VERSION
3.4.5 returns 1002 for __GXX_ABI_VERSION

Tim S
From google I found http://blog.gmane.org/gmane.comp.gnu.mingw.user/month=20030601

--- Code: ---#define __GXX_ABI_VERSION 102
#define __VERSION__ "3.2 (mingw special 20020817-1)"

--- End code ---

mandrav:

--- Quote ---Is this because I used one version compiler to build wxwidgets, and a different version to build codeblocks?

That seems a little extreme...?  If the different version compilers are the cause, What is the difference that makes this a problem?
--- End quote ---

Yes, that is exactly it. The ABI has changed between gcc 3.4.2 and 3.4.5 so you need to compile again (either your project or the library) with the same compiler.

stahta01:

--- Quote from: mandrav on January 17, 2007, 08:55:19 am ---
--- Quote ---Is this because I used one version compiler to build wxwidgets, and a different version to build codeblocks?

That seems a little extreme...?  If the different version compilers are the cause, What is the difference that makes this a problem?
--- End quote ---

Yes, that is exactly it. The ABI has changed between gcc 3.4.2 and 3.4.5 so you need to compile again (either your project or the library) with the same compiler.

--- End quote ---

Some of the version numbers he gave me at first seemed to imply that he was using 3.3.x GCC
I have never had a problem mixing 3.4.2 and 3.4.5; I have been using 3.4.5 for wxWidgets and 3.4.2 for code::blocks for several weeks with no problem.
Tim S

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version