User forums > General (but related to Code::Blocks)
"codesnippets" error when built rpm package -- svn 7028 [ SOLVED ]
wangdong1226:
--- Quote from: jens on February 27, 2011, 04:00:53 pm ---It's not a problem with 64-bit in general.
It's a problem with 64-bit libraries, that use deprecated functions (that are removed in wx2.9 by the way), because WXWIN_COMPATIBILITY_2_4 is defined.
--- End quote ---
Dear Jens,
I have to remove WXWIN_COMPATIBILITY_2_4 from my system also? how to do it?
waiting for kindly feedback.
Best regards.
David.
stahta01:
--- Quote from: stahta01 on February 27, 2011, 01:11:24 am ---
Try building wxWidgets without using "--enable-compat24"; this assumes I guessed the correct cause of the problem.
Tim S.
--- End quote ---
Do the above to NOT enable WXWIN_COMPATIBILITY_2_4 during wxWidgets build.
Note: If you download a per built wxWidgets; please report the fact that WXWIN_COMPATIBILITY_2_4 and 64 bit build is NOT supported together to your source of pre-built library.
Tim S.
wangdong1226:
--- Quote from: stahta01 on February 28, 2011, 03:23:45 pm ---
--- Quote from: stahta01 on February 27, 2011, 01:11:24 am ---
Try building wxWidgets without using "--enable-compat24"; this assumes I guessed the correct cause of the problem.
Tim S.
--- End quote ---
Do the above to NOT enable WXWIN_COMPATIBILITY_2_4 during wxWidgets build.
Note: If you download a per built wxWidgets; please report the fact that WXWIN_COMPATIBILITY_2_4 and 64 bit build is NOT supported together to your source of pre-built library.
Tim S.
--- End quote ---
Thank you very much Tim S.
According to your guide, I rebuilt the wxWidgets and then rebuilt the CB based on new built wxWidgets, successfully passed! :)
Detail as follows:
1). install wxGTK src package;
2). in the SPECS subfolder of the rpmbuild folder, edit the wxGTK.spec file; Remove the "--enable-compat24 \" parameter of the "%configure" command;
3). then run rpmbuild command to build the wxGTK and wxBase and other files automaticlly;
4). install new built wxGTK & wxBase & wxGTK-devel & other built files (without install 'debuginfo rpm');
5). rebuilt the CodeBlocks svn 7031; sucessfully passed!
Navigation
[0] Message Index
[*] Previous page
Go to full version