Issues with ossimPolyArea2d.cpp

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

Issues with ossimPolyArea2d.cpp

Martina Di Rita
Hi, 

trying to update OSSIM to the latest version, I found some problems in building again the code:



/home/martina/OSSIM_LAST/ossim/src/ossim/base/ossimPolyArea2d.cpp: In member function ‘ossimPolyArea2d& ossimPolyArea2d::toMultiPolygon()’:

/home/martina/OSSIM_LAST/ossim/src/ossim/base/ossimPolyArea2d.cpp:749:110: error: no matching function for call to ‘OssimPolyArea2dPrivate::setGeometry(geos::geom::MultiPolygon*)’

/home/martina/OSSIM_LAST/ossim/src/ossim/base/ossimPolyArea2d.cpp:749:110: note: candidates are:

/home/martina/OSSIM_LAST/ossim/src/ossim/base/ossimPolyArea2d.cpp:83:6: note: void OssimPolyArea2dPrivate::setGeometry(const ossimPolygon&, const std::vector<ossimPolygon>&)

/home/martina/OSSIM_LAST/ossim/src/ossim/base/ossimPolyArea2d.cpp:83:6: note:   no known conversion for argument 1 from ‘geos::geom::MultiPolygon*’ to ‘const ossimPolygon&’

/home/martina/OSSIM_LAST/ossim/src/ossim/base/ossimPolyArea2d.cpp:56:9: note: void OssimPolyArea2dPrivate::setGeometry(OssimPolyArea2dPrivate::GeometryPtr)

/home/martina/OSSIM_LAST/ossim/src/ossim/base/ossimPolyArea2d.cpp:56:9: note:   no known conversion for argument 1 from ‘geos::geom::MultiPolygon*’ to ‘OssimPolyArea2dPrivate::GeometryPtr {aka geos::geom::Geometry*}’



It seems I have some issues with ossimPolyArea2d.cpp file.
Anyone has got some idea?

Thank you, 

Martina

--  
Martina Di Rita, PhD Student                               
Geodesy and Geomatics Division   
University of Rome "La Sapienza"
via Eudossiana, 18 - 00184 Rome Italy

Phone ++39 0644585087
E-mail [hidden email]

------------------------------------------------------------------------------

_______________________________________________
www.ossim.org
Ossim-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/ossim-developer
Reply | Threaded
Open this post in threaded view
|

Re: Issues with ossimPolyArea2d.cpp

Garrett Potts-2
Hello Martina:


Your compiler might be needing a forced include for the cast.   I have added the include in.  Try to update and see if that fixes you


Take care

Garrett

On Nov 13, 2015, at 12:48 PM, Martina Di Rita <[hidden email]> wrote:

Hi, 

trying to update OSSIM to the latest version, I found some problems in building again the code:



/home/martina/OSSIM_LAST/ossim/src/ossim/base/ossimPolyArea2d.cpp: In member function ‘ossimPolyArea2d& ossimPolyArea2d::toMultiPolygon()’:

/home/martina/OSSIM_LAST/ossim/src/ossim/base/ossimPolyArea2d.cpp:749:110: error: no matching function for call to ‘OssimPolyArea2dPrivate::setGeometry(geos::geom::MultiPolygon*)’

/home/martina/OSSIM_LAST/ossim/src/ossim/base/ossimPolyArea2d.cpp:749:110: note: candidates are:

/home/martina/OSSIM_LAST/ossim/src/ossim/base/ossimPolyArea2d.cpp:83:6: note: void OssimPolyArea2dPrivate::setGeometry(const ossimPolygon&, const std::vector<ossimPolygon>&)

/home/martina/OSSIM_LAST/ossim/src/ossim/base/ossimPolyArea2d.cpp:83:6: note:   no known conversion for argument 1 from ‘geos::geom::MultiPolygon*’ to ‘const ossimPolygon&’

/home/martina/OSSIM_LAST/ossim/src/ossim/base/ossimPolyArea2d.cpp:56:9: note: void OssimPolyArea2dPrivate::setGeometry(OssimPolyArea2dPrivate::GeometryPtr)

/home/martina/OSSIM_LAST/ossim/src/ossim/base/ossimPolyArea2d.cpp:56:9: note:   no known conversion for argument 1 from ‘geos::geom::MultiPolygon*’ to ‘OssimPolyArea2dPrivate::GeometryPtr {aka geos::geom::Geometry*}’



It seems I have some issues with ossimPolyArea2d.cpp file.
Anyone has got some idea?

Thank you, 

Martina

--  
Martina Di Rita, PhD Student                               
Geodesy and Geomatics Division   
University of Rome "La Sapienza"
via Eudossiana, 18 - 00184 Rome Italy

Phone ++39 0644585087
E-mail [hidden email]
------------------------------------------------------------------------------
_______________________________________________
www.ossim.org
Ossim-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/ossim-developer


------------------------------------------------------------------------------

_______________________________________________
www.ossim.org
Ossim-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/ossim-developer
Reply | Threaded
Open this post in threaded view
|

Re: Issues with ossimPolyArea2d.cpp

Oscar Kramer
In reply to this post by Martina Di Rita
Hi Martina,

I hope all is well! I see you are still accessing the SVN repository. We have moved over to github and added some build scripts to help folks get started. That site collects all the OSSIM-related repositories including core, plugins, and GUI. There is some reorganization of directories -- it's not 1:1 with the SVN repo, so some paths will be different. As a developer, you should pull from the "dev" branch and create your own feature-branch from that. Then, use a pull request to get your OSSIM improvements merged back into "dev" if you want.

The migration to GIT is still a work in progress, but at least for core ("ossim") and plugins it is fully functional. Start by cloning ossim. There is a good readme file there.

Cheers,
Oscar

PS -- If you are new to git, here's a good tutorial...

http://i.kinja-img.com/gawker-media/image/upload/s--0hGpOHqR--/1513064248749080358.png



From: Martina Di Rita <[hidden email]>
To: "[hidden email]" <[hidden email]>
Sent: Friday, November 13, 2015 12:48 PM
Subject: [OSSIM] Issues with ossimPolyArea2d.cpp

Hi, 

trying to update OSSIM to the latest version, I found some problems in building again the code:



/home/martina/OSSIM_LAST/ossim/src/ossim/base/ossimPolyArea2d.cpp: In member function ‘ossimPolyArea2d& ossimPolyArea2d::toMultiPolygon()’:

/home/martina/OSSIM_LAST/ossim/src/ossim/base/ossimPolyArea2d.cpp:749:110: error: no matching function for call to ‘OssimPolyArea2dPrivate::setGeometry(geos::geom::MultiPolygon*)’

/home/martina/OSSIM_LAST/ossim/src/ossim/base/ossimPolyArea2d.cpp:749:110: note: candidates are:

/home/martina/OSSIM_LAST/ossim/src/ossim/base/ossimPolyArea2d.cpp:83:6: note: void OssimPolyArea2dPrivate::setGeometry(const ossimPolygon&, const std::vector<ossimPolygon>&)

/home/martina/OSSIM_LAST/ossim/src/ossim/base/ossimPolyArea2d.cpp:83:6: note:   no known conversion for argument 1 from ‘geos::geom::MultiPolygon*’ to ‘const ossimPolygon&’

/home/martina/OSSIM_LAST/ossim/src/ossim/base/ossimPolyArea2d.cpp:56:9: note: void OssimPolyArea2dPrivate::setGeometry(OssimPolyArea2dPrivate::GeometryPtr)

/home/martina/OSSIM_LAST/ossim/src/ossim/base/ossimPolyArea2d.cpp:56:9: note:   no known conversion for argument 1 from ‘geos::geom::MultiPolygon*’ to ‘OssimPolyArea2dPrivate::GeometryPtr {aka geos::geom::Geometry*}’



It seems I have some issues with ossimPolyArea2d.cpp file.
Anyone has got some idea?

Thank you, 

Martina

