Re: Unable to compile on Linux i386.

"Irene VATTON" <[email protected]>
Newsgroups gmane.comp.web.amaya.general
Message-ID <[email protected]>
>
> When I only use  --enable-system-raptor:
>
> g++:
> /home/abar/Amaya11.3.1/Amaya/wx/wxWidgets_RELEASE/lib/libwx_gtk2u_aui-2.8.a:
> No such file or directory
> g++:
> /home/abar/Amaya11.3.1/Amaya/wx/wxWidgets_RELEASE/lib/libwx_gtk2u_xrc-2.8.a:
> No such file or directory
> g++:
> /home/abar/Amaya11.3.1/Amaya/wx/wxWidgets_RELEASE/lib/libwx_gtk2u_adv-2.8.a:
> No such file or directory
> g++:
> /home/abar/Amaya11.3.1/Amaya/wx/wxWidgets_RELEASE/lib/libwx_gtk2u_core-2.8.a:
> No such file or directory
> g++:
> /home/abar/Amaya11.3.1/Amaya/wx/wxWidgets_RELEASE/lib/libwx_baseu_xml-2.8.a:
> No such file or directory
> g++:
> /home/abar/Amaya11.3.1/Amaya/wx/wxWidgets_RELEASE/lib/libwx_baseu_net-2.8.a:
> No such file or directory
> g++:
> /home/abar/Amaya11.3.1/Amaya/wx/wxWidgets_RELEASE/lib/libwx_gtk2u_gl-2..8.a:
> No such file or directory
> g++:
> /home/abar/Amaya11.3.1/Amaya/wx/wxWidgets_RELEASE/lib/libwx_baseu-2.8.a:
> No such file or directory
> make[2]: *** [../bin/grm] Error 1
> make[2]: Leaving directory `/home/abar/Amaya11.3.1/Amaya/wx/batch'
> make[1]: *** [../bin/str] Error 2
> make[1]: Leaving directory `/home/abar/Amaya11.3.1/Amaya/wx/amaya'

I suspect that an error occured first during the wxWidgets building
perhaps because some system packages are missing. The name of packages
changes with the linux platform.
See http://www.w3.org/Amaya/User/AmayaWX.html#What

>
>
> When I use --enable-system-raptor and --enable-system-wx:
>
> /usr/include/wx-2.8/wx/icon.h:48: error: expected constructor, destructor,
> or type conversion before ‘&’ token
> /usr/include/wx-2.8/wx/icon.h:48: error: ISO C++ forbids declaration of
> ‘wxIcon’ with no type
> /usr/include/wx-2.8/wx/icon.h:48: error: expected ‘,’ or ‘...’ before ‘&’
> token
> In file included from /usr/include/wx-2.8/wx/imaglist.h:48,
>                  from ../../thotlib/include/AmayaApp.h:9,
>                  from ../../thotlib/internals/h/AmayaAppInstance.h:10,
>                  from ../../thotlib/base/AmayaAppInstance.cpp:10:
> /usr/include/wx-2.8/wx/generic/imaglist.h:39: error: ‘wxIcon’ does not
> name a type
> In file included from ../../thotlib/internals/h/AmayaAppInstance.h:10,
>                  from ../../thotlib/base/AmayaAppInstance.cpp:10:
> .../../thotlib/include/AmayaApp.h:28: error: expected class-name before
> ‘{’ token
> .../../thotlib/include/AmayaApp.h:44: error: ‘wxIcon’ does not name a type
> .../../thotlib/include/AmayaApp.h:58: error: ‘wxIdleEvent’ has not been
> declared
> .../../thotlib/include/AmayaApp.h:59: error: ‘wxKeyEvent’ has not been
> declared
> .../../thotlib/include/AmayaApp.h:60: error: ‘wxKeyEvent’ has not been
> declared
> .../../thotlib/include/AmayaApp.h:80: error: ‘wxIcon’ does not name a type
> .../../thotlib/base/AmayaAppInstance.cpp: In constructor
> ‘AmayaAppInstance::AmayaAppInstance(AmayaApp*)’:
> .../../thotlib/base/AmayaAppInstance.cpp:38: error: ‘class AmayaApp’ has
> no member named ‘GetAppName’
> .../../thotlib/base/AmayaAppInstance.cpp: In member function ‘bool
> AmayaAppInstance::SendURLToOtherAmayaInstance(const wxString&)’:
> .../../thotlib/base/AmayaAppInstance.cpp:121: warning: ignoring return
> value of ‘char* getcwd(char*, size_t)’, declared with attribute
> warn_unused_result
> make[3]: *** [base/AmayaAppInstance.o] Error 1
> make[3]: Leaving directory `/home/abar/Amaya11.3.1/Amaya/wx/thotlib'
> make[2]: *** [../thotlib/libThotKernel.a] Error 2
> make[2]: Leaving directory `/home/abar/Amaya11.3.1/Amaya/wx/batch'
> make[1]: *** [../bin/str] Error 2
> make[1]: Leaving directory `/home/abar/Amaya11.3.1/Amaya/wx/amaya'
>
>
> I have tried with several Linuxes.Only on Ubuntu 9.10 UNR(Netbook Remix) I
> was able to compile but at runtime
>
> nothing appears,no GUI,but the program is running,when I kill the process
> it terminates normally.
> Any idea about how can I resolve this?
>
>
>
> _________________________________________________________________
> Windows Live: Keep your friends up to date with what you do online.
> http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_1:092010
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.