Menu

#388 Missing project's icon

open
nobody
None
5
2012-09-26
2004-08-11
Anonymous
No

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:

Project: qfusion

Makefile created by Dev-C++ 4.9.9.0

CPP = g++.exe
CC = gcc.exe
WINDRES = windres.exe
RES = qfusion_private.res
...

Opening with _private files in the dir:

Project: qfusion

Makefile created by Dev-C++ 4.9.9.0

CPP = g++.exe
CC = gcc.exe
WINDRES = windres.exe
RES =
...

Discussion

  • aditsu

    aditsu - 2004-11-12

    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

     
  • Colin Laplace

    Colin Laplace - 2004-11-17

    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

     
  • aditsu

    aditsu - 2004-11-18

    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++.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.