|
From: COMUNIAN A. <ale...@un...> - 2008-09-24 09:18:00
|
Thank you Ting for the suggestion! I modified the QMAKESPEC variable (= /usr/lib/qt3/mkspecs/linux-g++-64) in order to use qt3 instead of qt4, but now the problem has moved to something related to my Python installation (python2.5). So I am trying with python2.4.5: the "make" process proceeds better than with python 2.5 but at the end there is another error (cannot find -lpython2.4): [...] g++ -shared -Wl,-soname,libGsTLAppli_actions.so.1 -o libGsTLAppli_actions.so.1.0.0 ../../lib/linux/obj/actions/algorithms_actions.o ../../lib/linux/obj/actions/library_actions_init.o ../../lib/linux/obj/actions/misc_actions.o ../../lib/linux/obj/actions/obj_manag_actions.o ../../lib/linux/obj/actions/python_commands.o ../../lib/linux/obj/actions/python_wrapper.o -L/usr/lib64/ -L/usr/lib/qt3/lib64/ -L/home/UNINE.CH/comuniana/software/SGeMS-2.0/lib/linux -L/home/UNINE.CH/comuniana/software/Python-2.4.5/lib -lpython2.4 -lpthread /usr/lib64/gcc/x86_64-suse-linux/4.2.1/../../../../x86_64-suse-linux/bin/ld: cannot find -lpython2.4 collect2: ld returned 1 exit status make[2]: *** [../../lib/linux/libGsTLAppli_actions.so.1.0.0] Error 1 make[2]: Leaving directory `/home/UNINE.CH/comuniana/software/SGeMS-2.0/GsTLAppli/actions' make[1]: *** [sub-actions-make_default] Error 2 make[1]: Leaving directory `/home/UNINE.CH/comuniana/software/SGeMS-2.0/GsTLAppli' make: *** [sub-GsTLAppli-make_default] Error 2 The variables in the ".qmake.cache" file are: PYTHON_LIB = /home/UNINE.CH/comuniana/software/Python-2.4.5/lib PYTHON_INCLUDE= /home/UNINE.CH/comuniana/software/Python-2.4.5/include/python2.4 PYTHON_SO = python2.4 (I also tested different values of PYTHON_SO like "python" an so on...) The files resulting from a "find -name "*python*" in my python directory are: ./lib/python2.4/config/python.o ./lib/python2.4/config/libpython2.4.a (There are *.so files but only in "./lib/python2.4/lib-dynload") I think that the problem is related to the value of PYTHON_SO, but I don't know to which value set this variable. Do you have some idea? Thank you! Alessandro On Tuesday 23 September 2008 21:51:37 you wrote: > Hi. > It looks like you are using Qt 4.x. SGeMS 2.0 works with Qt 3.3.x. > > On Tue, Sep 23, 2008 at 7:51 AM, COMUNIAN Alessandro > <ale...@un...> wrote: Hi! > I'm triying to compile SGeMS 2.0 on Linux Suse10.3, but I get some errors > running "make": > > [...] > manager.cpp:96: error: no matching function for call > to 'QString::startsWith(const char*, bool)' > /usr/include/QtCore/qstring.h:213: note: candidates are: bool > QString::startsWith(const QString&, Qt::CaseSensitivity) const > /usr/include/QtCore/qstring.h:214: note: bool > QString::startsWith(const QLatin1String&, Qt::CaseSensitivity) const > /usr/include/QtCore/qstring.h:215: note: bool > QString::startsWith(const QChar&, Qt::CaseSensitivity) const > [...] > > and > > [...] > manager.cpp: In static member function 'static std::string > Manager::init_plugin_path()': > manager.cpp:170: error: 'class QDir' has no member named 'absPath' > manager.cpp:178: error: 'class QDir' has no member named 'absPath' > manager.cpp: In member function 'bool Manager::load_library(const > std::string&)': > manager.cpp:227: error: 'class QLibrary' has no member named > 'setAutoUnload' [...] > > Do you have some suggestions please? > Thank you in advance! > Bests, > > Alessandro > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge Build the coolest Linux based applications with Moblin SDK & win > great prizes Grand prize is a trip for two to an Open Source event anywhere > in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Sgems-devel mailing list > Sge...@li...<mailto:Sge...@li...> > https://lists.sourceforge.net/lists/listinfo/sgems-devel > > > > > -- > Ting Li > lti...@gm...<mailto:lti...@gm...> |