-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Start failed after build on archlinux with segmentation (core dumpbed) #411
Comments
A debug trace could help :-) Nevertheless, the warning could point the problem :
|
Try commenting out these lines:
|
@matael Does it work now under Arch ? |
No sadly it does not. Backtrace:
Tell me if i can do anything to debug. |
Ok now this is strange. With the two lines commented as shown above it now starts every second time.
New backtrace:
|
Ok "works" is some kind of misleading. The main window shows up. As soon as i create a sketch it crashes again:
|
I just tested again and I needed to specify the C++98 standard to get it working. I'm not sure that this is the best way to do it, but here are the changes that I made.
|
Strange, I was having these segfaults on Arch Linux too and rather than |
Now Arch has moved on to wxWidgets version 3. That does need the c++11 flag to build. I have tried it only briefly, but was able to create a simple sketch. The version that I am actively using was compiled with wxWidgets version 2.8. Doing this with both 3.0 and 2.8 installed means running:
For the flags used to compile wxWidgets, I used the PKGBUILD from here: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=wxgtk2.8
|
Got the same problem on Gentoo on wxWidgets-3.0. |
Ok, the problem boils down to wxWidgets and heekscad being built w/ different C++ compiler{, version}s. |
I got a working binary using this PKGBUILD on an up-to-date Arch for heekscad:
and for Heekscnc:
I notified Christoforo (arch pkg's maintainer) on AUR. |
I have no idea how you managed to get something working. Using swig somehow I guess. The error arises in Looking at the code, it seems that with SWIG and WXPYTHON, we can avoid most of these issues. @neomilium, @danheeks Any idea on the best way to get SWIG defined ? Or to compile with swig ? |
I tried to build heekscad with this method command :
But when I would start heekscad, I see this error :
So I do not see what to do to successfully built it properly for start it... Can you help me please ?
The text was updated successfully, but these errors were encountered: