News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

Does openwatcom works?

Started by Trikko, March 05, 2006, 03:39:32 PM

Previous topic - Next topic

Trikko

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?

severach

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.next.codeblocks.org/index.php?topic=2515.0