codelite 6.x project cannot migrate to 64bit
Posted: Tue Mar 17, 2015 4:20 pm
I have some projects created by codelite 6.x.
Recently, I installed codelite 7.1, and try to migrate the old projects to 64bit.
I used TDM-GCC 4.9.2-64 bit to re-compile my project.
However, When I try to start the application, it always shows an error message, "the application was unable to start correctly (0xc000007b)".
I try to solve the problem, and finally I know what's going on.
The problem is caused from "win_resources.rc".
Codelite 6.x will produce a win_resources.rc like this...
Codelite 7.x will produce a win_resources.rc like this...
After I modified win_resources.rc, the problem was solved.
Recently, I installed codelite 7.1, and try to migrate the old projects to 64bit.
I used TDM-GCC 4.9.2-64 bit to re-compile my project.
However, When I try to start the application, it always shows an error message, "the application was unable to start correctly (0xc000007b)".
I try to solve the problem, and finally I know what's going on.
The problem is caused from "win_resources.rc".
Codelite 6.x will produce a win_resources.rc like this...
Code: Select all
#include "wx/msw/wx.rc"
1 24 "wx/msw/wx.manifest"
Code: Select all
#include "wx/msw/wx.rc"
#ifdef WIN64
1 24 "wx/msw/amd64.manifest"
#else
1 24 "wx/msw/wx.manifest"
#endif