chrisidefix / cgal-bindings

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

helpers.h not found #18

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I'm having trouble building cgal-bindings on Ubuntu 12.04, using the latest 
source because "helpers.h" is not being found:

1. CGAL installation:
sudo apt-get install  libcgal-dev

2. cgal-bindings installation:
git clone https://code.google.com/p/cgal-bindings
mkdir build/CGAL-3.9_release -p

cd ~/rps/cgal-bindings/build/CGAL-3.9_release 

cmake -DCGAL_DIR=/usr/lib/CGAL -DJAVA_OUTDIR_PREFIX=../../examples/java 
-DPYTHON_OUTDIR_PREFIX=../../examples/python ../..
-- Build type: Release
-- USING CXXFLAGS = '-g -O2 -fstack-protector --param=ssp-buffer-size=4 
-Wformat -Wformat-security  -frounding-math -O3 -DNDEBUG'
-- USING EXEFLAGS = ' -Wl,-Bsymbolic-functions -Wl,-z,relro '
-- Targetting Unix Makefiles
-- Using /usr/bin/c++ compiler.
-- Release mode with g++: using -fno-strict-aliasing flags
-- Found Python libs.
-- CGAL-SWIG Python files and libraries will be written in 
/home/epifanio/rps/cgal-bindings/examples/python/CGAL.
-- Found JNI: JNI include dirs /usr/lib/jvm/java-6-sun/include 
/usr/lib/jvm/java-6-sun/include/linux.
-- CGAL-SWIG Java libraries and files will be respectively written in 
/home/epifanio/rps/cgal-bindings/examples/java/lib and 
/home/epifanio/rps/cgal-bindings/examples/java/CGAL.
-- Configuring done
-- Generating done
-- Build files have been written to: 
/home/epifanio/rps/cgal-bindings/build/CGAL-3.9_release

make -j 4
[  1%] [  2%] Building CXX object 
SWIG_CGAL/Java/CMakeFiles/CGAL_Java_cpp.dir/JavaData.cpp.o
[  3%] Building CXX object 
SWIG_CGAL/Triangulation_2/CMakeFiles/CGAL_Triangulation_2_cpp.dir/Object.cpp.o
[  5%] Building CXX object 
SWIG_CGAL/Triangulation_3/CMakeFiles/CGAL_Triangulation_3_cpp.dir/Object.cpp.o
In file included from 
/home/epifanio/rps/cgal-bindings/SWIG_CGAL/Triangulation_2/Object.h:11:0,
                 from /home/epifanio/rps/cgal-bindings/SWIG_CGAL/Triangulation_2/Object.cpp:10:
/home/epifanio/rps/cgal-bindings/SWIG_CGAL/Triangulation_2/decl.h:11:33: fatal 
error: CGAL/export/helpers.h: No such file or directory

compilation terminated.

Original issue reported on code.google.com by rsignell on 31 Jul 2012 at 2:13

GoogleCodeExporter commented 9 years ago
It appears that "helpers.h" is not included in the CGAL 3.9 distribution 
installed using "sudo apt-get install libcgal-dev"   There are lots of 
subdirectories under /usr/include/CGAL, but "export" is not one of them.  And a 
search in /usr/include/CGAL for "helpers.h" comes back empty.

Original comment by rsignell on 31 Jul 2012 at 2:21

GoogleCodeExporter commented 9 years ago
I am in the process of fixing Windows visibility and my changes seem to need 
CGAL-4.0.
A solution is to use that revision e77c16bd5a65 if you want to stick to 3.9

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

GoogleCodeExporter commented 9 years ago
Yep, that worked!  Thanks!
-Rich

Original comment by rsignell on 31 Jul 2012 at 3:42

GoogleCodeExporter commented 9 years ago

Original comment by sloriot...@gmail.com on 1 Aug 2012 at 5:02