chrisidefix / cgal-bindings

Automatically exported from code.google.com/p/cgal-bindings
Boost Software License 1.0
0 stars 0 forks source link

Building on WIndows #17

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Trying to build bindings to Java, fails due to unresolved symbols

* What steps will reproduce the problem?
1. Using VC 2010 Express 
2. Ran CMake v2.8.8 all right
3. Loaded up resulting project, but fails to build

* What is the expected output? What do you see instead?

Unresolved external symbols

* What version of the product are you using? On what operating system?

Windows 7 64-bit

* Please provide any additional information below.

Building CGAL_Kernel, lots of messages like:
4>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

CGAL libraries are built OK and are in the linker command line

Any ideas? Could it be a 64/32-bit issue?

Original issue reported on code.google.com by j.paul.w...@gmail.com on 19 Jul 2012 at 8:37

GoogleCodeExporter commented 9 years ago

Original comment by sloriot...@gmail.com on 30 Jul 2012 at 2:10

GoogleCodeExporter commented 9 years ago

Original comment by sloriot...@gmail.com on 24 Aug 2012 at 8:51