CygwinではCGALの例をいくつか構築することができません。失敗したすべての例は、同様のエラーメッセージを共有しています。CygwinでCGALの例を作ることができません
どのようなガイダンスをいただければ幸いです。
以下の手順と「make」のサンプルエラーがあります。
Cygwin(x64)がWindows 7の下でd:\ cygwin64にインストールされています。
CGALソースがhttps://github.com/CGAL/cgal/releases/download/releases%2FCGAL-4.9/CGAL-4.9.zip からダウンロードしてDに解凍:\ cygwin64 \ USR \ CGAL-4.9おそらくCGALのために必要なすべてのライブラリはCygwinのx64のセットアップを介してインストールされた
。
初期cmakeの:
cd /usr/CGAL-4.9 cmake -DCMAKE_LEGACY_CYGWIN_WIN32=1 -DWITH_CGAL_Qt5=OFF -DWITH_examples=ON .
いくつかの例を構成することができませんでした、これらははとScale_space_reconstruction_3例をメッシュ含まれていました。
cd /usr/CGAL-4.9 make make examples
最初のいくつかの例が正常に作成されました。例えば、
PATH=/usr/local/bin:/usr/bin:/bin:/lib:/usr/CGAL-4.9/bin:/usr/CGAL-4.9/lib cd /usr/CGAL-4.9/examples/AABB_tree ./AABB_triangle_3_example.exe 3 intersections(s) with ray query closest point is: 0.333333 0.333333 0.333333 squared distance: 8.33333
以降の例では、例の数に表示口やかましい問題を示しています。
cd /usr/CGAL-4.9/examples/Snap_rounding_2/ cmake -DCGAL_DIR=/usr/CGAL-4.9 . make Scanning dependencies of target snap_rounding [ 16%] Building CXX object CMakeFiles/snap_rounding.dir/snap_rounding.cpp.o In file included from /usr/CGAL-4.9/include/CGAL/CORE/CoreDefs.h:41:0, from /usr/CGAL-4.9/include/CGAL/CORE/BigFloatRep.h:40, from /usr/CGAL-4.9/include/CGAL/CORE/BigFloat.h:38, from /usr/CGAL-4.9/include/CGAL/CORE_BigFloat.h:27, from /usr/CGAL-4.9/include/CGAL/CORE_arithmetic_kernel.h:39, from /usr/CGAL-4.9/include/CGAL/Arithmetic_kernel.h:51, from /usr/CGAL-4.9/include/CGAL/Arr_rational_function_traits_2.h:28, from /usr/CGAL-4.9/include/CGAL/Sweep_line_2_algorithms.h:37, from /usr/CGAL-4.9/include/CGAL/Snap_rounding_2.h:28, from /usr/CGAL-4.9/examples/Snap_rounding_2/snap_rounding.cpp: : /usr/CGAL-4.9/include/CGAL/CORE/extLong.h:171:8: warning: ‘CORE::extLong::extLong(int)’ redeclared without dllimport attribute after being referenced with dll linkage inline extLong::extLong(int i) : val(i), flag(0) { ^ /usr/CGAL-4.9/include/CGAL/CORE/extLong.h:292:13: warning: ‘bool CORE::extLong::isNaN() const’ redeclared without dllimport attribute after being referenced with dll linkage inline bool extLong::isNaN() const {
をここでは省略されている同様のエラーの数があります。
ありがとうございました!エラーとして
表示されているのは警告、エラーなしです –