www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/03/15/08:31:31

From: gautam AT interlog DOT com (Gautam N. Lad / Vimal N. Lad)
Newsgroups: comp.os.msdos.djgpp
Subject: Compiling resources with Mingw32
Date: Sun, 15 Mar 98 06:35:00 GMT
Organization: InterLog Internet Services
Lines: 34
Message-ID: <6efsdh$dmp$1@news.interlog.com>
NNTP-Posting-Host: ip220-9.cc.interlog.com
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hi,
I have setup the Mingw32 (C and C++) stuff successfully.  
I tried to compile some programs which use resouces, but
I've been unsuccessful with WINDRES and RCL.
These same programs compile fine under LCC-Win32.

With windres.exe when I use this command line:
	windres -i status.rc -o status.res -I rc -O res --preprocessor c++

I get this error:
	status.rc: file not recognized: File format not recognized
	E:\MING\BIN\WINDRES.EXE: no resources

With rcl.exe when I use this command line:
	rcl -i status.rc -r status.res -cpp c++

I get this error:
	c++: rescpp.res: No such file or directory
	Error executing command 'c++ status.rc rescpp.res', code = 0

How do I use resources with my programs?  I want to make .o files and
link them with my program ( I don't want to use res2coff 'cause I read
windres has replaced it sorta).

Bye!

-----------------------------------------------------------------------------
Gautam N. Lad
-----------------------------------------------------------------------------
E-Mail:   gautam AT interlog DOT com
Website:	http://www.interlog.com/~gautam

POV-Ray Software and Links, 3D Graphics Gallery,
-----------------------------------------------------------------------------

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019