Jono - 2014-08-31

Hi,

after a few years away from Pycam I wanted to give it another try and wanted to compile pycam++
but I got the folowing error messages:

g++ -c -m64 -pipe -g -Wall -W -D_REENTRANT -DQT_WEBKIT -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/default -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/QtOpenGL -I/usr/include -I. -IGui -IGeometry -IImporters -ICutters -IPathGenerators -IPathProcessors -IExporters -I/usr/X11R6/include -Ibuild -Ibuild -o build/Model.o Geometry/Model.cpp
In file included from Geometry/Geometry.h:45:0,
from Geometry/Model.h:23,
from Geometry/Model.cpp:21:
Geometry/Edge.h:28:44: Fehler: »size_t« wurde nicht deklariert
Geometry/Edge.h:28:59: Fehler: »size_t« wurde nicht deklariert
Geometry/Edge.h:32:5: Fehler: »size_t« bezeichnet keinen Typ
Geometry/Edge.h:33:5: Fehler: »size_t« bezeichnet keinen Typ
Geometry/Edge.h: In Konstruktor »Edge::Edge(const std::vector<Point>&, int, int)«:
Geometry/Edge.h:30:9: Fehler: Klasse »Edge« hat keinen Feldnamen »m_idx_p1«
Geometry/Edge.h:30:26: Fehler: Klasse »Edge« hat keinen Feldnamen »m_idx_p2«
Geometry/Edge.h: In Elementfunktion »const Point& Edge::p1() const«:
Geometry/Edge.h:34:50: Fehler: »m_idx_p1« wurde in diesem Gültigkeitsbereich nicht definiert
Geometry/Edge.h: In Elementfunktion »const Point& Edge::p2() const«:
Geometry/Edge.h:35:50: Fehler: »m_idx_p2« wurde in diesem Gültigkeitsbereich nicht definiert
Geometry/Model.cpp: In Elementfunktion »void Model::add_triangle(const Point, const Point, const Point, const Point)«:
Geometry/Model.cpp:109:16: Fehler: »struct Edge« hat kein Element namens »m_idx_p1«
Geometry/Model.cpp:109:41: Fehler: »struct Edge« hat kein Element namens »m_idx_p2«
Geometry/Model.cpp:112:16: Fehler: »struct Edge« hat kein Element namens »m_idx_p1«
Geometry/Model.cpp:112:41: Fehler: »struct Edge« hat kein Element namens »m_idx_p2«
Geometry/Model.cpp:115:16: Fehler: »struct Edge« hat kein Element namens »m_idx_p1«
Geometry/Model.cpp:115:41: Fehler: »struct Edge« hat kein Element namens »m_idx_p2«
Geometry/Model.cpp:118:16: Fehler: »struct Edge« hat kein Element namens »m_idx_p1«
Geometry/Model.cpp:118:41: Fehler: »struct Edge« hat kein Element namens »m_idx_p2«
Geometry/Model.cpp:121:16: Fehler: »struct Edge« hat kein Element namens »m_idx_p1«
Geometry/Model.cpp:121:41: Fehler: »struct Edge« hat kein Element namens »m_idx_p2«
Geometry/Model.cpp:124:16: Fehler: »struct Edge« hat kein Element namens »m_idx_p1«
Geometry/Model.cpp:124:41: Fehler: »struct Edge« hat kein Element namens »m_idx_p2«
In file included from Geometry/Geometry.h:45:0,
from Geometry/Model.h:23,
from Geometry/Model.cpp:21:
Geometry/Edge.h: In Elementfunktion »const Point& Edge::p2() const«:
Geometry/Edge.h:35:61: Warnung: Kontrollfluss erreicht Ende von Nicht-void-Funktion [-Wreturn-type]
Geometry/Edge.h: In Elementfunktion »const Point& Edge::p1() const«:
Geometry/Edge.h:34:61: Warnung: Kontrollfluss erreicht Ende von Nicht-void-Funktion [-Wreturn-type]
make[1]: [build/Model.o] Fehler 1
make[1]: Leaving directory `/home/Jono/Downloads/pycam/src'
make:
[all] Fehler 2

could you be so kind and have a look at the code what is going on there?

Regards
Herbert