nav111 / heekscnc

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

build problem #338

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Ubuntu 12.04

lacko@lacko:~/forrasok/ahee/heekscad/heekscnc$ cmake .
-- Configuring done
-- Generating done
-- Build files have been written to: /home/lacko/forrasok/ahee/heekscad/heekscnc
lacko@lacko:~/forrasok/ahee/heekscad/heekscnc$ make
[  1%] Building CXX object src/CMakeFiles/heekscnc.dir/AttachOp.cpp.o
In file included from 
/home/lacko/forrasok/ahee/heekscad/heekscnc/src/AttachOp.cpp:9:0:
/home/lacko/forrasok/ahee/heekscad/heekscnc/src/AttachOp.h:45:29: error: 
‘CMachineState’ has not been declared
/home/lacko/forrasok/ahee/heekscad/heekscnc/src/AttachOp.h: In member function 
‘virtual int CAttachOp::GetType() const’:
/home/lacko/forrasok/ahee/heekscad/heekscnc/src/AttachOp.h:28:28: error: 
‘AttachOpType’ was not declared in this scope
/home/lacko/forrasok/ahee/heekscad/heekscnc/src/AttachOp.h: At global scope:
/home/lacko/forrasok/ahee/heekscad/heekscnc/src/AttachOp.h:68:29: error: 
‘CMachineState’ has not been declared
/home/lacko/forrasok/ahee/heekscad/heekscnc/src/AttachOp.h: In constructor 
‘CUnattachOp::CUnattachOp()’:
/home/lacko/forrasok/ahee/heekscad/heekscnc/src/AttachOp.h:55:40: error: 
‘UnattachOpType’ was not declared in this scope
/home/lacko/forrasok/ahee/heekscad/heekscnc/src/AttachOp.h: In member function 
‘virtual int CUnattachOp::GetType() const’:
/home/lacko/forrasok/ahee/heekscad/heekscnc/src/AttachOp.h:58:28: error: 
‘UnattachOpType’ was not declared in this scope
/home/lacko/forrasok/ahee/heekscad/heekscnc/src/AttachOp.cpp: In constructor 
‘CAttachOp::CAttachOp()’:
/home/lacko/forrasok/ahee/heekscad/heekscnc/src/AttachOp.cpp:27:48: error: 
‘AttachOpType’ was not declared in this scope
/home/lacko/forrasok/ahee/heekscad/heekscnc/src/AttachOp.cpp: In constructor 
‘CAttachOp::CAttachOp(const std::list<int>&, double, double)’:
/home/lacko/forrasok/ahee/heekscad/heekscnc/src/AttachOp.cpp:31:102: error: 
‘AttachOpType’ was not declared in this scope
/home/lacko/forrasok/ahee/heekscad/heekscnc/src/AttachOp.cpp: At global scope:
/home/lacko/forrasok/ahee/heekscad/heekscnc/src/AttachOp.cpp:92:8: error: 
prototype for ‘Python CAttachOp::AppendTextToProgram(CMachineState*)’ does 
not match any in class ‘CAttachOp’
/home/lacko/forrasok/ahee/heekscad/heekscnc/src/AttachOp.h:45:9: error: 
candidate is: Python CAttachOp::AppendTextToProgram(int*)
/home/lacko/forrasok/ahee/heekscad/heekscnc/src/AttachOp.cpp: In member 
function ‘virtual void CAttachOp::GetProperties(std::list<Property*>*)’:
/home/lacko/forrasok/ahee/heekscad/heekscnc/src/AttachOp.cpp:158:32: error: 
invalid initialization of reference of type ‘const std::list<int>&’ from 
expression of type ‘CAttachOp* const’
/home/lacko/forrasok/ahee/heekscad/heekscnc/src/Reselect.h:31:6: error: in 
passing argument 2 of ‘void AddSolidsProperties(std::list<Property*>*, const 
std::list<int>&)’
/home/lacko/forrasok/ahee/heekscad/heekscnc/src/AttachOp.cpp: In member 
function ‘virtual void CAttachOp::WriteDefaultValues()’:
/home/lacko/forrasok/ahee/heekscad/heekscnc/src/AttachOp.cpp:267:32: error: no 
matching function for call to ‘CNCConfig::CNCConfig(const wxString)’
/home/lacko/forrasok/ahee/heekscad/heekscnc/src/AttachOp.cpp:267:32: note: 
candidates are:
/home/lacko/forrasok/ahee/heekscad/heekscnc/src/CNCConfig.h:13:2: note: 
CNCConfig::CNCConfig()
/home/lacko/forrasok/ahee/heekscad/heekscnc/src/CNCConfig.h:13:2: note:   
candidate expects 0 arguments, 1 provided
/home/lacko/forrasok/ahee/heekscad/heekscnc/src/CNCConfig.h:10:7: note: 
CNCConfig::CNCConfig(const CNCConfig&)
/home/lacko/forrasok/ahee/heekscad/heekscnc/src/CNCConfig.h:10:7: note:   no 
known conversion for argument 1 from ‘const wxString’ to ‘const 
CNCConfig&’
/home/lacko/forrasok/ahee/heekscad/heekscnc/src/AttachOp.cpp: In member 
function ‘virtual void CAttachOp::ReadDefaultValues()’:
/home/lacko/forrasok/ahee/heekscad/heekscnc/src/AttachOp.cpp:277:32: error: no 
matching function for call to ‘CNCConfig::CNCConfig(const wxString)’
/home/lacko/forrasok/ahee/heekscad/heekscnc/src/AttachOp.cpp:277:32: note: 
candidates are:
/home/lacko/forrasok/ahee/heekscad/heekscnc/src/CNCConfig.h:13:2: note: 
CNCConfig::CNCConfig()
/home/lacko/forrasok/ahee/heekscad/heekscnc/src/CNCConfig.h:13:2: note:   
candidate expects 0 arguments, 1 provided
/home/lacko/forrasok/ahee/heekscad/heekscnc/src/CNCConfig.h:10:7: note: 
CNCConfig::CNCConfig(const CNCConfig&)
/home/lacko/forrasok/ahee/heekscad/heekscnc/src/CNCConfig.h:10:7: note:   no 
known conversion for argument 1 from ‘const wxString’ to ‘const 
CNCConfig&’
/home/lacko/forrasok/ahee/heekscad/heekscnc/src/AttachOp.cpp: At global scope:
/home/lacko/forrasok/ahee/heekscad/heekscnc/src/AttachOp.cpp:307:8: error: 
prototype for ‘Python CUnattachOp::AppendTextToProgram(CMachineState*)’ 
does not match any in class ‘CUnattachOp’
/home/lacko/forrasok/ahee/heekscad/heekscnc/src/AttachOp.h:68:9: error: 
candidate is: Python CUnattachOp::AppendTextToProgram(int*)
/home/lacko/forrasok/ahee/heekscad/heekscnc/src/AttachOp.h: In member function 
‘virtual int CUnattachOp::GetType() const’:
/home/lacko/forrasok/ahee/heekscad/heekscnc/src/AttachOp.h:58:43: warning: 
control reaches end of non-void function [-Wreturn-type]
/home/lacko/forrasok/ahee/heekscad/heekscnc/src/AttachOp.h: In member function 
‘virtual int CAttachOp::GetType() const’:
/home/lacko/forrasok/ahee/heekscad/heekscnc/src/AttachOp.h:28:41: warning: 
control reaches end of non-void function [-Wreturn-type]
make[2]: *** [src/CMakeFiles/heekscnc.dir/AttachOp.cpp.o] Error 1
make[1]: *** [src/CMakeFiles/heekscnc.dir/all] Error 2
make: *** [all] Error 2

Original issue reported on code.google.com by bigla...@startolj.hu on 2 Feb 2014 at 8:01

GoogleCodeExporter commented 8 years ago
I have made many changes to the HeeksCNC project.
I've removed Attach operation, adding Surface object instead.
See log of changes to HeeksCNC VC2008.vcproj ( I am working in Windows mostly ).
Please let me know, if you fix the make file.  danheeks@gmail.com

Original comment by danhe...@gmail.com on 2 Feb 2014 at 9:57