ahmetsemihparlak / heekscad

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

build heekscad on archlinux #389

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
1.Follow the instructions BuildHeeksCncUnderLinux
2.Run cmake for heekscad - OK
$ cmake .. 
-- The C compiler identification is GNU 4.9.0
-- The CXX compiler identification is GNU 4.9.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Found wxWidgets: TRUE  
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.28") 
-- checking for module 'libarea'
--   package 'libarea' not found
-- libarea_INCLUDE_DIRS:     /usr/local/include/area
-- libarea_LIBRARIES:     /usr/local/lib/libarea.so
-- CMAKE_BUILD_TYPE: 
-- CMAKE_INSTALL_PREFIX: /usr/local
-- Found PythonLibs: /usr/lib64/libpython3.4m.so (found version "3.4.1") 
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so - 
found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib64/libX11.so
-- Found OpenGL: /usr/lib64/libGL.so  
-- wxWidgets_LIBRARIES: 
-pthread;;;-lwx_baseu-3.0;-lwx_gtk2u_core-3.0;-lwx_gtk2u_gl-3.0;-lwx_gtk2u_aui-3
.0
-- wxWidgets_ROOT_DIR: 
-- wxWidgets_INCLUDE_DIRS: 
/usr/lib/wx/include/gtk2-unicode-3.0;/usr/include/wx-3.0
-- Configuring done
-- Generating done
-- Build files have been written to: 
/home/user/Downloads/heeksbuild/heekscad/build

3.Step "make" return error: 

$ make
[  1%] Building CXX object interface/CMakeFiles/heeksintf.dir/DoubleInput.cpp.o
In file included from /usr/include/wx-3.0/wx/intl.h:17:0,
                 from /usr/include/wx-3.0/wx/wx.h:22,
                 from /home/user/Downloads/heeksbuild/heekscad/src/stdafx.h:29,
                 from /home/user/Downloads/heeksbuild/heekscad/interface/DoubleInput.cpp:5:
/home/user/Downloads/heeksbuild/heekscad/src/../interface/HeeksObj.h: In member 
function 'virtual const wxChar* HeeksObj::GetTypeString() const':
/home/user/Downloads/heeksbuild/heekscad/src/../interface/HeeksObj.h:123:56: 
error: cannot convert 'const wxString' to 'const wxChar* {aka const wchar_t*}' 
in return
  virtual const wxChar* GetTypeString(void)const{return _("Unknown");}
                                                        ^
/home/user/Downloads/heeksbuild/heekscad/src/../interface/Property.h: In member 
function 'virtual const wxChar* Property::GetShortString() const':
/home/user/Downloads/heeksbuild/heekscad/src/../interface/Property.h:40:57: 
error: cannot convert 'const wxString' to 'const wxChar* {aka const wchar_t*}' 
in return
  virtual const wxChar* GetShortString(void)const{return _("Unknown Property");}
                                                         ^
/home/user/Downloads/heeksbuild/heekscad/src/../interface/ObjList.h: In member 
function 'virtual const wxChar* ReorderTool::GetTitle()':
/home/user/Downloads/heeksbuild/heekscad/src/../interface/ObjList.h:79:34: 
error: cannot convert 'const wxString' to 'const wxChar* {aka const wchar_t*}' 
in return
  const wxChar* GetTitle(){return _("Reorder");}
                                  ^
/home/user/Downloads/heeksbuild/heekscad/src/ConversionTools.h: In member 
function 'virtual const wxChar* ConvertAreasToSketches::GetTitle()':
/home/user/Downloads/heeksbuild/heekscad/src/ConversionTools.h:28:34: error: 
cannot convert 'const wxString' to 'const wxChar* {aka const wchar_t*}' in 
return
  const wxChar* GetTitle(){return _("Convert areas to sketches");}
                                  ^
/home/user/Downloads/heeksbuild/heekscad/src/ConversionTools.h: In member 
function 'virtual const wxChar* SketchesArcsToLines::GetTitle()':
/home/user/Downloads/heeksbuild/heekscad/src/ConversionTools.h:36:34: error: 
cannot convert 'const wxString' to 'const wxChar* {aka const wchar_t*}' in 
return
  const wxChar* GetTitle(){return _("Split arcs to little lines");}
                                  ^