--  
Martina Di Rita, PhD Student                               
Geodesy and Geomatics Division   
University of Rome "La Sapienza"
via Eudossiana, 18 - 00184 Rome Italy

Phone ++39 0644585087
E-mail [hidden email]

------------------------------------------------------------------------------

_______________________________________________
www.ossim.org
Ossim-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/ossim-developer



------------------------------------------------------------------------------

_______________________________________________
www.ossim.org
Ossim-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/ossim-developer
Reply | Threaded
Open this post in threaded view
|

Re: Issues with ossimPolyArea2d.cpp

Martina Di Rita
In reply to this post by Garrett Potts-2
Hi Garrett, Hi Oscar,

sorry for the delay. Thank you for having fixed that problem, now I have some undefined reference in the library, always related to the same file...

../../../lib/libossim.so.1.8.21: undefined reference to `ossimPolyArea2d::intersects(ossimPolyArea2d const&) const'
../../../lib/libossim.so.1.8.21: undefined reference to `ossimPolyArea2d::setToBufferedShape(double)'
../../../lib/libossim.so.1.8.21: undefined reference to `ossimPolyArea2d::operator=(std::vector<ossimDpt, std::allocator<ossimDpt> > const&)'
../../../lib/libossim.so.1.8.21: undefined reference to `ossimPolyArea2d::isValid(bool) const'

Why it gives me so many problems? I'm missing something?

As concerns the Git repo it seems nice, now I'm going to have a look in it. But if, for now, I'm going to continue to use SVN? This could be a problem?

Thank you for the support, 

Martina


p.s. Awesome the Git tutorial ;)






2015-11-13 19:26 GMT+01:00 Garrett Potts <[hidden email]>:
Hello Martina:


Your compiler might be needing a forced include for the cast.   I have added the include in.  Try to update and see if that fixes you


Take care

Garrett

On Nov 13, 2015, at 12:48 PM, Martina Di Rita <[hidden email]> wrote:

Hi, 

trying to update OSSIM to the latest version, I found some problems in building again the code:



/home/martina/OSSIM_LAST/ossim/src/ossim/base/ossimPolyArea2d.cpp: In member function ‘ossimPolyArea2d& ossimPolyArea2d::toMultiPolygon()’:

/home/martina/OSSIM_LAST/ossim/src/ossim/base/ossimPolyArea2d.cpp:749:110: error: no matching function for call to ‘OssimPolyArea2dPrivate::setGeometry(geos::geom::MultiPolygon*)’

/home/martina/OSSIM_LAST/ossim/src/ossim/base/ossimPolyArea2d.cpp:749:110: note: candidates are:

/home/martina/OSSIM_LAST/ossim/src/ossim/base/ossimPolyArea2d.cpp:83:6: note: void OssimPolyArea2dPrivate::setGeometry(const ossimPolygon&, const std::vector<ossimPolygon>&)

/home/martina/OSSIM_LAST/ossim/src/ossim/base/ossimPolyArea2d.cpp:83:6: note:   no known conversion for argument 1 from ‘geos::geom::MultiPolygon*’ to ‘const ossimPolygon&’

/home/martina/OSSIM_LAST/ossim/src/ossim/base/ossimPolyArea2d.cpp:56:9: note: void OssimPolyArea2dPrivate::setGeometry(OssimPolyArea2dPrivate::GeometryPtr)

/home/martina/OSSIM_LAST/ossim/src/ossim/base/ossimPolyArea2d.cpp:56:9: note:   no known conversion for argument 1 from ‘geos::geom::MultiPolygon*’ to ‘OssimPolyArea2dPrivate::GeometryPtr {aka geos::geom::Geometry*}’



It seems I have some issues with ossimPolyArea2d.cpp file.
Anyone has got some idea?

Thank you, 

Martina

--  
Martina Di Rita, PhD Student                               
Geodesy and Geomatics Division   
University of Rome "La Sapienza"
via Eudossiana, 18 - 00184 Rome Italy

