From: Mike F. <mik...@gm...> - 2018-12-21 00:00:28
|
Just saw this older post...bummer. I don't know if you guys can provide context for why it was retired? *Re: [OSSIM] (no subject) <https://sourceforge.net/p/ossim/mailman/message/36015211/>* From: Oscar Kramer <oscar.kramer@di...> - 2017-08-28 13:15:35 *Attachments:* image001.png <https://sourceforge.net/p/ossim/mailman/attachment/CAGFB8KPd0RatzJ_TddhUYwH4iYKqHDg1TVk3qv4v%2BAtWw3CnBA%40mail.gmail.com/1/> image002.png <https://sourceforge.net/p/ossim/mailman/attachment/CAGFB8KPd0RatzJ_TddhUYwH4iYKqHDg1TVk3qv4v%2BAtWw3CnBA%40mail.gmail.com/2/> Message as HTML <https://sourceforge.net/p/ossim/mailman/attachment/CAGFB8KPd0RatzJ_TddhUYwH4iYKqHDg1TVk3qv4v%2BAtWw3CnBA%40mail.gmail.com/3/> Prakash, Nearly two years ago we migrated OSSIM 1.8.20 from SVN to git and tagged that 1.9. The items to be moved were prioritized by perceived need and some packages didn't make it over. One of those was the ossim-plugins/reg. There is in fact a different ossim-plugins/reg in github which was intended to replace the old one, but that has not materialized. You are welcome to explore the old reg plugin (containing ossimImageCorrelator) here <http://download.osgeo.org/ossim/source/latest/>;. But keep in mind that the code there is way behind, and was never thoroughly tested. It will probably be a nontrivial effort to get that up and running for your needs. Oscar On Wed, Dec 19, 2018 at 7:36 PM Mike Finnessy <mik...@gm...> wrote: > HI, > > I'm in need of performing imagery co-registration and came across your > product. I desire to be a first time user, and see if the reg plugin will > meet our needs. It looks like in order to use that particular plugin I > need to build rather than using the linux packages that are out there. I'm > currently working on building a docker image pulling from ubuntu:18.04, > building and installing opencv (3.2.0), building and installing ossim-core > and ossim-plugins. Right now everything appears to install correctly and I > am able to use the ossim core functionality as well as the potrace plugin > (which is the only other plugin I have installed. Here is the build I am > using which I shamelessly borrowed from > https://github.com/johntut/ossim-gis: > > ENV OSSIM_DEV_HOME=/usr/local/src/ossim > > > ENV OSSIM_BUILD_DIR=$OSSIM_DEV_HOME/build \ > > OSSIM_DEPENDENCIES=/usr > > > #WORKDIR $OSSIM_DEV_HOME > > RUN git clone https://github.com/ossimlabs/ossim.git $OSSIM_DEV_HOME && \ > > cd $OSSIM_DEV_HOME && \ > > git checkout tags/Juno-2.6.1 > > # git checkout master > > #RUN wget https://github.com/ossimlabs/ossim/archive/Juno-2.6.1.zip > > > RUN git clone https://github.com/ossimlabs/ossim-plugins.git > $OSSIM_DEV_HOME/ossim-plugins && \ > > cd $OSSIM_DEV_HOME/ossim-plugins && \ > > git checkout tags/Juno-2.6.1 > > # git checkout master > > #RUN wget > > > RUN mkdir $OSSIM_BUILD_DIR > > WORKDIR $OSSIM_BUILD_DIR > > > # Make and install ossim. > > > RUN cmake .. \ > > -DOSSIM_LIBRARY=$OSSIM_BUILD_DIR/lib/libossim.so \ > > -DOSSIM_INCLUDE_DIR=$OSSIM_DEV_HOME/include \ > > -DBUILD_OSSIM_TESTS=OFF > > > RUN make && make install && ldconfig > > > # Make and install plugins. > > > RUN mkdir $OSSIM_DEV_HOME/ossim-plugins/build > > WORKDIR $OSSIM_DEV_HOME/ossim-plugins/build > > > RUN cmake .. \ > > -DOSSIM_INSTALL_PREFIX=/usr/local/ \ > > -DCMAKE_MODULE_PATH=$OSSIM_DEV_HOME/cmake/CMakeModules/ \ > > -DBUILD_GDAL_PLUGIN=OFF \ > > -DBUILD_MRSID_PLUGIN=OFF \ > > -DBUILD_PDAL_PLUGIN=OFF \ > > -DBUILD_KAKADU_PLUGIN=OFF \ > > -DBUILD_CNES_PLUGIN=OFF \ > > -DBUILD_POTRACE_PLUGIN=ON \ > > -DBUILD_REG_PLUGIN=ON > > > RUN make && make install > > > RUN echo /usr/local/lib/ossim/plugins/ > > /etc/ld.so.conf.d/ossim-plugins.conf && ldconfig > > > #RUN useradd -ms /bin/bash ossimuser > > #USER ossimuser > > #WORKDIR /home/ossimuser > > > # Set up the preferences file > > RUN echo 'plugin.file1: > /usr/local/lib/ossim/plugins/libossim_reg_plugin.so' > ~/ossim_preferences > > RUN echo 'plugin.file2: > /usr/local/lib/ossim/plugins/libossim_potrace_plugin.so' >> > ~/ossim_preferences > > #ENV OSSIM_PREFS_FILE=/home/ossimuser/ossim_preferences > > ENV OSSIM_PREFS_FILE=/root/ossim_preferences > > > > Now for the issue. I think there is a linking issue which I just can't > seem to put my finger on and hoping you can help? > > > root@a6d4309de7b7:/usr/local/src/ossim/ossim-plugins/build# ossim-info > --plugins > > ossimDynamicLibrary:60 Failed to load library: > /usr/local/lib/ossim/plugins/libossim_reg_plugin.so > > /usr/local/lib/ossim/plugins/libossim_reg_plugin.so: undefined symbol: > _ZN12ossimRegTool19initProcessingChainEv > > Plugin: /usr/local/lib/ossim/plugins/libossim_potrace_plugin.so > > DESCRIPTION: > > Potrace Tool plugin > > > CLASSES SUPPORTED > > ossimPotraceTool > > > root@a6d4309de7b7:/usr/local/src/ossim/ossim-plugins/build# nm -D > /usr/local/lib/ossim/plugins/libossim_reg_plugin.so | grep > _ZN12ossimRegTool19initProcessingChainEv > U _ZN12ossimRegTool19initProcessingChainEv > > root@a6d4309de7b7:/usr/local/src/ossim/ossim-plugins/build# export > LD_DEBUG=files > root@a6d4309de7b7:/usr/local/src/ossim/ossim-plugins/build# ossim-info > --plugins > 23: file=/usr/local/lib/ossim/plugins/libossim_reg_plugin.so [0]; > dynamically loaded by /usr/local/lib/libossim.so.1 [0] > 23: file=/usr/local/lib/ossim/plugins/libossim_reg_plugin.so [0]; > generating link map > 23: dynamic: 0x00007f1f344bed10 base: 0x00007f1f342b4000 size: > 0x000000000020b270 > 23: entry: 0x00007f1f342b9c80 phdr: 0x00007f1f342b4040 phnum: > 7 > 23: > 23: /usr/local/lib/ossim/plugins/libossim_reg_plugin.so: error: symbol > lookup error: undefined symbol: _ZN12ossimRegTool19initProcessingChainEv > (fatal) > 23: > 23: file=/usr/local/lib/ossim/plugins/libossim_reg_plugin.so [0]; > destroying link map > ossimDynamicLibrary:60 Failed to load library: > /usr/local/lib/ossim/plugins/libossim_reg_plugin.so > /usr/local/lib/ossim/plugins/libossim_reg_plugin.so: undefined symbol: > _ZN12ossimRegTool19initProcessingChainEv > 23: > 23: file=/usr/local/lib/ossim/plugins/libossim_potrace_plugin.so [0]; > dynamically loaded by /usr/local/lib/libossim.so.1 [0] > 23: file=/usr/local/lib/ossim/plugins/libossim_potrace_plugin.so [0]; > generating link map > 23: dynamic: 0x00007f1f344beca0 base: 0x00007f1f342a1000 size: > 0x000000000021e710 > 23: entry: 0x00007f1f342a8fc0 phdr: 0x00007f1f342a1040 phnum: > 7 > 23: > 23: > 23: calling init: /usr/local/lib/ossim/plugins/libossim_potrace_plugin.so > 23: > 23: opening file=/usr/local/lib/ossim/plugins/libossim_potrace_plugin.so > [0]; direct_opencount=1 > 23: > Plugin: /usr/local/lib/ossim/plugins/libossim_potrace_plugin.so > DESCRIPTION: > Potrace Tool plugin > > CLASSES SUPPORTED > ossimPotraceTool > > Thanks for any help you can provide! > |