/home/user/Downloads/heeksbuild/heekscad/src/ConversionTools.h: In member 
function 'virtual const wxChar* ConvertToArea::GetTitle()':
/home/user/Downloads/heeksbuild/heekscad/src/ConversionTools.h:44:34: error: 
cannot convert 'const wxString' to 'const wxChar* {aka const wchar_t*}' in 
return
  const wxChar* GetTitle(){return _("Convert to Area");}
                                  ^
/home/user/Downloads/heeksbuild/heekscad/src/ConversionTools.h: In member 
function 'virtual const wxChar* AreaUnion::GetTitle()':
/home/user/Downloads/heeksbuild/heekscad/src/ConversionTools.h:52:34: error: 
cannot convert 'const wxString' to 'const wxChar* {aka const wchar_t*}' in 
return
  const wxChar* GetTitle(){return _("Unite Areas");}
                                  ^
/home/user/Downloads/heeksbuild/heekscad/src/ConversionTools.h: In member 
function 'virtual const wxChar* AreaCut::GetTitle()':
/home/user/Downloads/heeksbuild/heekscad/src/ConversionTools.h:61:34: error: 
cannot convert 'const wxString' to 'const wxChar* {aka const wchar_t*}' in 
return
  const wxChar* GetTitle(){return _("Cut Areas");}
                                  ^
/home/user/Downloads/heeksbuild/heekscad/src/ConversionTools.h: In member 
function 'virtual const wxChar* AreaIntersect::GetTitle()':
/home/user/Downloads/heeksbuild/heekscad/src/ConversionTools.h:70:34: error: 
cannot convert 'const wxString' to 'const wxChar* {aka const wchar_t*}' in 
return
  const wxChar* GetTitle(){return _("Intersect Areas");}
                                  ^
/home/user/Downloads/heeksbuild/heekscad/src/ConversionTools.h: In member 
function 'virtual const wxChar* AreaXor::GetTitle()':
/home/user/Downloads/heeksbuild/heekscad/src/ConversionTools.h:78:34: error: 
cannot convert 'const wxString' to 'const wxChar* {aka const wchar_t*}' in 
return
  const wxChar* GetTitle(){return _("Xor Areas");}
                                  ^
/home/user/Downloads/heeksbuild/heekscad/src/ConversionTools.h: In member 
function 'virtual const wxChar* AreaInsideCurves::GetTitle()':
/home/user/Downloads/heeksbuild/heekscad/src/ConversionTools.h:86:34: error: 
cannot convert 'const wxString' to 'const wxChar* {aka const wchar_t*}' in 
return
  const wxChar* GetTitle(){return _("Inside Curves");}
                                  ^
/home/user/Downloads/heeksbuild/heekscad/src/ConversionTools.h: In member 
function 'virtual const wxChar* ConvertSketchesToFace::GetTitle()':
/home/user/Downloads/heeksbuild/heekscad/src/ConversionTools.h:94:34: error: 
cannot convert 'const wxString' to 'const wxChar* {aka const wchar_t*}' in 
return
  const wxChar* GetTitle(){return _("Convert sketch to face");}
                                  ^
/home/user/Downloads/heeksbuild/heekscad/src/ConversionTools.h: In member 
function 'virtual const wxChar* MakeToSketch::GetTitle()':
/home/user/Downloads/heeksbuild/heekscad/src/ConversionTools.h:102:34: error: 
cannot convert 'const wxString' to 'const wxChar* {aka const wchar_t*}' in 
return
  const wxChar* GetTitle(){return _("Make To Sketch");}
                                  ^
/home/user/Downloads/heeksbuild/heekscad/src/ConversionTools.h: In member 
function 'virtual const wxChar* MakeToSketch::GetToolTip()':
/home/user/Downloads/heeksbuild/heekscad/src/ConversionTools.h:104:36: error: 
cannot convert 'const wxString' to 'const wxChar* {aka const wchar_t*}' in 
return
  const wxChar* GetToolTip(){return _("Make selected objects into a new sketch");}
                                    ^
/home/user/Downloads/heeksbuild/heekscad/src/ConversionTools.h: In member 
function 'virtual const wxChar* MakeEdgesToSketch::GetTitle()':
/home/user/Downloads/heeksbuild/heekscad/src/ConversionTools.h:111:34: error: 
cannot convert 'const wxString' to 'const wxChar* {aka const wchar_t*}' in 
return
  const wxChar* GetTitle(){return _("Make To Sketch");}
                                  ^