Phone <a href="tel:%2B%2B39%200644585087" value="+390644585087" target="_blank">++39 0644585087
E-mail [hidden email]
------------------------------------------------------------------------------
_______________________________________________
www.ossim.org
Ossim-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/ossim-developer




--
Martina Di Rita, PhD Student                               
Geodesy and Geomatics Division   
University of Rome "La Sapienza"
via Eudossiana, 18 - 00184 Rome Italy

Phone <a href="tel:%2B%2B39%200644585087" value="+390644585087" target="_blank">++39 0644585087
E-mail [hidden email]

------------------------------------------------------------------------------
Presto, an open source distributed SQL query engine for big data, initially
developed by Facebook, enables you to easily query your data on Hadoop in a
more interactive manner. Teradata is also now providing full enterprise
support for Presto. Download a free open source copy now.
http://pubads.g.doubleclick.net/gampad/clk?id=250295911&iu=/4140
_______________________________________________
www.ossim.org
Ossim-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/ossim-developer
Reply | Threaded
Open this post in threaded view
|

Re: Issues with ossimPolyArea2d.cpp

Garrett Potts-2
Hello Martina:

This is strange.  What are you building on and what compiler version, … etc.   I’ll peep in the morning to see if I see anything.   Which tree are you working from?  I am assuming you are currently building out of the SVN and not the GIT?


Take care

Garrett

On Nov 16, 2015, at 5:38 AM, Martina Di Rita <[hidden email]> wrote:

Hi Garrett, Hi Oscar,

sorry for the delay. Thank you for having fixed that problem, now I have some undefined reference in the library, always related to the same file...

../../../lib/libossim.so.1.8.21: undefined reference to `ossimPolyArea2d::intersects(ossimPolyArea2d const&) const'
../../../lib/libossim.so.1.8.21: undefined reference to `ossimPolyArea2d::setToBufferedShape(double)'
../../../lib/libossim.so.1.8.21: undefined reference to `ossimPolyArea2d::operator=(std::vector<ossimDpt, std::allocator<ossimDpt> > const&)'
../../../lib/libossim.so.1.8.21: undefined reference to `ossimPolyArea2d::isValid(bool) const'

Why it gives me so many problems? I'm missing something?

As concerns the Git repo it seems nice, now I'm going to have a look in it. But if, for now, I'm going to continue to use SVN? This could be a problem?

Thank you for the support, 

Martina


p.s. Awesome the Git tutorial ;)






2015-11-13 19:26 GMT+01:00 Garrett Potts <[hidden email]>:
Hello Martina:


Your compiler might be needing a forced include for the cast.   I have added the include in.  Try to update and see if that fixes you


Take care

Garrett

On Nov 13, 2015, at 12:48 PM, Martina Di Rita <[hidden email]> wrote:

Hi, 

trying to update OSSIM to the latest version, I found some problems in building again the code:



/home/martina/OSSIM_LAST/ossim/src/ossim/base/ossimPolyArea2d.cpp: In member function ‘ossimPolyArea2d& ossimPolyArea2d::toMultiPolygon()’:

/home/martina/OSSIM_LAST/ossim/src/ossim/base/ossimPolyArea2d.cpp:749:110: error: no matching function for call to ‘OssimPolyArea2dPrivate::setGeometry(geos::geom::MultiPolygon*)’

/home/martina/OSSIM_LAST/ossim/src/ossim/base/ossimPolyArea2d.cpp:749:110: note: candidates are:

/home/martina/OSSIM_LAST/ossim/src/ossim/base/ossimPolyArea2d.cpp:83:6: note: void OssimPolyArea2dPrivate::setGeometry(const ossimPolygon&, const std::vector<ossimPolygon>&)

/home/martina/OSSIM_LAST/ossim/src/ossim/base/ossimPolyArea2d.cpp:83:6: note:   no known conversion for argument 1 from ‘geos::geom::MultiPolygon*’ to ‘const ossimPolygon&’

/home/martina/OSSIM_LAST/ossim/src/ossim/base/ossimPolyArea2d.cpp:56:9: note: void OssimPolyArea2dPrivate::setGeometry(OssimPolyArea2dPrivate::GeometryPtr)

