From: H. De A. <dhd...@gm...> - 2008-05-27 09:02:15
|
Hi Andrew, Glad to hear that it worked! Hernán 2008/5/27 andrew haywood <aha...@gm...>: > Hi Hernan, > > you were right. Once i checked out the trunk in one go - it works fine. > > thank you very much for your advice. > > cheers > Andy > > > On 5/23/08, Hernán De Angelis <dhd...@gm...> wrote: >> >> Andrew, >> >> May be I am wrong, but I guess you are messing things up a bit when >> you check out twice (gurus out there please correct me). I also >> compile in the same system as you. I do: >> >> 1. OpenThreads >> cd /usr/local/src >> svn co http://www.openscenegraph.org/svn/osg/OpenThreads/trunk OpenThreads >> ./configure --prefix=/usr/local >> gmake >> make install >> >> 2. OSSIM >> open a terminal in /usr/local/src >> download from SVN svn co https://svn.osgeo.org/ossim/trunk >> ossim_svn >> or update from SVN svn update >> http://svn.osgeo.org/ossim/trunk ossim_svn >> cd /usr/local/src/ossim/ossim >> ./configure --prefix=/usr/local --with-openthreads=/usr/local >> make depends >> make >> make install >> add to /etc/bash.bashrc.local export PATH=$PATH:/usr/local/ossim/bin >> add to /etc/ld.so.conf /usr/local/ossim/lib run /sbin/ldconfig >> ldconfig >> >> 3. OSSIM QT >> >> cd /usr/local/src/libwms >> gmake >> make install >> >> open a terminal in ossim QT's source directory >> export OSSIM_DEV_HOME=/usr/local/src/ossim_svn >> export OSSIM_HOME=/usr/local >> export OSSIM_INC_DIR=/usr/local/include/ossim >> export OSSIM_LIB_DIR=/usr/local/lib >> export OSSIM_QT_HOME=/usr/local/src/ossim_svn/ossim_qt >> export QTDIR=/usr/lib64/qt3 >> export PATH=$QTDIR/bin:$PATH >> qmake ossim_qt.pro >> make >> make install >> >> >> >> Look that I use /usr/lib64/qt3 for the QT library. >> >> Hope this helps, >> >> >> Hernán >> >> >> >> >> >> 2008/5/23 andrew haywood <aha...@gm...>: >> > Dear List, >> > >> > I am currently trying to install ossim and ossim_qt (imagelinker and >> > iview) >> > on suse 10.2 (64bit). Very much a newbie to both linux and compiling >> > programs. >> > I have executed the following commands >> > >> > cd ~ >> > mkdir ossim_dev >> > cd ossim_dev >> > svn co https://svn.osgeo.org/ossim/trunk >> > cd ossim >> > export LD_LIBRARY_PATH=/usr/local/lib64:/usr/local/lib:$LD_LIBRARY_PATH >> > export QTDIR=/usr/lib/qt3 >> > export PATH=/usr/lib/qt3/bin:/usr/local/bin:$PATH >> > export OSSIM_DEV_HOME=/home/ah24/ossim_dev >> > ./configure >> > make >> > >> > ### at this stage ossim seems to be installed with no errors >> > ### i then try and install ossim_qt >> > >> > cd .. >> > mkdir ossim_qt >> > svn co https://svn.osgeo.org/ossim_qt/trunk ossim_qt >> > cd ossim_qt >> > qmake qmake ossim_qt.pro >> > make >> > >> > ### then I get the following error >> > ossimQtScrollingImageWidget.cpp:72: error: 'ossim' has not been declared >> > >> > I am unsure what i am doing wrong - any help would be greatly >> > appreciated. >> > >> > >> > cd src && make -f Makefile >> > make[1]: Entering directory `/home/ah24/ossim_dev/ossim_qt/src' >> > g++ -c -pipe -O2 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -g >> > -DUSE_LIB64_PATHES -fno-strict-aliasing -Wall -W -O2 -fmessage-length=0 >> > -Wall -D_FORTIFY_SOURCE=2 -g -DUSE_LIB64_PATHES -fno-strict-aliasing >> > -fPIC >> > -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DQT_NO_DEBUG -DQT_SHARED >> > -DQT_THREAD_SUPPORT -I/usr/lib/qt3/mkspecs/default -I. -I/ossim/include >> > -I/usr/local/include -I/usr/include -I/usr/lib/qt3/include -I.ui/ -I. >> > -Ivce >> > -Iproperty -I.moc/ -o .obj/ossimQtScrollingImageWidget.o >> > ossimQtScrollingImageWidget.cpp >> > ossimQtScrollingImageWidget.cpp: In constructor >> > 'ossimQtScrollingImageWidget::ossimQtScrollingImageWidget(QWidget*, >> > QString)': >> > ossimQtScrollingImageWidget.cpp:72: error: 'ossim' has not been declared >> > make[1]: *** [.obj/ossimQtScrollingImageWidget.o] Error 1 >> > make[1]: Leaving directory `/home/ah24/ossim_dev/ossim_qt/src' >> > make: *** [sub-src] Error 2 >> > >> > >> > >> > >> > ------------------------------------------------------------------------- >> > This SF.net email is sponsored by: Microsoft >> > Defy all challenges. Microsoft(R) Visual Studio 2008. >> > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >> > _______________________________________________ >> > www.ossim.org >> > Ossim-developer mailing list >> > Oss...@li... >> > https://lists.sourceforge.net/lists/listinfo/ossim-developer >> > >> > >> >> >> >> -- >> >> Hernán De Angelis >> Linux user # 397217 > > -- Hernán De Angelis Linux user # 397217 |