/home/user/Downloads/heeksbuild/heekscad/src/ConversionTools.h: In member 
function 'virtual const wxChar* MakeEdgesToSketch::GetToolTip()':
/home/user/Downloads/heeksbuild/heekscad/src/ConversionTools.h:113:36: error: 
cannot convert 'const wxString' to 'const wxChar* {aka const wchar_t*}' in 
return
  const wxChar* GetToolTip(){return _("Make selected edges into a new sketch");}
                                    ^
/home/user/Downloads/heeksbuild/heekscad/src/ConversionTools.h: In member 
function 'virtual const wxChar* CombineSketches::GetTitle()':
/home/user/Downloads/heeksbuild/heekscad/src/ConversionTools.h:120:34: error: 
cannot convert 'const wxString' to 'const wxChar* {aka const wchar_t*}' in 
return
  const wxChar* GetTitle(){return _("Combine sketches");}
                                  ^
/home/user/Downloads/heeksbuild/heekscad/src/ConversionTools.h: In member 
function 'virtual const wxChar* CombineSketches::GetToolTip()':
/home/user/Downloads/heeksbuild/heekscad/src/ConversionTools.h:122:36: error: 
cannot convert 'const wxString' to 'const wxChar* {aka const wchar_t*}' in 
return
  const wxChar* GetToolTip(){return _("Combine selected sketches");}
                                    ^
/home/user/Downloads/heeksbuild/heekscad/src/ConversionTools.h: In member 
function 'virtual const wxChar* UniteSketches::GetTitle()':
/home/user/Downloads/heeksbuild/heekscad/src/ConversionTools.h:129:34: error: 
cannot convert 'const wxString' to 'const wxChar* {aka const wchar_t*}' in 
return
  const wxChar* GetTitle(){return _("Unite sketches");}
                                  ^
/home/user/Downloads/heeksbuild/heekscad/src/ConversionTools.h: In member 
function 'virtual const wxChar* UniteSketches::GetToolTip()':
/home/user/Downloads/heeksbuild/heekscad/src/ConversionTools.h:131:36: error: 
cannot convert 'const wxString' to 'const wxChar* {aka const wchar_t*}' in 
return
  const wxChar* GetToolTip(){return _("Unite selected sketches");}
                                    ^
/home/user/Downloads/heeksbuild/heekscad/src/ConversionTools.h: In member 
function 'virtual const wxChar* GroupSelected::GetTitle()':
/home/user/Downloads/heeksbuild/heekscad/src/ConversionTools.h:138:34: error: 
cannot convert 'const wxString' to 'const wxChar* {aka const wchar_t*}' in 
return
  const wxChar* GetTitle(){return _("Group");}
                                  ^
/home/user/Downloads/heeksbuild/heekscad/src/ConversionTools.h: In member 
function 'virtual const wxChar* GroupSelected::GetToolTip()':
/home/user/Downloads/heeksbuild/heekscad/src/ConversionTools.h:140:36: error: 
cannot convert 'const wxString' to 'const wxChar* {aka const wchar_t*}' in 
return
  const wxChar* GetToolTip(){return _("Group selected items");}
                                    ^
/home/user/Downloads/heeksbuild/heekscad/src/ConversionTools.h: In member 
function 'virtual const wxChar* UngroupSelected::GetTitle()':
/home/user/Downloads/heeksbuild/heekscad/src/ConversionTools.h:147:34: error: 
cannot convert 'const wxString' to 'const wxChar* {aka const wchar_t*}' in 
return
  const wxChar* GetTitle(){return _("Ungroup");}
                                  ^
/home/user/Downloads/heeksbuild/heekscad/src/ConversionTools.h: In member 
function 'virtual const wxChar* UngroupSelected::GetToolTip()':
/home/user/Downloads/heeksbuild/heekscad/src/ConversionTools.h:149:36: error: 
cannot convert 'const wxString' to 'const wxChar* {aka const wchar_t*}' in 
return
  const wxChar* GetToolTip(){return _("Ungroup selected items");}
                                    ^
/home/user/Downloads/heeksbuild/heekscad/src/ConversionTools.h: In member 
function 'virtual const wxChar* TransformToCoordSys::GetTitle()':
/home/user/Downloads/heeksbuild/heekscad/src/ConversionTools.h:159:34: error: 
cannot convert 'const wxString' to 'const wxChar* {aka const wchar_t*}' in 
return
  const wxChar* GetTitle(){return _("Transform to Coordinate System");}
                                  ^