/home/martina/OSSIM_LAST/ossim/src/ossim/base/ossimPolyArea2d.cpp:56:9: note:   no known conversion for argument 1 from ‘geos::geom::MultiPolygon*’ to ‘OssimPolyArea2dPrivate::GeometryPtr {aka geos::geom::Geometry*}’



It seems I have some issues with ossimPolyArea2d.cpp file.
Anyone has got some idea?

Thank you, 

Martina

--  
Martina Di Rita, PhD Student                               
Geodesy and Geomatics Division   
University of Rome "La Sapienza"
via Eudossiana, 18 - 00184 Rome Italy

Phone <a href="tel:%2B%2B39%200644585087" value="+390644585087" target="_blank" class="">++39 0644585087
E-mail [hidden email]
------------------------------------------------------------------------------
_______________________________________________
www.ossim.org
Ossim-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/ossim-developer




--
Martina Di Rita, PhD Student                               
Geodesy and Geomatics Division   
University of Rome "La Sapienza"
via Eudossiana, 18 - 00184 Rome Italy

Phone <a href="tel:%2B%2B39%200644585087" value="+390644585087" target="_blank" class="">++39 0644585087
E-mail [hidden email]
------------------------------------------------------------------------------
Presto, an open source distributed SQL query engine for big data, initially
developed by Facebook, enables you to easily query your data on Hadoop in a
more interactive manner. Teradata is also now providing full enterprise
support for Presto. Download a free open source copy now.
http://pubads.g.doubleclick.net/gampad/clk?id=250295911&iu=/4140_______________________________________________
www.ossim.org
Ossim-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/ossim-developer


------------------------------------------------------------------------------

_______________________________________________
www.ossim.org
Ossim-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/ossim-developer
Reply | Threaded
Open this post in threaded view
|

Re: Issues with ossimPolyArea2d.cpp

Garrett Potts-2
In reply to this post by Martina Di Rita
Hello Rita:

Looking back I think these were modified methods on that class.  In SVN I see all necessary methods implemented.   I wonder if the import library you are linking to is old?   Are you working from an install versus from a dev tree. and the dev tree is out of synch with the install?


Take care

Garrett

On Nov 16, 2015, at 5:38 AM, Martina Di Rita <[hidden email]> wrote:

Hi Garrett, Hi Oscar,

sorry for the delay. Thank you for having fixed that problem, now I have some undefined reference in the library, always related to the same file...

../../../lib/libossim.so.1.8.21: undefined reference to `ossimPolyArea2d::intersects(ossimPolyArea2d const&) const'
../../../lib/libossim.so.1.8.21: undefined reference to `ossimPolyArea2d::setToBufferedShape(double)'
../../../lib/libossim.so.1.8.21: undefined reference to `ossimPolyArea2d::operator=(std::vector<ossimDpt, std::allocator<ossimDpt> > const&)'
../../../lib/libossim.so.1.8.21: undefined reference to `ossimPolyArea2d::isValid(bool) const'

Why it gives me so many problems? I'm missing something?

As concerns the Git repo it seems nice, now I'm going to have a look in it. But if, for now, I'm going to continue to use SVN? This could be a problem?

Thank you for the support, 

Martina


p.s. Awesome the Git tutorial ;)






2015-11-13 19:26 GMT+01:00 Garrett Potts <[hidden email]>:
Hello Martina:


Your compiler might be needing a forced include for the cast.   I have added the include in.  Try to update and see if that fixes you


Take care

Garrett

On Nov 13, 2015, at 12:48 PM, Martina Di Rita <[hidden email]> wrote:

Hi, 

trying to update OSSIM to the latest version, I found some problems in building again the code:



/home/martina/OSSIM_LAST/ossim/src/ossim/base/ossimPolyArea2d.cpp: In member function ‘ossimPolyArea2d& ossimPolyArea2d::toMultiPolygon()’:

/home/martina/OSSIM_LAST/ossim/src/ossim/base/ossimPolyArea2d.cpp:749:110: error: no matching function for call to ‘OssimPolyArea2dPrivate::setGeometry(geos::geom::MultiPolygon*)’

/home/martina/OSSIM_LAST/ossim/src/ossim/base/ossimPolyArea2d.cpp:749:110: note: candidates are:

/home/martina/OSSIM_LAST/ossim/src/ossim/base/ossimPolyArea2d.cpp:83:6: note: void OssimPolyArea2dPrivate::setGeometry(const ossimPolygon&, const std::vector<ossimPolygon>&)

/home/martina/OSSIM_LAST/ossim/src/ossim/base/ossimPolyArea2d.cpp:83:6: note:   no known conversion for argument 1 from ‘geos::geom::MultiPolygon*’ to ‘const ossimPolygon&’

/home/martina/OSSIM_LAST/ossim/src/ossim/base/ossimPolyArea2d.cpp:56:9: note: void OssimPolyArea2dPrivate::setGeometry(OssimPolyArea2dPrivate::GeometryPtr)

/home/martina/OSSIM_LAST/ossim/src/ossim/base/ossimPolyArea2d.cpp:56:9: note:   no known conversion for argument 1 from ‘geos::geom::MultiPolygon*’ to ‘OssimPolyArea2dPrivate::GeometryPtr {aka geos::geom::Geometry*}’



It seems I have some issues with ossimPolyArea2d.cpp file.
Anyone has got some idea?

Thank you, 

Martina

--  
Martina Di Rita, PhD Student                               
Geodesy and Geomatics Division   
University of Rome "La Sapienza"
via Eudossiana, 18 - 00184 Rome Italy

Phone <a href="tel:%2B%2B39%200644585087" value="+390644585087" target="_blank" class="">++39 0644585087
E-mail [hidden email]
------------------------------------------------------------------------------
_______________________________________________
www.ossim.org
Ossim-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/ossim-developer




--
Martina Di Rita, PhD Student                               
Geodesy and Geomatics Division   
University of Rome "La Sapienza"
via Eudossiana, 18 - 00184 Rome Italy

Phone <a href="tel:%2B%2B39%200644585087" value="+390644585087" target="_blank" class="">++39 0644585087
E-mail [hidden email]
------------------------------------------------------------------------------
Presto, an open source distributed SQL query engine for big data, initially
developed by Facebook, enables you to easily query your data on Hadoop in a
more interactive manner. Teradata is also now providing full enterprise
support for Presto. Download a free open source copy now.
http://pubads.g.doubleclick.net/gampad/clk?id=250295911&iu=/4140_______________________________________________
www.ossim.org
Ossim-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/ossim-developer


------------------------------------------------------------------------------

_______________________________________________
www.ossim.org
Ossim-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/ossim-developer
Reply | Threaded
Open this post in threaded view
|

Re: Issues with ossimPolyArea2d.cpp

Martina Di Rita

I just made the "svn update" in my Ossim main folder, like always, and then I used "make" to build, but something went wrong and now I haven't any bin.

How can I check if the link to the library is old? In case is it possible to restore the old Ossim version in order to keep on working?

Thank you, 

Martina

Il 17/Nov/2015 03:04, "Garrett Potts" <[hidden email]> ha scritto:
Hello Rita:

Looking back I think these were modified methods on that class.  In SVN I see all necessary methods implemented.   I wonder if the import library you are linking to is old?   Are you working from an install versus from a dev tree. and the dev tree is out of synch with the install?


Take care

Garrett

On Nov 16, 2015, at 5:38 AM, Martina Di Rita <[hidden email]> wrote:

Hi Garrett, Hi Oscar,

sorry for the delay. Thank you for having fixed that problem, now I have some undefined reference in the library, always related to the same file...

