Comments (4)
Hello,
wxWidgets 3.0 support is still experimental.
Could you try to use wxWidgets 2.8 or 2.9, please?
Original comment by [email protected]
on 6 Jul 2014 at 11:22
- Changed state: Accepted
from heekscad.
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 [email protected]
on 7 Jul 2014 at 11:42
Attachments:
from heekscad.
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 [email protected]
on 14 Jul 2014 at 7:52
- Added labels: OpSys-Linux
from heekscad.
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 [email protected]
on 4 Aug 2014 at 3:56
- Changed state: Done
from heekscad.
Related Issues (20)
- "Transformations Tool Bar" does exists but dont have items HOT 3
- missing libheekscnc.so HOT 1
- Translation catalog contains HeeksCAD and HeeksCNC strings
- Suggestion: shift and ctrl modifiers for mouse buttons HOT 1
- Zoom Extents Crash HOT 1
- Problem by BuildDebianPackages HOT 1
- Some error during satrtup when using wxgtk3.0 HOT 3
- Heekscad crashed when mouseover on CAD Window HOT 3
- Unable to import a simple DXF file HOT 1
- DXF: encoding issue with layer name HOT 3
- Strange behaviour when leaving application with modified project file HOT 3
- Project file is not set as "modified" on import HOT 2
- Suggest a relevant name on saving new file if an iport occured HOT 1
- Default project filename is untranslated on application starts HOT 1
- Compatibility with opencascade-6.8 and boost-1.58 HOT 4
- Compatibility with opencascade-6.8 HOT 3
- Compatibility with boost-1.58 HOT 5
- Error when running from bash HOT 5
- G code goes crazy
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from heekscad.