joseph
13th November 2007, 09:25
Guys,
While compiling my Qt application in WINDOWS ( in DOS Prompt ) , i am getting a fatal error like this.
chemedit.rc(10) : fatal error RC1015: cannot open include file 'afxres.h'.
NMAKE : fatal error U1077: 'rc' : return code '0x1'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio .NET 2003\
Vc7\bin\nmake.exe"' : return code '0x2'
Stop.
Step i did for compilation in Dos prompt ...
D: > cd Projects\
D: \Projects> qmake myproject . pro
D: \Projects> nmake clean
D: \Projects> nmake
But while compiling the same project in VC++ Editor . it's compiling properly.
THis problem is coming only when you are using nmake clean in DOS Prompt. Otherwise it's ok.
I know that you can suggest me to use Editor for compilation. But my clients situation is such a way tat he will compile( Dos prompt ) it again in his primises. So please tell me how to solve this.
thanks in advance
While compiling my Qt application in WINDOWS ( in DOS Prompt ) , i am getting a fatal error like this.
chemedit.rc(10) : fatal error RC1015: cannot open include file 'afxres.h'.
NMAKE : fatal error U1077: 'rc' : return code '0x1'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio .NET 2003\
Vc7\bin\nmake.exe"' : return code '0x2'
Stop.
Step i did for compilation in Dos prompt ...
D: > cd Projects\
D: \Projects> qmake myproject . pro
D: \Projects> nmake clean
D: \Projects> nmake
But while compiling the same project in VC++ Editor . it's compiling properly.
THis problem is coming only when you are using nmake clean in DOS Prompt. Otherwise it's ok.
I know that you can suggest me to use Editor for compilation. But my clients situation is such a way tat he will compile( Dos prompt ) it again in his primises. So please tell me how to solve this.
thanks in advance