I am following a tutorial WIN32API, and int his moment i am in the part of resources and i want add one icon and a menu, i understand all, (i compile in other compiler) and it works, but in dev-c the problems are:
28 D:\Documents and Settings\..\Dev-C\Win32\Uno\Makefile.win
[Build Error] [Warning] overriding commands for target `"Windows'
22 D:\Documents and Settings\.....\Dev-C\Win32\Uno\Makefile.win
[Build Error] [Warning] ignoring old commands for target `"Windows'
make.exe D:\Documents and Settings\.....\Dev-C\Win32\Uno\make.exe
Circular "Windows <- "Windows dependency dropped.
and this is the problem, do you know what is it.. and you can tell me how i can compile a project with rc files?????
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have a similar problem. It seems that the resource compiler has a problem with long filenames. Just save your entire project in a new folder eg: c:\short\... blah blah, with all short (old dos style) filenames.
This might solve the problem.
The other cause for this problem might be a limitation of the os, namely that the arguments passed to the program exceed the limitation of length. IE the entire command is longer that 64 (i think) chars.
That might also explain the reason why changing to "short" filenames fixes the problem, because this obviously also decreases the length of the arguments passed to the resource compiler.
All of the above mentioned is speculation, but the workarounds mentioned worked for me.
Hi!!!!, i cant do that, i need know the steps..
I am following a tutorial WIN32API, and int his moment i am in the part of resources and i want add one icon and a menu, i understand all, (i compile in other compiler) and it works, but in dev-c the problems are:
28 D:\Documents and Settings\..\Dev-C\Win32\Uno\Makefile.win
[Build Error] [Warning] overriding commands for target `"Windows'
22 D:\Documents and Settings\.....\Dev-C\Win32\Uno\Makefile.win
[Build Error] [Warning] ignoring old commands for target `"Windows'
make.exe D:\Documents and Settings\.....\Dev-C\Win32\Uno\make.exe
Circular "Windows <- "Windows dependency dropped.
and this is the problem, do you know what is it.. and you can tell me how i can compile a project with rc files?????
I have a similar problem. It seems that the resource compiler has a problem with long filenames. Just save your entire project in a new folder eg: c:\short\... blah blah, with all short (old dos style) filenames.
This might solve the problem.
The other cause for this problem might be a limitation of the os, namely that the arguments passed to the program exceed the limitation of length. IE the entire command is longer that 64 (i think) chars.
That might also explain the reason why changing to "short" filenames fixes the problem, because this obviously also decreases the length of the arguments passed to the resource compiler.
All of the above mentioned is speculation, but the workarounds mentioned worked for me.
Hope this helps.
Ps. For more information check out this url:
http://support.microsoft.com/default.aspx?scid=kb;\[LN];241712
(Microsoft KB, article nr. Q24172) This refers only to 16bit programs however, but it might apply to 32bit programs, I have no idea.