|
From: M.Ebrahimi <m.e...@ie...> - 2010-05-11 17:57:47
|
On 11 May 2010 18:12, Hedayat Vatankhah <hed...@ai...> wrote:
> Hi,
>
> On ۱۰/۰۵/۱۱ 09:41, Yuan Xu wrote:
>
> On 05/11/2010 07:01 PM, Hedayat Vatankhah wrote:
>
> I can't still reproduce the bug (Fedora 12 x86_64). Maybe there is something
> wrong with the latest versions of cmake or wx! Would you please send the
> output of this command in your system:
>
> wx-config --cflags
>
> Hi,
>
> The output is :
>
> -I/usr/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8
> -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread
>
> It seems fine! And your cmake version? Mine is 2.6.4
>
> PS: My system is 32 bits...
>
> Linux xu-laptop 2.6.32-22-generic #33-Ubuntu SMP Wed Apr 28 13:27:30 UTC
> 2010 i686 GNU/Linux
>
> --
> Best Regards,
> Xu, Yuan
>
> ------------------------------------------------------------------------------
Apparently this is not a rare problem, the other day I found
(/googled) a workaround for this. In
spark/plugin/inputwx/CMakeLists.txt
and
spark/plugin/openglsyswx/CMakeLists.txt
replace
add_definitions(${wxWidgets_DEFINITIONS})
with
add_definitions("-D${wxWidgets_DEFINITIONS}")
I'm not a cmake/wxWidgets expert, so don't ask why :-) and perhaps
sooner or later there will be a real fix for this problem.
HTH,
Hesham
|