Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

Huge sized codeblocks.dll

<< < (2/7) > >>

scarphin:
I'm trying to build the AutoVersioning plugin and no matter which file I link against, the 'autoversioning.dll' file has a size of 1.4mb while the original dll is sized only 283kb. Any ideas?

oBFusCATed:
You need to strip the dll. This is done in the update.bat script. And the whole project is build with -g.

Jenna:

--- Quote from: scarphin on September 13, 2011, 08:23:48 am ---Sry I wasn't aware of the second one. I'm talking about the one resides in the same folder with 'codeblocks.exe'.


--- End quote ---
After running update.bat (absolutely needed), you have an exe and the dll's in the devel- and the output-subfolder.
the first one has the debugging symbols included, the second one is stripped.

scarphin:

--- Quote from: jens on September 15, 2011, 12:47:58 pm ---
--- Quote from: scarphin on September 13, 2011, 08:23:48 am ---Sry I wasn't aware of the second one. I'm talking about the one resides in the same folder with 'codeblocks.exe'.


--- End quote ---
After running update.bat (absolutely needed), you have an exe and the dll's in the devel- and the output-subfolder.
the first one has the debugging symbols included, the second one is stripped.

--- End quote ---
Thnx. Sry for my ignorance, I realized that after I read the wiki page describing how to build cb on windows. The files produced after build are slightly less in size than the nightly's though, I believe that's because I'm using mingw to build and the nightlies are built with tdm-gcc.

I have one last problem. I checked out svn to version 7386 which is 15 August debuggers branch nightly revision and made a couple of changes to the autoversioning plugin then built cb and plugins. The resulting cb executable says revision 7386 and the built plugins work as expected but when I try to update the av plugin in the nightly built, it says plugin is compiled for a different version and doesn't start. Then I realized 15 August debuggers branch nightly is rev7387 (that's what it shows when starting up) although rev number is mentioned as 7386 everywhere else. Rev7387 is registered on the svn as a wxsmith update, I also tried to build rev7387 and tried to update the av plugin in the 15 August debuggers branch nightly with no luck. Why are there different revision numbers? Any help with this?

oBFusCATed:
The svn revision is just informative.
You should check the SDK version numbers (look in cbplugin.h), this is what C::B is looking for.

You can try the Morten's advice, but keep in mind that you should use the same compiler used to compile the nightly.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version