/home/user/Downloads/heeksbuild/heekscad/src/ConversionTools.h: In member 
function 'virtual const wxChar* TransformToCoordSys::GetToolTip()':
/home/user/Downloads/heeksbuild/heekscad/src/ConversionTools.h:161:36: error: 
cannot convert 'const wxString' to 'const wxChar* {aka const wchar_t*}' in 
return
  const wxChar* GetToolTip(){return _("Transform selected items using two coordinate systems");}
                                    ^
/home/user/Downloads/heeksbuild/heekscad/src/CoordinateSystem.h: In member 
function 'virtual const wxChar* CoordinateSystem::GetTypeString() const':
/home/user/Downloads/heeksbuild/heekscad/src/CoordinateSystem.h:32:48: error: 
cannot convert 'const wxString' to 'const wxChar* {aka const wchar_t*}' in 
return
  const wxChar* GetTypeString(void)const{return _("Coordinate System");}
                                                ^
/home/user/Downloads/heeksbuild/heekscad/src/Face.h: In member function 
'virtual const wxChar* CFace::GetTypeString() const':
/home/user/Downloads/heeksbuild/heekscad/src/Face.h:44:48: error: cannot 
convert 'const wxString' to 'const wxChar* {aka const wchar_t*}' in return
  const wxChar* GetTypeString(void)const{return _("Face");}
                                                ^
/home/user/Downloads/heeksbuild/heekscad/src/Face.h: In member function 
'virtual const wxChar* FaceToSketchTool::GetTitle()':
/home/user/Downloads/heeksbuild/heekscad/src/Face.h:85:34: error: cannot 
convert 'const wxString' to 'const wxChar* {aka const wchar_t*}' in return
  const wxChar* GetTitle(){return _("Make a sketch from face");}
                                  ^
/home/user/Downloads/heeksbuild/heekscad/src/Edge.h: In member function 
'virtual const wxChar* CEdge::GetTypeString() const':
/home/user/Downloads/heeksbuild/heekscad/src/Edge.h:54:48: error: cannot 
convert 'const wxString' to 'const wxChar* {aka const wchar_t*}' in return
  const wxChar* GetTypeString(void)const{return _("Edge");}
                                                ^
/home/user/Downloads/heeksbuild/heekscad/src/Gripper.h: In member function 
'virtual const wxChar* Gripper::GetTypeString() const':
/home/user/Downloads/heeksbuild/heekscad/src/Gripper.h:23:48: error: cannot 
convert 'const wxString' to 'const wxChar* {aka const wchar_t*}' in return
  const wxChar* GetTypeString(void)const{return _("Gripper");}
                                                ^
/home/user/Downloads/heeksbuild/heekscad/src/ShapeTools.h: In member function 
'virtual const wxChar* CFaceList::GetTypeString() const':
/home/user/Downloads/heeksbuild/heekscad/src/ShapeTools.h:12:48: error: cannot 
convert 'const wxString' to 'const wxChar* {aka const wchar_t*}' in return
  const wxChar* GetTypeString(void)const{return _("Faces");}
                                                ^
/home/user/Downloads/heeksbuild/heekscad/src/ShapeTools.h: In member function 
'virtual const wxChar* CEdgeList::GetTypeString() const':
/home/user/Downloads/heeksbuild/heekscad/src/ShapeTools.h:21:48: error: cannot 
convert 'const wxString' to 'const wxChar* {aka const wchar_t*}' in return
  const wxChar* GetTypeString(void)const{return _("Edges");}
                                                ^
/home/user/Downloads/heeksbuild/heekscad/src/ShapeTools.h: In member function 
'virtual const wxChar* CVertexList::GetTypeString() const':
/home/user/Downloads/heeksbuild/heekscad/src/ShapeTools.h:30:48: error: cannot 
convert 'const wxString' to 'const wxChar* {aka const wchar_t*}' in return
  const wxChar* GetTypeString(void)const{return _("Vertices");}
                                                ^
/home/user/Downloads/heeksbuild/heekscad/src/Sketch.h: In member function 
'virtual const wxChar* CSketch::GetTypeString() const':
/home/user/Downloads/heeksbuild/heekscad/src/Sketch.h:36:48: error: cannot 
convert 'const wxString' to 'const wxChar* {aka const wchar_t*}' in return
  const wxChar* GetTypeString(void)const{return _("Sketch");}
                                                ^
