SolveSpace Logo SOLVESPACE -- parametric 2d/3d CAD
Examples
Tutorials
Features
Download
Reference
Technology
Library
Forum
Contact
USER FORUM

(you are viewing a thread; or go back to list of threads)

solvespace 3..0 on debian linux (by joe sypski)
I would like to use solvespace, but there were some problems;
Since solvespace 3.0rc2 on latest debian is little "choppy", I'm trying to build latest solvespace from source. Unfortunately, solvespace requires several dependencies that are not available on debian (e.q. mimallock), that makes this process impossible.
This is my second attempt; several years ago I have tried to do a same thing with one of the previous version; I have abandoned my effort, since the problems were the same.
Sun Jul 18 2021, 13:13:16
(no subject) (by Andrew)
Solvespace 3.0 is available on bullseye/testing. which is in freeze for release. You could switch to this version,either as bullseye, and remain with it when it becomes stable, or as testing and stay on testing, I have found testing to be reliable over the past 6 or so years.
Sun Jul 18 2021, 16:56:33
(no subject) (by joe sypski)
Since new AMD CPU does to work (graphics) on kernel below 5.4x; actually, I'm using testing (bullseye). The solvespace on testing is 3.0 rc2 and is little bit "choppy"; screen does not fully update all the time and weird behavior during the extrusion. I thought that stable version on git will be better, why I'm trying to build it from source.
Solvespace is a great software, but not suited for debian; there are too many hoops to jump.

I appreciate your help.
Sun Jul 18 2021, 19:39:05
(no subject) (by joe sypski)
Correction, graphics of new AMD CPUs do NOT work on kernel below 5.4x.
Sun Jul 18 2021, 19:44:19
(no subject) (by Paul)
If you follow the instructions on github for building from source, the sub modules (mimalloc) should be pulled in via the sub module update.
Sun Jul 18 2021, 19:55:30
(no subject) (by joe sypski)
Yes, I have followed the directions and cmake works w/o errors. However during building it stops with following text:
<...>
[ 69%] Building CXX object src/CMakeFiles/solvespace.dir/render/rendergl3.cpp.o
[ 70%] Building CXX object src/CMakeFiles/solvespace.dir/platform/entrygui.cpp.o
[ 70%] Building CXX object src/CMakeFiles/solvespace.dir/platform/guigtk.cpp.o
/home/joe/solvespace/src/platform/guigtk.cpp: In function ‘void SolveSpace::Platform::OpenInBrowser(const string&)’:
/home/joe/solvespace/src/platform/guigtk.cpp:1481:89: warning: ‘gboolean gtk_show_uri(GdkScreen*, const gchar*, guint32, GError**)’ is deprecated: Use 'gtk_show_uri_on_window' instead [-Wdeprecated-declarations]
1481 | gtk_show_uri(Gdk::Screen::get_default()->gobj(), url.c_str(), GDK_CURRENT_TIME, NULL);
| ^
In file included from /usr/include/gtk-3.0/gtk/gtk.h:200,
from /usr/include/gtkmm-3.0/gtkmm/enums.h:28,
from /usr/include/gtkmm-3.0/gtkmm/widget.h:47,
from /usr/include/gtkmm-3.0/gtkmm/container.h:28,
from /usr/include/gtkmm-3.0/gtkmm/box.h:27,
from /home/joe/solvespace/src/platform/guigtk.cpp:13:
/usr/include/gtk-3.0/gtk/gtkshow.h:33:10: note: declared here
33 | gboolean gtk_show_uri (GdkScreen *screen,
| ^~~~~~~~~~~~
[ 70%] Linking CXX executable ../bin/solvespace
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/libX11.a(CrGlCur.o): undefined reference to symbol 'dlsym@@GLIBC_2.2.5'
/usr/bin/ld: /lib/x86_64-linux-gnu/libdl.so.2: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[2]: *** [src/CMakeFiles/solvespace.dir/build.make:176: bin/solvespace] Error 1
make[1]: *** [CMakeFiles/Makefile2:361: src/CMakeFiles/solvespace.dir/all] Error 2
make: *** [Makefile:149: all] Error 2
Sun Jul 18 2021, 20:16:49
(no subject) (by app4soft)
> The solvespace on testing is 3.0 rc2

3.0rc2 is probably outdated, as 3.0 released few month ago and there are a lot of commits in `master`

As for Debian/Ubuntu I recommend to use SolveSpace 3.0~`master` DEB builds from the next PPA:

https://notesalexp.org/packages/en/buster/amd64/solvespace/
Tue Jul 20 2021, 04:49:51
Let's pull together - Debian based Docker image (by asko)
Joe, I'm working on a Docker image for SolveSpace. Would you be willing to collaborate?

https://github.com/akauppi/docker-solvespace
Sun Jul 25 2021, 12:57:39
Let's pull together - Debian based Docker image (by joe sypski)
Thank you for invitation, however my knowledge of docker is negligible. According to github post, one needs macOS to run current Solvespace within Docker. (I think Docker can run on Linux env.) Currently, I do not have mac handy. All my copmuting devices run modified version of Debian. I use containers, however most of my software run in time critical environment, hence I do not use virtualization. I have very little knowledge about techniques used by Docker.
Wed Jul 28 2021, 22:04:47
Post a reply to this comment:
Your Name:
Your Email:
Subject:
(no HTML tags; use plain text, and hit Enter for a line break)
Attached file (if you want, 5 MB max):
© 2008-2022 SolveSpace contributors. Most recent update June 2 2022.