Skip to Content.
Sympa Menu

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

Subject: CGAL users discussion list

List archive

[cgal-discuss] Re: New CGAL-bindings


Chronological Thread 
  • From: Paul Williamson <>
  • To:
  • Subject: [cgal-discuss] Re: New CGAL-bindings
  • Date: Fri, 20 Jul 2012 02:24:27 -0700 (PDT)

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