News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Compile old svn ?

Started by LETARTARE, August 26, 2013, 01:58:35 PM

Previous topic - Next topic

LETARTARE

I get r5382 to test a former plugin.
To compile I have to fill the global variable 'wx' and put the good compiler 'gcc'.
How to find the right values ?
link:
http://forums.next.codeblocks.org/index.php/topic,3299.msg26011.html#msg26011
but it is insufficient.

Perhaps automatically remind, in remark, these elements in the project .cbp to adapt later ?

I do regularly on my projects and the 'Nightly Builds' in 'Properties-> Notes'.

Thank you for your help.
CB-13834, plugins-sdk-2.25.0 : Collector-2.6.5, AddOnForQt-5.1.2
1- Win7 Business Pack1 64bits : wx-3.2.8, gcc-15.2.0,
2- OpenSuse::Leap-15.6-64bits : wx-3.2.8;gtk3-u, gcc-15.2.0,
=> !! The messages are translated by 'Deepl'

eranon

Checking-out the r5382 and searching in all the .cpp and .h files for the "wxWidgets 2." string, I find several comments about wxWidgets, including this one in "configmanager-revision.cpp" :

wxString ConfigManager::GetRevisionString()
{
// Code::Blocks needs wxWidgets 2.8
CompileTimeAssertion<wxMinimumVersion<2,8>::eval>::Assert();

    return autorevision::svnRevision;
}
[Independent dev. - wxWidgets 3.0.0 under "Win 7 Pro 64-bit, C::B SVN 9435 & wxSmith, TDM64-GCC 4.7 & MSVC9" + "OS X 10.8, FSF GCC 4.7 & C::B SVN 8909"]

LETARTARE

@erabon
thanks for indications.
I had already done this kind of research, but the indications are very different since we found 2.4.x to 2.9.x
As the compiler ??

I wanted to point content was no indication in the project file (cbp) and it would be good to find a lasting solution.

Merci encore.
CB-13834, plugins-sdk-2.25.0 : Collector-2.6.5, AddOnForQt-5.1.2
1- Win7 Business Pack1 64bits : wx-3.2.8, gcc-15.2.0,
2- OpenSuse::Leap-15.6-64bits : wx-3.2.8;gtk3-u, gcc-15.2.0,
=> !! The messages are translated by 'Deepl'

eranon

#3
The compiler is indicated in the cbp project file :

<Option compiler="gcc" />

and in this same cbp file, you can read too :

<Add library="wxmsw28$(WX_SUFFIX)" />
[Independent dev. - wxWidgets 3.0.0 under "Win 7 Pro 64-bit, C::B SVN 9435 & wxSmith, TDM64-GCC 4.7 & MSVC9" + "OS X 10.8, FSF GCC 4.7 & C::B SVN 8909"]

LETARTARE

yes,
- 'gcc' is very imprecise,  what version ?
- "wxmsw28$(WX_SUFFIX)"  to 2.8.0 to 2.8.12 ? unicode probably.
I want to indicate that a search request and successive tests, but after two failed compilation!!!
This could be avoided.

CB-13834, plugins-sdk-2.25.0 : Collector-2.6.5, AddOnForQt-5.1.2
1- Win7 Business Pack1 64bits : wx-3.2.8, gcc-15.2.0,
2- OpenSuse::Leap-15.6-64bits : wx-3.2.8;gtk3-u, gcc-15.2.0,
=> !! The messages are translated by 'Deepl'

stahta01

#5
To get the wxWidgets version download the nightly that matches that svn version.

Do CB About, it will give you the wxWidgets version.

To determine, the mingw GCC version is very hard.

Verify the mingw.dll matches exactly and you might be correct.

Edit: Suggest reading the link http://wiki.codeblocks.org/index.php?title=Linking_the_plugin_to_a_Nightly_Build

Tim S.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

Jenna

You should get the gcc version on the StartHere-page.
At least the Major.Minor.Patch revision-number.
As far as I know it's always (sine a long time) TDM's gcc-version, but I do not know, whether it's dw2 or sjlj on windows.
Below the logo I have:
Quotesvn build rev 9266 (2013-08-17 14:07:34) gcc 4.8.1 Linux/unicode - 64 bit
on my laptop (Fedora 19 64-bit) when starting the actual build from my repo.

LETARTARE

Thank you for your answers.

@stahta01
well, for 'wxWidgets it seems that 'wxWidgets-2.8.x' unicode, I will try 2.8.10 and 2.8.11 I still have disk...
'Mingw.dll' is not supplied with the svn source !

@jens
QuoteYou should get the gcc version on the StartHere-page.
I only have sources and reading 'startherepage.cpp' I find nothing.

Reading the svn log:
Quote5283 -> 23 october 2008 by byo
and by
http://forums.next.codeblocks.org/index.php/topic,3299.msg26011.html#msg26011
->  'wxWidgets 2.8.9 (18 October 2008)' and 'MinGW-GCC 4.2.1'

To avoid these uncertain research do not we find a solution that would give this information?

I can not build with  'wxWidgets-2.8.11' and 'TDM-4.5.2' (at my disposal) !!

Thank you again

CB-13834, plugins-sdk-2.25.0 : Collector-2.6.5, AddOnForQt-5.1.2
1- Win7 Business Pack1 64bits : wx-3.2.8, gcc-15.2.0,
2- OpenSuse::Leap-15.6-64bits : wx-3.2.8;gtk3-u, gcc-15.2.0,
=> !! The messages are translated by 'Deepl'