Author Topic: Does openwatcom works?  (Read 2580 times)

Offline Trikko

  • Multiple posting newcomer
  • *
  • Posts: 82
    • e-nuts.net
Does openwatcom works?
« 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?
A. Fontana
My homepage
Do you need custom software? Do you want to work as freelancer?

Offline severach

  • Multiple posting newcomer
  • *
  • Posts: 44
Re: Does openwatcom works?
« Reply #1 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