[Glnlinear-devel] Trying to compile ...
Status: Pre-Alpha
Brought to you by:
cranos23
|
From: <r....@t-...> - 2003-05-14 19:51:52
|
Hi James,
maybe there are some compatibility problems with the Mandrake distribution I'm
using?
Because I tried to run your pre-compiled executable by running ./glnlinear
from the top level cvs directory and got this error:
[booker@linux glnlinear]$ ./glnlinear
./glnlinear: error while loading shared libraries: libwx_gtk-2.4.so: cannot
open shared object file: No such file or directory
[booker@linux glnlinear]$
libwx_gtk-2.4.so is installed, but I think in the wrong directory ....
[booker@linux glnlinear]$ locate libwx_gtk-2.4.so
/usr/lib/wxPython/lib/libwx_gtk-2.4.so.0.0.0
/usr/lib/wxPython/lib/libwx_gtk-2.4.so.0
/usr/lib/wxPython/lib/libwx_gtk-2.4.so
[booker@linux glnlinear]$
Moreover, as you can see above, libwx_gtk-2.4.so is provided by a package
called libwxPythonGTK2.4
Name: libwxPythonGTK2.4
Version: 2.4.0.6-1mdk
Size: 5186 KB
Summary: Shared library of wxGTK for wxPythonGTK
Description: This is the internal version of the wxGTK shared library included
in wxPythonGTK.
Files:
/usr/lib/wxPython/lib/libwx_gtk-2.4.so.0
/usr/lib/wxPython/lib/libwx_gtk-2.4.so.0.0.0
/usr/lib/wxPython/lib/libwx_gtk_gl-2.4.so.0
/usr/lib/wxPython/lib/libwx_gtk_gl-2.4.so.0.0.0
The files provided by libwxgtk2.4 are:
Name: libwxgtk2.4
Version: 2.4.0-4mdk
Size: 5024 KB
Summary: Base shared library part of wxGTK
Description: wxWindows is a free C++ library for cross-platform GUI
development. With wxWindows, you can create applications for different GUIs
(GTK+, Motif/LessTif, MS Windows, Mac) from the same source code.
This package contains the library needed to run programs dynamically linked
with wxGTK.
Files:
/usr/lib/libwx_gtk2-2.4.so.0
/usr/lib/libwx_gtk2-2.4.so.0.0.0
Also I got this error when running make from inside the vidlibs directory:
[booker@linux vidlibs]$ make
libtool --mode=compile g++ -fPIC -g -c -O -Wall `wxgtk-2.4-config --cppflags`
dv.cpp
/bin/sh: line 1: wxgtk-2.4-config: command not found
rm -f .libs/dv.lo
g++ -fPIC -g -c -O -Wall dv.cpp -fPIC -DPIC -o .libs/dv.lo
In file included from /usr/local/include/wx/defs.h:224,
from /usr/local/include/wx/wx.h:15,
from dv.cpp:1:
/usr/local/include/wx/setup.h:15:2: #error No __WXxxx__ define set! Please
define one of
__WXBASE__,__WXGTK__,__WXMSW__,__WXMOTIF__,__WXMAC__,__WXQT__,__WXPM__,__WXSTUBS__
In file included from /usr/local/include/wx/wx.h:16,
from dv.cpp:1:
/usr/local/include/wx/object.h:204: parse error before `;' token
/usr/local/include/wx/object.h:209: `wxClassInfo' declared as a `virtual'
field
/usr/local/include/wx/object.h:209: declaration of `int wxObject::wxClassInfo'
/usr/local/include/wx/object.h:204: conflicts with previous declaration `int
wxObject::wxClassInfo'
/usr/local/include/wx/object.h:209: parse error before `*' token
/usr/local/include/wx/object.h:209: duplicate member `wxObject::wxClassInfo'
/usr/local/include/wx/object.h:210: ISO C++ forbids defining types within
return type
/usr/local/include/wx/object.h:210: syntax error before `*' token
/usr/local/include/wx/object.h:211: virtual outside class declaration
/usr/local/include/wx/object.h:211: non-member function `void
CopyObject(wxObject&)' cannot have `const' method qualifier
/usr/local/include/wx/object.h:213: `wxClassInfo' was not declared in this
scope
/usr/local/include/wx/object.h:213: `info' was not declared in this scope
/usr/local/include/wx/object.h:253: non-member function `wxObjectRefData*
GetRefData()' cannot have `const' method qualifier
/usr/local/include/wx/object.h: In function `wxObjectRefData* GetRefData()':
/usr/local/include/wx/object.h:253: `m_refData' undeclared (first use this
function)
/usr/local/include/wx/object.h:253: (Each undeclared identifier is reported
only once for each function it appears in.)
/usr/local/include/wx/object.h: At global scope:
/usr/local/include/wx/object.h:256: parse error before `protected'
dv.cpp: In member function `void dv::getDevices()':
dv.cpp:30: warning: cast from pointer to integer of different size
dv.cpp:30: `wxMessageBox' undeclared (first use this function)
make: *** [dv.lo] Error 1
[booker@linux vidlibs]$
Is this the consequence of the wxGTK problem?
greetings
Reinhard
|