Author Topic: compiling wxwidgets for codeblocks 12.11  (Read 4755 times)

Offline p3tr

  • Single posting newcomer
  • *
  • Posts: 6
compiling wxwidgets for codeblocks 12.11
« on: December 17, 2012, 08:43:30 pm »
Hello.

Please help me.  i know this isn't a wxwidgets forum but you all must have solved this already.

i have
wxwidgets 2.9.4 (and 2.8.12 if that would help)
codeblocks 12.11 (which uses mingw 4.7.1)
win7 x64

i have been trying to compile wxwidgets as i said.  i get the static (not monolithic) release library to compile.
when i try to compile either the shared monolithic release or static monolithic release, the mingw compile gets to a point where it says something like
---------
mingw32-make xxx: access denied
stopping
mingw-make: waiting for unfinished stuff
---------
and waits for ever (i left it up to 4 hours once).

file access would not make sense.  i have admin rights on this machine and i don't do funny things with file permissions and i am not running this on some system path.  so it is about simultanaeous write access or something.

my understanding is that one uses only the release version of wxwidgets, so i have not tried the debug versions (OK the debug monolithic has just finished compiling and it works nicely in the ide too - i can't use that though - i still need the release version)

so question is:
 - is there a dependency on the debug version by the release version or something? (i am rerunning the release version in case)
 - is there something else i should be doing?
 - is it possible to have both static and dynamic libraries available for me to use on this machine (in different projects obviously - i am asking cos i just cleaned my release version of the dynamic library, now wxw no longer has a (whatever?) to compile ANY release versions available.)

please help :)

thanks
peter

Offline p3tr

  • Single posting newcomer
  • *
  • Posts: 6
Re: compiling wxwidgets for codeblocks 12.11
« Reply #1 on: December 17, 2012, 08:58:36 pm »
OK just so you know too:

i would really like to know if i'm wrong cos i would have to do this again at some point, but it looks like
there is a dependency of the release build of wxwidgets on something in the debug version.

i don't understand it.  this thing has just completed compiling the release version now.  i have tried this for a few days now so maybe this saves someone some time?

why does it do that??

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7252
Re: compiling wxwidgets for codeblocks 12.11
« Reply #2 on: December 17, 2012, 09:03:38 pm »
There is definitely no dependency between debug and release-version of wxWidgets..

Offline p3tr

  • Single posting newcomer
  • *
  • Posts: 6
Re: compiling wxwidgets for codeblocks 12.11
« Reply #3 on: December 17, 2012, 09:27:04 pm »
thanks.

that would make sense but i still could not compile the (monolithic) release version until i compiled the debug version.
and i didn't do anything else...

thanks for clarifying that though.

why can't the wxwidgets stuff be added to the codeblocks install?  size?  you know what compiler it has...