Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: Pecan on January 02, 2006, 04:20:37 am

Title: How do you link/run HEAD with wx262ud
Post by: Pecan on January 02, 2006, 04:20:37 am
I keep getting the following message when attempting use of
wx262 unicode debug version. What do I specify in build options
to fix this
(http://forums.codeblocks.org/index.php?action=dlattach;topic=1818.0;attach=436)
Thanks
pecan


[attachment deleted by admin]
Title: Re: How do you link/run HEAD with wx262ud
Post by: Pecan on January 02, 2006, 05:20:18 am
Ok, finally figured it out.
Answer: __WXDEBUG__

Man! Where do these things come from?

pecan
Title: Re: How do you link/run HEAD with wx262ud
Post by: selles on January 03, 2006, 05:54:02 am
Hi!

I have been compiling wxWidgets 2. 6. 2 and I obtained a similar error where the difference between the program and the library is in another attribute. .

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

 I re-did all compilation of the wxWidgets but it didn't advance, observe that in my error there is a
difference among c++ ABI 1002 and c++ ABI 102..sorry, a think unnecessary to do other thread for the same problem,  I hope has a solution for that but don't know how resolve it..

can this also be due a build option?

Thanks,

Selles
Title: Re: How do you link/run HEAD with wx262ud
Post by: 280Z28 on January 03, 2006, 05:58:23 am
There are a number of code issues that will prevent you from running it linked with wxmsw26ud. After you get a ton of various warnings, it will crash in the code completion plugin a little bit after you open a project file.
Title: Re: How do you link/run HEAD with wx262ud
Post by: Pecan on January 03, 2006, 07:24:08 am
Googling your message resulted in a discussion in which the
compiled program and the library were compiled with two different
versions of the gcc compiler.
Using the same compiler for both lib and pgm solved the problem.

http://archives.postgresql.org/pgadmin-hackers/2005-11/msg00146.php (http://archives.postgresql.org/pgadmin-hackers/2005-11/msg00146.php)

pecan
Title: Re: How do you link/run HEAD with wx262ud
Post by: selles on January 04, 2006, 06:48:14 am
I have downloaded C: : B beta 1, build in may 15 2006, however it didn't come with the mingw32-make, so, I downloaded also a mingw32-make version 3. 80, I placed with make.exe in codeBlocks\bin(together, not substituting) and I compiled wxWidgets with this mingw32-make.. did I make something wrong?

Thanks,
Title: Re: How do you link/run HEAD with wx262ud
Post by: grv575 on January 04, 2006, 07:04:06 am
you must use the same compiler to compile wx widgets as you use to compile your wx widgets application.
Title: Re: How do you link/run HEAD with wx262ud
Post by: rickg22 on January 04, 2006, 05:29:42 pm
I have downloaded C: : B beta 1, build in may 15 2006

You have a TIME MACHINE!? :lol:
Title: Re: How do you link/run HEAD with wx262ud
Post by: selles on January 05, 2006, 03:05:56 am
oooops! I think was half thrilled with the new year. . . :lol: ..thanks.

Thanks for helps..
Title: Re: How do you link/run HEAD with wx262ud
Post by: selles on January 07, 2006, 06:01:54 am
sorry, a doubt..

wheter I must replace make from codeblocks/bin for the mingw32-make and to compile wx ..or I is possible to maintain the two?