From: Ubbo V. <vi...@cs...> - 2010-04-30 16:41:11
|
Dear colleagues, I am trying to install simspark on a new MacBook Pro under 64Bit to see how it behaves. I installed every necessary libs/tools etc. natively under 64bits. Almost no trouble with that. However, for the past few days I get haunted by an error that I cannot resolve and that according to the web forums has to do with the 64Bit architecture. The _FILE_OFFSET_BITS 64 is defined (in the file down below and also set everywhere else). Did somebody try this before and can help (or not tried before and can help)? I always get the same error (at different places but all related to wx*) no matter what I change. I installed the latest wxWidgets (trunk from yesterday) successfully. Thanks in advance, Ubbo ********************** [ 87%] Built target rosimporter [ 88%] Built target rubysceneimporter [ 90%] Built target sparkmonitor [ 94%] Built target sparkagent [ 95%] Built target sceneeffector [ 95%] Building CXX object plugin/inputwx/CMakeFiles/inputwx.dir/inputsystemwx.cpp.o i686-apple-darwin10-g++-4.2.1: _FILE_OFFSET_BITS=64: No such file or directory i686-apple-darwin10-g++-4.2.1: _LARGE_FILES: No such file or directory i686-apple-darwin10-g++-4.2.1: __WXDEBUG__: No such file or directory i686-apple-darwin10-g++-4.2.1: __WXMAC__: No such file or directory make[2]: *** [plugin/inputwx/CMakeFiles/inputwx.dir/inputsystemwx.cpp.o] Error 1 make[1]: *** [plugin/inputwx/CMakeFiles/inputwx.dir/all] Error 2 make: *** [all] Error 2 |
From: Hedayat V. <hed...@ai...> - 2010-05-01 10:13:06
|
Hi, /*Ubbo Visser <vi...@cs...>*/ wrote on 04/30/2010 8:54:35 PM +0450: > Dear colleagues, > > I am trying to install simspark on a new MacBook Pro under 64Bit to see how it behaves. I installed every necessary libs/tools etc. natively under 64bits. Almost no trouble with that. > > However, for the past few days I get haunted by an error that I cannot resolve and that according to the web forums has to do with the 64Bit architecture. The _FILE_OFFSET_BITS 64 is defined (in the file down below and also set everywhere else). > > Did somebody try this before and can help (or not tried before and can help)? I always get the same error (at different places but all related to wx*) no matter what I change. I installed the latest wxWidgets (trunk from yesterday) successfully. > First, you can simply uninstall wxWidgets and try to build simspark/rcssserver3d without that. Currently, only rsgedit uses wxWidgets related plugins, so (if you don't need rsgedit right now) you can successfully (hopefully!) build rcssserver3d and simspark without having wxWidgets. Anyway, would you please send me the following files which might help us finding the issue: plugin/inputwx/CMakeFiles/inputwx.dir/flags.make plugin/inputwx/CMakeFiles/inputwx.dir/DependInfo.cmake Good luck, Hedayat > Thanks in advance, > Ubbo > > ********************** > > [ 87%] Built target rosimporter > [ 88%] Built target rubysceneimporter > [ 90%] Built target sparkmonitor > [ 94%] Built target sparkagent > [ 95%] Built target sceneeffector > [ 95%] Building CXX object plugin/inputwx/CMakeFiles/inputwx.dir/inputsystemwx.cpp.o > i686-apple-darwin10-g++-4.2.1: _FILE_OFFSET_BITS=64: No such file or directory > i686-apple-darwin10-g++-4.2.1: _LARGE_FILES: No such file or directory > i686-apple-darwin10-g++-4.2.1: __WXDEBUG__: No such file or directory > i686-apple-darwin10-g++-4.2.1: __WXMAC__: No such file or directory > make[2]: *** [plugin/inputwx/CMakeFiles/inputwx.dir/inputsystemwx.cpp.o] Error 1 > make[1]: *** [plugin/inputwx/CMakeFiles/inputwx.dir/all] Error 2 > make: *** [all] Error 2 > > > ------------------------------------------------------------------------------ > _______________________________________________ > Simspark Generic Physical MAS Simulator > simspark-devel mailing list > sim...@li... > https://lists.sourceforge.net/lists/listinfo/simspark-devel > |
From: Yuan Xu <xu...@in...> - 2010-05-11 16:35:31
Attachments:
DependInfo.cmake
|
# CMAKE generated file: DO NOT EDIT! # Generated by "Unix Makefiles" Generator, CMake Version 2.8 # compile CXX with /usr/bin/c++ CXX_FLAGS = -O3 -DNDEBUG -fPIC -I/home/xu/projects/rcss3d/git/simspark/trunk/spark/build -I/usr/local/include -I/home/xu/projects/rcss3d/git/simspark/trunk/spark/lib -I/home/xu/projects/rcss3d/git/simspark/trunk/spark/utility -I/usr/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 _FILE_OFFSET_BITS=64 _LARGE_FILES __WXGTK__ CXX_DEFINES = -Dinputwx_EXPORTS -DHAVE_CONFIG_H -DdSINGLE # TARGET_FLAGS = -pthread |
From: Hedayat V. <hed...@ai...> - 2010-05-11 17:02:33
|
Hi, 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 Thanks On ۱۰/۰۵/۱۱ 09:05, Yuan Xu wrote: > Hi, > > I got exactly the same error while compiling SVN head in Ubuntu 10.04: > > Scanning dependencies of target inputwx > [ 37%] Building CXX object > plugin/inputwx/CMakeFiles/inputwx.dir/export.cpp.o > c++: _FILE_OFFSET_BITS=64: No such file or directory > c++: _LARGE_FILES: No such file or directory > c++: __WXGTK__: No such file or directory > [ 37%] Building CXX object > plugin/sparkagent/CMakeFiles/sparkagent.dir/hingeperceptor.cpp.o > make[2]: *** [plugin/inputwx/CMakeFiles/inputwx.dir/export.cpp.o] > Error 1 > make[1]: *** [plugin/inputwx/CMakeFiles/inputwx.dir/all] Error 2 > > > The flags.make and DependInfo.cmake are attached. > Hope we can solve it, thanks! > -- > Best Regards, > Xu, Yuan > > On 05/01/2010 12:11 PM, Hedayat Vatankhah wrote: >> Hi, >> >> /*Ubbo Visser <vi...@cs...>*/ wrote on 04/30/2010 8:54:35 PM >> +0450: >>> Dear colleagues, >>> >>> I am trying to install simspark on a new MacBook Pro under 64Bit to see how it behaves. I installed every necessary libs/tools etc. natively under 64bits. Almost no trouble with that. >>> >>> However, for the past few days I get haunted by an error that I cannot resolve and that according to the web forums has to do with the 64Bit architecture. The _FILE_OFFSET_BITS 64 is defined (in the file down below and also set everywhere else). >>> >>> Did somebody try this before and can help (or not tried before and can help)? I always get the same error (at different places but all related to wx*) no matter what I change. I installed the latest wxWidgets (trunk from yesterday) successfully. >>> >> First, you can simply uninstall wxWidgets and try to build >> simspark/rcssserver3d without that. Currently, only rsgedit uses >> wxWidgets related plugins, so (if you don't need rsgedit right now) >> you can successfully (hopefully!) build rcssserver3d and simspark >> without having wxWidgets. >> >> Anyway, would you please send me the following files which might help >> us finding the issue: >> plugin/inputwx/CMakeFiles/inputwx.dir/flags.make >> plugin/inputwx/CMakeFiles/inputwx.dir/DependInfo.cmake >> >> Good luck, >> Hedayat >> >>> Thanks in advance, >>> Ubbo >>> >>> ********************** >>> >>> [ 87%] Built target rosimporter >>> [ 88%] Built target rubysceneimporter >>> [ 90%] Built target sparkmonitor >>> [ 94%] Built target sparkagent >>> [ 95%] Built target sceneeffector >>> [ 95%] Building CXX object plugin/inputwx/CMakeFiles/inputwx.dir/inputsystemwx.cpp.o >>> i686-apple-darwin10-g++-4.2.1: _FILE_OFFSET_BITS=64: No such file or directory >>> i686-apple-darwin10-g++-4.2.1: _LARGE_FILES: No such file or directory >>> i686-apple-darwin10-g++-4.2.1: __WXDEBUG__: No such file or directory >>> i686-apple-darwin10-g++-4.2.1: __WXMAC__: No such file or directory >>> make[2]: *** [plugin/inputwx/CMakeFiles/inputwx.dir/inputsystemwx.cpp.o] Error 1 >>> make[1]: *** [plugin/inputwx/CMakeFiles/inputwx.dir/all] Error 2 >>> make: *** [all] Error 2 >>> >>> >>> ------------------------------------------------------------------------------ >>> _______________________________________________ >>> Simspark Generic Physical MAS Simulator >>> simspark-devel mailing list >>> sim...@li... >>> https://lists.sourceforge.net/lists/listinfo/simspark-devel >>> > > |
From: Hedayat V. <hed...@ai...> - 2010-05-11 17:13:41
|
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 |
From: Yuan Xu <xu...@in...> - 2010-05-11 17:14:53
|
On 05/11/2010 07:12 PM, Hedayat Vatankhah wrote: > It seems fine! And your cmake version? Mine is 2.6.4 It is 2.8.0 -- Best Regards, Xu, Yuan |
From: Hedayat V. <hed...@ai...> - 2010-05-11 18:15:25
|
On ۱۰/۰۵/۱۱ 09:44, Yuan Xu wrote: > On 05/11/2010 07:12 PM, Hedayat Vatankhah wrote: >> It seems fine! And your cmake version? Mine is 2.6.4 > > It is 2.8.0 > OK. Yes, the behavior of wxWidgets module in cmake has been changed in 2.8, which results in this error. I'll fix it to work fine in both cmake 2.6 and cmake 2.8 versions today or tomorrow. Thanks, Hedayat |
From: Yuan Xu <xu...@in...> - 2010-05-11 17:11:30
|
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 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 |
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 |
From: Hedayat V. <hed...@ai...> - 2010-05-12 21:02:51
|
Hi all, Thanks all for your efforts. I've committed a fix. I do not have cmake 2.8 installed to test but I think the problem should be solved now. Let me know if there are still any problems. Good luck, Hedayat /*"M.Ebrahimi" <m.e...@ie...>*/ wrote on 05/11/2010 10:27:20 PM +0450: > 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 > |