codelite 6.x project cannot migrate to 64bit

Discussion about CodeLite development process and patches
buffalo
CodeLite Enthusiast
Posts: 11
Joined: Sat Jul 19, 2014 11:46 am
Genuine User: Yes
IDE Question: c++
Contact:

codelite 6.x project cannot migrate to 64bit

Post by buffalo »

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

Code: Select all

#include "wx/msw/wx.rc" 
1 24 "wx/msw/wx.manifest"
Codelite 7.x will produce a win_resources.rc like this...

Code: Select all

#include "wx/msw/wx.rc"
#ifdef WIN64
1 24 "wx/msw/amd64.manifest"
#else
1 24 "wx/msw/wx.manifest"
#endif
After I modified win_resources.rc, the problem was solved.