Code::Blocks

User forums => Using Code::Blocks => Topic started by: Trikko on March 05, 2006, 03:39:32 pm

Title: Does openwatcom works?
Post by: Trikko on March 05, 2006, 03:39:32 pm
Hello. I've just make a long project template that support many different compilers. It's a simple wxwidgets project that i use as template.
I sucessfully set it for:

-Digital Mars
-Vc toolkit
-mingw

And i'm trying to make it works with openwatcom.
I've compiled wxWidgets with this compiler. All goes fine. Also wx samples works if i compile them with their makefile.wat.

I can't set up correctly C::B.

Errors:

1) It won't compile resource. For example with a simple wx.rc file (containing a manifest) it tells me:

Compiling: wx.rc
Fatal Error! 60: Can't find file "wx.exe".

2) If i remove wx.rc from project it compiles and links but i can't run application from C:B. It tell me that some dll are missing (they are ow runtime). Ow runtime path is on ENV. var "PATH". Infact if i run the compiled exe from Windows Explorer it works.

3) If i run the compiled exe from Windows Explorer it works *BUT* it show windows console... it seems that linker ignore the selected kind of app "GUI APPLICATION"...

Can anyone help me?
Title: Re: Does openwatcom works?
Post by: severach on March 07, 2006, 02:16:04 am
The only compiler that works is GCC. MSVT almost works. The rest need a lot of command line changes. I show how to get OpenWatcom to .rc files here:
http://forums.codeblocks.org/index.php?topic=2515.0