Author Topic: Codeblock bug with wine  (Read 3281 times)


  • Guest
Codeblock bug with wine
« on: July 16, 2008, 09:35:52 am »
Hello, for compile my program as windows version, I have try codeblock with wine under linux, but it have lot of small bug who stop the compilation.
In the next version that's work?

Thanks for your help.

Offline jens

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: Codeblock bug with wine
« Reply #1 on: July 16, 2008, 09:56:14 am »
You can use the mingw32 cross-compiler under linux.
Have a look at this wiki-article:
I have written it for cross-compiling with wxWidgets, but the setup for the compiler should be (nearly) the same, even if you don't want to use wxWidgets.

You have to set the appropriate build options for windows of course. That means you cannot use a project created by teh wizard for the linux-version of C::B.
There is no cross-compilng project (at the moment).

Problems of C::B for windows running under wine are most likely issues due to the incomplete windows api of wine and can therefore not be fixed in codeblocks.
Wine is an emulator and it is not yet complete.

But I use it to test cross-compilations under linux and that works (more or less good).