Ok, I have project file in DevC++. The project's icon
is set to .\win32\icon.ico. When I do a clean compile
of it (meaning I open the project for the first time)
devcpp creates *_private files and the icon is linked
into the executable just fine. But if I reopen the
project after that, devcpp stops linking the icon into
the .exe until I manually remove all _private files.
Here's how the Makefile.win looks in these two cases:
No _private files when opening:
CPP = g++.exe
CC = gcc.exe
WINDRES = windres.exe
RES = qfusion_private.res
...
Opening with _private files in the dir:
CPP = g++.exe
CC = gcc.exe
WINDRES = windres.exe
RES =
...
Logged In: YES
user_id=682737
Does that generate a "no resources" error?
Something like that happened to me too, it would be nice to
fix it.
Adrian
Logged In: YES
user_id=25510
I could not reproduce it. Did you modify manually the file
yourproject_private.rc to change the filename ?
Colin
Logged In: YES
user_id=682737
I managed to reproduce the "no resources" error with one of
my existing projects (still not sure how to create a project
to reproduce it)
The first time I open the project in Dev-C++ and compile it,
I get a "no resources" error in the Resources tab.
The second time, it compiles fine.
I put some relevant information at
http://aditsu.freeunixhost.com/info.zip (can't attach here),
please take a look. Sorry I can't include the source code,
but I think it doesn't matter what code you put in.
Apparently, the first time the private.rc is included in
compilation but it has no resources in it. The second time
it is not included.
IMPORTANT!
Interestingly enough, the bug doesn't appear if I
doubleclick the dev file, but it appears when I open it from
"recent projects" or simply with file - open from Dev-C++.