../../../lib/libossim.so.1.8.21: undefined reference to `ossimPolyArea2d::intersects(ossimPolyArea2d const&) const'
../../../lib/libossim.so.1.8.21: undefined reference to `ossimPolyArea2d::setToBufferedShape(double)'
../../../lib/libossim.so.1.8.21: undefined reference to `ossimPolyArea2d::operator=(std::vector<ossimDpt, std::allocator<ossimDpt> > const&)'
../../../lib/libossim.so.1.8.21: undefined reference to `ossimPolyArea2d::isValid(bool) const'

Why it gives me so many problems? I'm missing something?

As concerns the Git repo it seems nice, now I'm going to have a look in it. But if, for now, I'm going to continue to use SVN? This could be a problem?

Thank you for the support, 

Martina


p.s. Awesome the Git tutorial ;)






2015-11-13 19:26 GMT+01:00 Garrett Potts <[hidden email]>:
Hello Martina:


Your compiler might be needing a forced include for the cast.   I have added the include in.  Try to update and see if that fixes you


Take care

Garrett

On Nov 13, 2015, at 12:48 PM, Martina Di Rita <[hidden email]> wrote:

Hi, 

trying to update OSSIM to the latest version, I found some problems in building again the code:



/home/martina/OSSIM_LAST/ossim/src/ossim/base/ossimPolyArea2d.cpp: In member function ‘ossimPolyArea2d& ossimPolyArea2d::toMultiPolygon()’:

/home/martina/OSSIM_LAST/ossim/src/ossim/base/ossimPolyArea2d.cpp:749:110: error: no matching function for call to ‘OssimPolyArea2dPrivate::setGeometry(geos::geom::MultiPolygon*)’

/home/martina/OSSIM_LAST/ossim/src/ossim/base/ossimPolyArea2d.cpp:749:110: note: candidates are:

/home/martina/OSSIM_LAST/ossim/src/ossim/base/ossimPolyArea2d.cpp:83:6: note: void OssimPolyArea2dPrivate::setGeometry(const ossimPolygon&, const std::vector<ossimPolygon>&)

/home/martina/OSSIM_LAST/ossim/src/ossim/base/ossimPolyArea2d.cpp:83:6: note:   no known conversion for argument 1 from ‘geos::geom::MultiPolygon*’ to ‘const ossimPolygon&’

/home/martina/OSSIM_LAST/ossim/src/ossim/base/ossimPolyArea2d.cpp:56:9: note: void OssimPolyArea2dPrivate::setGeometry(OssimPolyArea2dPrivate::GeometryPtr)

/home/martina/OSSIM_LAST/ossim/src/ossim/base/ossimPolyArea2d.cpp:56:9: note:   no known conversion for argument 1 from ‘geos::geom::MultiPolygon*’ to ‘OssimPolyArea2dPrivate::GeometryPtr {aka geos::geom::Geometry*}’



It seems I have some issues with ossimPolyArea2d.cpp file.
Anyone has got some idea?

Thank you, 

Martina

--  
Martina Di Rita, PhD Student                               
Geodesy and Geomatics Division   
University of Rome "La Sapienza"
via Eudossiana, 18 - 00184 Rome Italy

Phone <a href="tel:%2B%2B39%200644585087" value="+390644585087" target="_blank">++39 0644585087
E-mail [hidden email]
------------------------------------------------------------------------------
_______________________________________________
www.ossim.org
Ossim-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/ossim-developer




--
Martina Di Rita, PhD Student                               
Geodesy and Geomatics Division   
University of Rome "La Sapienza"
via Eudossiana, 18 - 00184 Rome Italy

Phone <a href="tel:%2B%2B39%200644585087" value="+390644585087" target="_blank">++39 0644585087
E-mail [hidden email]
------------------------------------------------------------------------------
Presto, an open source distributed SQL query engine for big data, initially
developed by Facebook, enables you to easily query your data on Hadoop in a
more interactive manner. Teradata is also now providing full enterprise
support for Presto. Download a free open source copy now.
http://pubads.g.doubleclick.net/gampad/clk?id=250295911&iu=/4140_______________________________________________
www.ossim.org
Ossim-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/ossim-developer


------------------------------------------------------------------------------

_______________________________________________
www.ossim.org
Ossim-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/ossim-developer