delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/04/12/12:00:22

From: michael DOT mauch AT gmx DOT de (Michael Mauch)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: More RHIDE trouble...
Date: Sun, 12 Apr 1998 17:55:35 +0200
Organization: Gerhard-Mercator-Universitaet -GH- Duisburg
Lines: 23
Message-ID: <6gqo5g$n0b$1@news-hrz.uni-duisburg.de>
References: <352fb0d3 DOT 5318573 AT news DOT eznet DOT net>
NNTP-Posting-Host: ppp109.uni-duisburg.de
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

On Sat, 11 Apr 1998 18:26:13 GMT, ptwitche AT eznet DOT net (Ryan Twitchell)
wrote:

> 	Thanx to everyone who helped me with my last problem. But now
> I've got more problems. When ever I try to compile something now, I
> get the message : 
> 	"Bad command or file name" (like in DOS)
> but the program still compiles. Also, if I try to include my own
> header file in a project (in the project window, a source file, or
> both), the compiler gives me an error saying: "Multiple definition of
> main"

You should not include the header file in the project window, only in
the .c file. If you still get a "Multiple definition of main": did you
perhaps define the main function in the header file? 

> 	I hope an IDE is worth all this trouble cuz I've got an
> enormous headache!

Hmm, did you try compiling and linking without the IDE and did it work?

Regards...
		Michael

- Raw text -


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