[SOLVED] Resource files must have the same version number

CodeLite installation/troubleshooting forum
nezos
CodeLite Veteran
Posts: 59
Joined: Wed Dec 31, 2014 6:36 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Resource files must have the same version number

Post by nezos »

No problem with the new project

The backtrace shows:

0 0x00007ffdabf12cf1 ntdll!DbgBreakPoint
1 0x00007ffdabf40034 ntdll!DbgUiRemoteBreakin
2 0x00007ffdab9b13d2 KERNEL32!BaseThreadInitThunk
3 0x00007ffdabe95444 ntdll!RtlUserThreadStart
4 0x0000000000000000 ??
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Resource files must have the same version number

Post by eranif »

Sorry, for the late reply, I just broke my shoulder :( while riding my bicycle...
Anyways, this backtrace is not useful, as I am guessing you don't have CodeLite in debug version.

BTW, try adding NDEBUG=1 to your project settings re-compile your workspace and it will disable the wxWidgets assertions

Eran
Make sure you have read the HOW TO POST thread
nezos
CodeLite Veteran
Posts: 59
Joined: Wed Dec 31, 2014 6:36 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Resource files must have the same version number

Post by nezos »

I hope you get well fast, this shouldn't have happened, who is gonna code now:P

I guess this is a workaround, maby it will mysteriously go away like it appeared...
nezos
CodeLite Veteran
Posts: 59
Joined: Wed Dec 31, 2014 6:36 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Resource files must have the same version number

Post by nezos »

SOLUTION Open each wxcp file you have in your project and click to generate code. Rebuild all and the message will disappear.
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: [SOLVED] Resource files must have the same version numbe

Post by eranif »

Thanks for this.
I added new option to wxCrafter (both standalone and plugin) which allows to re-generate the code for multiple files.
When in Plugin mode, right click a project -> wxCrafter -> Regenerate ...

In standalone: click on the toolbar icon and select the files you want to regenerate

Eran
Make sure you have read the HOW TO POST thread
Post Reply