Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Re: New CGAL-bindings

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Re: New CGAL-bindings


Chronological Thread 
  • From: "Sebastien Loriot (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] Re: New CGAL-bindings
  • Date: Wed, 25 Jul 2012 08:33:58 +0200

The following mailing list is better suitted for such questions:



Sebastien.

On 07/20/2012 11:24 AM, Paul Williamson wrote:
Hi,

Trying to compile these (Java) bindings for CGAL 4.0.2 in Visual C++2010
Express using CMake 2.8.8 and SWIG 2.0.8. All goes well until at the linking
stage I get a number of error messages like:

CGAL_KernelJAVA_wrap.obj : error LNK2019: unresolved external symbol "double
__cdecl squared_distance(class Point_3 const&,class Point_3 const&)"
(?squared_distance@@YANABVPoint_3@@0@Z) referenced in function
_Java_CGAL_Kernel_CGAL_1KernelJNI_squared_1distance_1_1SWIG_10@32

I think I have an idea of what's going on - the unresolved symbols are all
to instantiations of a template function - but I've no real knowledge of how
I might resolve the issue. Grateful for any suggestions.

Thanks in advance,
Paul
--




--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/New-CGAL-bindings-tp4226031p4655500.html
Sent from the cgal-discuss mailing list archive at Nabble.com.





Archive powered by MHonArc 2.6.18.

Top of Page