You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mkdir -p build
cd build && cmake .. && /Applications/Xcode-beta.app/Contents/Developer/usr/bin/make
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/johndpope/Documents/gitWorkspace/pixelstruct/build
[ 6%] Building CXX object src/CMakeFiles/pixelstruct.dir/main.cpp.o
clang: warning: optimization flag '-frounding-math' is not supported
In file included from /Users/johndpope/Documents/gitWorkspace/pixelstruct/src/main.cpp:18:
In file included from /Users/johndpope/Documents/gitWorkspace/pixelstruct/src/mainwindow.h:23:
In file included from /Users/johndpope/Documents/gitWorkspace/pixelstruct/src/glwidget.h:24:
/Users/johndpope/Documents/gitWorkspace/pixelstruct/src/triangulation.h:26:10: fatal error: 'CGAL/Triangulation_euclidean_traits_xy_3.h' file not found
#include <CGAL/Triangulation_euclidean_traits_xy_3.h>
^
1 error generated.
make[3]: *** [src/CMakeFiles/pixelstruct.dir/main.cpp.o] Error 1
make[2]: *** [src/CMakeFiles/pixelstruct.dir/all] Error 2
make[1]: *** [all] Error 2
make: *** [all] Error 2
The text was updated successfully, but these errors were encountered:
#include <CGAL/Triangulation_euclidean_traits_xy_3.h>
should now be
#include <CGAL/Projection_traits_xy_3.h>
but then I get -
Users/johndpope/Documents/gitWorkspace/pixelstruct/src/glwidget.cpp:122:5: error: use of undeclared identifier 'gluPerspective'
gluPerspective(60.0, (double)width/height, 1e-20, 1e5);
^
/Users/johndpope/Documents/gitWorkspace/pixelstruct/src/glwidget.cpp:222:9: error: use of undeclared identifier 'gluLookAt'
gluLookAt(cx,cy,cz, cx+dx,cy+dy,cz+dz, ux,uy,uz);
^
/Users/johndpope/Documents/gitWorkspace/pixelstruct/src/glwidget.cpp:295:36: error: use of undeclared identifier 'gluErrorString'
<< errCode << ": " << gluErrorString(errCode) << endl;
^
3 errors generated.
brew install cartr/qt4/qt
brew link qt
brew install cgal
//using cgal-4.9
make
mkdir -p build
cd build && cmake .. && /Applications/Xcode-beta.app/Contents/Developer/usr/bin/make
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/johndpope/Documents/gitWorkspace/pixelstruct/build
[ 6%] Building CXX object src/CMakeFiles/pixelstruct.dir/main.cpp.o
clang: warning: optimization flag '-frounding-math' is not supported
In file included from /Users/johndpope/Documents/gitWorkspace/pixelstruct/src/main.cpp:18:
In file included from /Users/johndpope/Documents/gitWorkspace/pixelstruct/src/mainwindow.h:23:
In file included from /Users/johndpope/Documents/gitWorkspace/pixelstruct/src/glwidget.h:24:
/Users/johndpope/Documents/gitWorkspace/pixelstruct/src/triangulation.h:26:10: fatal error: 'CGAL/Triangulation_euclidean_traits_xy_3.h' file not found
#include <CGAL/Triangulation_euclidean_traits_xy_3.h>
^
1 error generated.
make[3]: *** [src/CMakeFiles/pixelstruct.dir/main.cpp.o] Error 1
make[2]: *** [src/CMakeFiles/pixelstruct.dir/all] Error 2
make[1]: *** [all] Error 2
make: *** [all] Error 2
The text was updated successfully, but these errors were encountered: