no errors compiling, but missing or bad file message.

Posted by Trom on Mon 28 Oct 2002 01:36 PM — 5 posts, 19,767 views.

#0
When compiling, it makes all the .o files, at the end when it does that really long line (gcc.exe src/act_comm.o src/ban.o stuff like that) it says directly after that old DOS message bad or missing file.

I checked out the src directory for the .o files, they are all there. The file being compiled is c:\rom and so src should be a valid directory inside it.

Not sure what is wrong, i'll try and get the error message if needed, but its on another computer (using dev c++ and has the option to use cygwin compilation style).
#1
the file is therom.dev, its in the directory c:\rom
Australia Forum Administrator #2
Not sure what therom.dev is, never heard of it. Try taking it out of your project.
#3
therom.dev is my project file. (for dev-cpp), it contains the information that all the c files are added, and there is no main.c/.cpp
Australia Forum Administrator #4
You don't need a main.c, the main function is in comm.c.

Can you post the exact error message? If necessary, copy it to a file, put it on a disk, or ftp it across to your other PC.

It is hard to debug approximate error messages.