/home/user/Downloads/heeksbuild/heekscad/src/Solid.h: In member function 
'virtual const wxChar* CSolid::GetTypeString() const':
/home/user/Downloads/heeksbuild/heekscad/src/Solid.h:26:48: error: cannot 
convert 'const wxString' to 'const wxChar* {aka const wchar_t*}' in return
  const wxChar* GetTypeString(void)const{return _("Solid");}
                                                ^
/home/user/Downloads/heeksbuild/heekscad/interface/DoubleInput.cpp: In member 
function 'virtual const wxChar* CInputApply::GetTitle()':
/home/user/Downloads/heeksbuild/heekscad/interface/DoubleInput.cpp:19:34: 
error: cannot convert 'const wxString' to 'const wxChar* {aka const wchar_t*}' 
in return
  const wxChar* GetTitle(){return _("Apply");}
                                  ^
/home/user/Downloads/heeksbuild/heekscad/interface/DoubleInput.cpp: In member 
function 'virtual const wxChar* CInputApply::GetToolTip()':
/home/user/Downloads/heeksbuild/heekscad/interface/DoubleInput.cpp:21:36: 
error: cannot convert 'const wxString' to 'const wxChar* {aka const wchar_t*}' 
in return
  const wxChar* GetToolTip(){return _("Accept value and continue");}
                                    ^
/home/user/Downloads/heeksbuild/heekscad/interface/DoubleInput.cpp: In member 
function 'virtual const wxChar* CInputCancel::GetTitle()':
/home/user/Downloads/heeksbuild/heekscad/interface/DoubleInput.cpp:29:34: 
error: cannot convert 'const wxString' to 'const wxChar* {aka const wchar_t*}' 
in return
  const wxChar* GetTitle(){return _("Cancel");}
                                  ^
/home/user/Downloads/heeksbuild/heekscad/interface/DoubleInput.cpp: In member 
function 'virtual const wxChar* CInputCancel::GetToolTip()':
/home/user/Downloads/heeksbuild/heekscad/interface/DoubleInput.cpp:31:36: 
error: cannot convert 'const wxString' to 'const wxChar* {aka const wchar_t*}' 
in return
  const wxChar* GetToolTip(){return _("Cancel operation");}
                                    ^
/home/user/Downloads/heeksbuild/heekscad/interface/DoubleInput.cpp:31:58: 
warning: control reaches end of non-void function [-Wreturn-type]
  const wxChar* GetToolTip(){return _("Cancel operation");}
                                                          ^
/home/user/Downloads/heeksbuild/heekscad/interface/DoubleInput.cpp: In member 
function 'virtual const wxChar* CInputCancel::GetTitle()':
/home/user/Downloads/heeksbuild/heekscad/interface/DoubleInput.cpp:29:46: 
warning: control reaches end of non-void function [-Wreturn-type]
  const wxChar* GetTitle(){return _("Cancel");}
                                              ^
/home/user/Downloads/heeksbuild/heekscad/interface/DoubleInput.cpp: In member 
function 'virtual const wxChar* CInputApply::GetToolTip()':
/home/user/Downloads/heeksbuild/heekscad/interface/DoubleInput.cpp:21:67: 
warning: control reaches end of non-void function [-Wreturn-type]
  const wxChar* GetToolTip(){return _("Accept value and continue");}
                                                                   ^
/home/user/Downloads/heeksbuild/heekscad/interface/DoubleInput.cpp: In member 
function 'virtual const wxChar* CInputApply::GetTitle()':
/home/user/Downloads/heeksbuild/heekscad/interface/DoubleInput.cpp:19:45: 
warning: control reaches end of non-void function [-Wreturn-type]
  const wxChar* GetTitle(){return _("Apply");}
                                             ^
interface/CMakeFiles/heeksintf.dir/build.make:54: recipe for target 
'interface/CMakeFiles/heeksintf.dir/DoubleInput.cpp.o' failed
make[2]: *** [interface/CMakeFiles/heeksintf.dir/DoubleInput.cpp.o] Error 1
CMakeFiles/Makefile2:75: recipe for target 
'interface/CMakeFiles/heeksintf.dir/all' failed
make[1]: *** [interface/CMakeFiles/heeksintf.dir/all] Error 2
Makefile:137: recipe for target 'all' failed
make: *** [all] Error 2

