www.digitalmars.com         C & C++   DMDScript  

c++ - error in compiling,...

reply kuldip <kuldip_member pathlink.com> writes:
Hi 

I just installed DM on my pc in order to use the Outportb and inport to make a
driver for the serial port. I wanted to just compile and execute the "hello.c"
program. When I try to compile that I am getting the error as "Fatal error:
error writing output file 'hello.obj'". ---- errorlevel 1

Could you help me?

thanks
kuldip


the code for hello.c is:

#include <stdio.h>

int main()
{
printf("hello");
return 0;
}

kuldip
Dec 14 2005
parent Scott Michel <scottm aero.org> writes:
kuldip wrote:
 Hi 
 
 I just installed DM on my pc in order to use the Outportb and inport to make a
 driver for the serial port. I wanted to just compile and execute the "hello.c"
 program. When I try to compile that I am getting the error as "Fatal error:
 error writing output file 'hello.obj'". ---- errorlevel 1
This usually indicates that you can't write to the directory in which you're storing the .obj file.
Dec 14 2005