miladelecancy / heekscnc

Automatically exported from code.google.com/p/heekscnc
Other
0 stars 1 forks source link

Error in compiling HeeksCNC #298

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Downloaded all the packages heekscad / cnc. Installation is ok for heekscad, 
but not good for heekscnc.

The error is:

[  1%] Building CXX object src/CMakeFiles/heekscnc.dir/NCCode.cpp.o
/usr/local/src/heekscad/HeeksCAD/HeeksCNC/src/NCCode.cpp: In member function 
‘virtual void CNCCode::glCommands(bool, bool, bool)’:
/usr/local/src/heekscad/HeeksCAD/HeeksCNC/src/NCCode.cpp:728: error: ‘class 
CNCCodeBlock’ has no member named ‘GetIndex’
make[2]: *** [src/CMakeFiles/heekscnc.dir/NCCode.cpp.o] Errore 1
make[1]: *** [src/CMakeFiles/heekscnc.dir/all] Errore 2
make: *** [all] Errore 2

How can I fix this? Thanks. 

Original issue reported on code.google.com by barbati....@gmail.com on 2 Apr 2011 at 2:13

GoogleCodeExporter commented 8 years ago
Perhaps you need to update your HeeksCAD repository first.  I added 
'GetIndex()' to HeeksObj.  If you update HeeksCNC but not HeeksCAD you would 
get the error you described.

  svn update /usr/local/src/heekscad/HeeksCAD

Then try again, but build HeeksCAD first.  It is important that you update and 
rebuild HeeksCAD/CNC and the libs all at the same time.

Original comment by jcoffl...@gmail.com on 3 Apr 2011 at 8:40

GoogleCodeExporter commented 8 years ago
Usually launch the script that builds the first Heekscad immediately after 
HeeksCNC later, but probably something went wrong.
However, trying again this morning, everything went through.Thanks

Original comment by barbati....@gmail.com on 4 Apr 2011 at 11:47