Linux pc 3.15.2-1-ARCH #1 SMP PREEMPT Fri Jun 27 07:41:19 CEST 2014 x86_64 
GNU/Linux

Original issue reported on code.google.com by user0...@gmail.com on 5 Jul 2014 at 10:20

Attachments:

GoogleCodeExporter commented 9 years ago
Hello,

wxWidgets 3.0 support is still experimental.

Could you try to use wxWidgets 2.8 or 2.9, please?

Original comment by neomil...@gmail.com on 6 Jul 2014 at 11:22

GoogleCodeExporter commented 9 years ago
in the previous case, i had installed 
$ pacman -Q | grep -i wx
wxgtk 3.0.1-1
wxgtk2.8 2.8.12.1-1
wxpython 3.0.0.0-2
wxpython2.8 2.8.12.1-1

After build and install package wxwidgets 2.8.12-1
$ pacman -Q | grep -i wx

wxgtk 3.0.1-1
wxgtk2.8 2.8.12.1-1
wxpython 3.0.0.0-2
wxpython2.8 2.8.12.1-1
wxwidgets 2.8.12-1

$ cmake ..
-- The C compiler identification is GNU 4.9.0
-- The CXX compiler identification is GNU 4.9.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Found wxWidgets: TRUE  
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.28") 
-- checking for module 'libarea'
--   package 'libarea' not found
-- libarea_INCLUDE_DIRS:     /usr/local/include/area
-- libarea_LIBRARIES:     /usr/local/lib/libarea.so
-- CMAKE_BUILD_TYPE: 
-- CMAKE_INSTALL_PREFIX: /usr/local
-- Found PythonLibs: /usr/lib64/libpython3.4m.so (found version "3.4.1") 
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so - 
found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib64/libX11.so
-- Found OpenGL: /usr/lib64/libGL.so  
-- wxWidgets_LIBRARIES: 
-L/usr/local/lib;-pthread;-Wl,-O1,--sort-common,--as-needed,-z,relro;;-lwx_base-
2.8;-lwx_gtk2_core-2.8;-lwx_gtk2_gl-2.8;-lwx_gtk2_aui-2.8
-- wxWidgets_ROOT_DIR: 
-- wxWidgets_INCLUDE_DIRS: 
/usr/local/lib/wx/include/gtk2-ansi-release-2.8;/usr/local/include/wx-2.8
-- Configuring done
-- Generating done
-- Build files have been written to: 
/home/user/Downloads/heeksbuild/heekscad/build

$ make
[  1%] Building CXX object interface/CMakeFiles/heeksintf.dir/DoubleInput.cpp.o
[  2%] Building CXX object interface/CMakeFiles/heeksintf.dir/Geom.cpp.o
[  2%] Building CXX object interface/CMakeFiles/heeksintf.dir/HDialogs.cpp.o
[  3%] Building CXX object 
interface/CMakeFiles/heeksintf.dir/HeeksCADInterface.cpp.o
In file included from 
/home/user/Downloads/heeksbuild/heekscad/interface/HeeksCADInterface.cpp:28:0:
/home/user/Downloads/heeksbuild/heekscad/src/GraphicsCanvas.h:54:41: error: 
expected class-name before ',' token
 class CGraphicsCanvas: public wxGLCanvas, public CViewport, Observer
                                         ^
/home/user/Downloads/heeksbuild/heekscad/interface/HeeksCADInterface.cpp: In 
member function 'virtual wxWindow* CHeeksCADInterface::GetGraphicsCanvas()':
/home/user/Downloads/heeksbuild/heekscad/interface/HeeksCADInterface.cpp:108:29:
 error: cannot convert 'CGraphicsCanvas*' to 'wxWindow*' in return
  return wxGetApp().m_frame->m_graphics;
                             ^
/home/user/Downloads/heeksbuild/heekscad/interface/HeeksCADInterface.cpp:109:1: 
warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
interface/CMakeFiles/heeksintf.dir/build.make:123: recipe for target 
'interface/CMakeFiles/heeksintf.dir/HeeksCADInterface.cpp.o' failed
make[2]: *** [interface/CMakeFiles/heeksintf.dir/HeeksCADInterface.cpp.o] Error 
1
CMakeFiles/Makefile2:75: recipe for target 
'interface/CMakeFiles/heeksintf.dir/all' failed
make[1]: *** [interface/CMakeFiles/heeksintf.dir/all] Error 2
Makefile:137: recipe for target 'all' failed
make: *** [all] Error 2

After build and install package wxwidgets 3.0.1-1

$ pacman -Q | grep -i wx

wxgtk 3.0.1-1
wxgtk2.8 2.8.12.1-1
wxpython 3.0.0.0-2
wxpython2.8 2.8.12.1-1
wxwidgets 3.0.1-1

$ cmake ..
-- The C compiler identification is GNU 4.9.0
-- The CXX compiler identification is GNU 4.9.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Found wxWidgets: TRUE  
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.28") 
-- checking for module 'libarea'
--   package 'libarea' not found
-- libarea_INCLUDE_DIRS:     /usr/local/include/area
-- libarea_LIBRARIES:     /usr/local/lib/libarea.so
-- CMAKE_BUILD_TYPE: 
-- CMAKE_INSTALL_PREFIX: /usr/local
-- Found PythonLibs: /usr/lib64/libpython3.4m.so (found version "3.4.1") 
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so - 
found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib64/libX11.so
-- Found OpenGL: /usr/lib64/libGL.so  
-- wxWidgets_LIBRARIES: 
-L/usr/local/lib;-pthread;;;-lwx_baseu-3.0;-lwx_gtk2u_core-3.0;-lwx_gtk2u_gl-3.0
;-lwx_gtk2u_aui-3.0
-- wxWidgets_ROOT_DIR: 
-- wxWidgets_INCLUDE_DIRS: 
/usr/local/lib/wx/include/gtk2-unicode-3.0;/usr/local/include/wx-3.0
-- Configuring done
-- Generating done
-- Build files have been written to: 
/home/user/Downloads/heeksbuild/heekscad/build

$ make
Scanning dependencies of target heeksintf
[  1%] Building CXX object interface/CMakeFiles/heeksintf.dir/DoubleInput.cpp.o
...
[100%] Built target heekscad

$ heekscad-1.0.0 
heekscad-1.0.0: error while loading shared libraries: libheekstinyxml.so.1.0.0: 
cannot open shared object file: No such file or directory

After

sudo ln -s /usr/local/lib/libheekstinyxml.so.1.0.0 
/usr/lib/libheekstinyxml.so.1.0.0
sudo ln -s /usr/local/lib/libheeksintf.so.1.0.0 /usr/lib/libheeksintf.so.1.0.0

or 

cmake -DCMAKE_INSTALL_PREFIX=/usr .. & make & sudo make install

$ heekscad-1.0.0 
heekscad-1.0.0: relocation error: /usr/lib/libheeksintf.so.1.0.0: symbol 
_ZThn624_NK8wxChoice8GetCountEv, version WXU_3.0 not defined in file 
libwx_gtk2u_core-3.0.so.0 with link time reference

Original comment by user0...@gmail.com on 7 Jul 2014 at 11:42

Attachments:

GoogleCodeExporter commented 9 years ago
Error seems to mention wxWidget 3.0 usage (WXU_3.0 not defined) while you 
should be sure that it use only wxWidget 2.8 (never tried on 2.9 but "should 
work").

So, there is an error there and you also have to be sure to follow this order:
 - compile heekscad with wx2.8
 - install heekscad (this is important: it also installed used files to compile plugins - ie. heekscnc)
 - compile heekscnc against freshly installed heekscad and 2.8
 - install it

Original comment by neomil...@gmail.com on 14 Jul 2014 at 7:52

GoogleCodeExporter commented 9 years ago
Hello,

matael updated packages HeeksCAD, HeeksCNC (and libarea) to AUR for ArchLinux.

Feel free to try these packages :-)

https://aur.archlinux.org/packages/heekscnc-svn/

For the record: problems come from an "auto-selection" of wx3.0 files while 
wx2.8 is the only supported version ATM. So, to fix it matael forces wxWidget 
2.8 usage at build time:

cmake -DCMAKE_INSTALL_PREFIX=/usr 
-DwxWidgets_wxrc_EXECUTABLE='/usr/bin/wxrc-2.8' 
-DwxWidgets_CONFIG_EXECUTABLE='/usr/bin/wx-config-2.8' ..

Original comment by neomil...@gmail.com on 4 Aug 2014 at 3:56