From: David B. <db...@gm...> - 2016-07-15 11:32:54
|
That would be great... On 07/15/2016 05:58 AM, Rashad Kanavath wrote: > > > On Thu, Jul 14, 2016 at 9:35 PM, David Burken <db...@gm... > <mailto:db...@gm...>> wrote: > > I see it. Will have to put on the list. We need to make fix > backwards compatible... > > > There is a better way. use geos C api instead of c++ and avoid these > issues. There is an added advantage in doing so. All ossim > dependencies are C libraries expect geos now. changing it to use C API > will help us to use same list of dependencies for multiple versions of > msvc without the pain of rebuilding for each version of msvc. > > I can put up a PR with dev branch for this. What you think? > > > Building CXX object > ossim/src/CMakeFiles/ossim.dir/util/ossimShorelineUtil.cpp.o > In file included from > /home/dburken/code/sb/ossim/src/base/ossimPolyArea2d.cpp:16:0: > /home/dburken/code/sb/deps/include/geos/geom/GeometryFactory.h: In > constructor > ‘ossimGeometryFactoryWrapper::ossimGeometryFactoryWrapper()’: > /home/dburken/code/sb/deps/include/geos/geom/GeometryFactory.h:464:2: > error: ‘geos::geom::GeometryFactory::GeometryFactory(const > geos::geom::PrecisionModel*, int)’ is protected > GeometryFactory(const PrecisionModel* pm, int newSRID); > ^ > /home/dburken/code/sb/ossim/src/base/ossimPolyArea2d.cpp:40:61: > error: within this context > m_geomFactory = new geos::geom::GeometryFactory(pm, -1); > ^ > In file included from > /home/dburken/code/sb/ossim/src/base/ossimPolyArea2d.cpp:16:0: > /home/dburken/code/sb/deps/include/geos/geom/GeometryFactory.h: In > destructor ‘virtual > ossimGeometryFactoryWrapper::~ossimGeometryFactoryWrapper()’: > /home/dburken/code/sb/deps/include/geos/geom/GeometryFactory.h:474:10: > error: ‘virtual geos::geom::GeometryFactory::~GeometryFactory()’ > is protected > virtual ~GeometryFactory(); > ^ > /home/dburken/code/sb/ossim/src/base/ossimPolyArea2d.cpp:42:68: > error: within this context > virtual ~ossimGeometryFactoryWrapper(){if(m_geomFactory) > delete m_geomFactory;m_geomFactory=0;} > ^ > > > > > On 07/14/2016 03:14 PM, David Burken wrote: >> No I haven't but I'm building from the ossimlabs "dev" branch >> with geos 3.4.2 I think.. I will move up to 3.5.x and see what >> happens.. >> Dave >> >> >> On Thu, Jul 14, 2016 at 3:06 PM, Rashad Kanavath >> <moh...@gm... <mailto:moh...@gm...>> >> wrote: >> >> Hello David, >> >> Just curious to know if you had hit any issue with libgeos >> and ossim 1.8.20-3. >> >> the c++ api has changed in geos (svn trunk) and had some >> issues with that for me. >> >> On Thu, Jul 14, 2016 at 8:55 PM, David Burken >> <db...@gm... <mailto:db...@gm...>> wrote: >> >> Hi Chris, >> >> I'm using Visual Studio 2015. I will send you my bat >> file off the list. The hardest part is build the >> dependencies. >> >> Dave >> >> >> >> >> On Thu, Jul 14, 2016 at 2:04 PM, Christopher McGeorge >> <cmc...@su... >> <mailto:cmc...@su...>> wrote: >> >> Hi. Have any of you been able to compile OSSIM using >> Visual Studio? (I am using Visual Studio 2015.) I >> run the ossim-cmake-config.batbatch file, then CMake, >> then Nmake, but then I get numerous compile errors >> that I am going through. Is there a better way? >> >> >> >> Thank you, >> >> Chris McGeorge >> >> >> ------------------------------------------------------------------------------ >> What NetFlow Analyzer can do for you? Monitors >> network bandwidth and traffic >> patterns at an interface-level. Reveals which users, >> apps, and protocols are >> consuming the most bandwidth. Provides multi-vendor >> support for NetFlow, >> J-Flow, sFlow and other flows. Make informed >> decisions using capacity planning >> reports.http://sdm.link/zohodev2dev >> _______________________________________________ >> www.ossim.org <http://www.ossim.org> >> Ossim-developer mailing list >> Oss...@li... >> <mailto:Oss...@li...> >> https://lists.sourceforge.net/lists/listinfo/ossim-developer >> >> >> >> ------------------------------------------------------------------------------ >> What NetFlow Analyzer can do for you? Monitors network >> bandwidth and traffic >> patterns at an interface-level. Reveals which users, >> apps, and protocols are >> consuming the most bandwidth. Provides multi-vendor >> support for NetFlow, >> J-Flow, sFlow and other flows. Make informed decisions >> using capacity planning >> reports.http://sdm.link/zohodev2dev >> _______________________________________________ >> www.ossim.org <http://www.ossim.org> >> Ossim-developer mailing list >> Oss...@li... >> <mailto:Oss...@li...> >> https://lists.sourceforge.net/lists/listinfo/ossim-developer >> >> >> >> >> -- >> Regards, >> Rashad >> >> > > > > > -- > Regards, > Rashad |