Hacker News new | ask | show | jobs
by fzn 4038 days ago
This looks _very_ interesting (from a DIYer point of view), however building under GNU/Linux amd64 isn't seamless. (Missing --std statements in the Makefile, notably)

I find openscad quite painful to use, I whish I learned about Antimony before. I think this has lot of potential, as a lightweigth, intuitive, free software, notably in the maker/diyer scene.

1 comments

What changes did you have to make to get it to build?
#define M_PI and M_2_PI in three headers

add --std=c99 to CFLAGS and --std=c++11 to CXXFLAGS in Makefile

Still doesn't build, see: http://pastebin.com/T17kCyG3

Looks like a Qt version skew problem; http://doc.qt.io/qt-5/qjsonarray.html suggests that in the current Qt, the QJsonArray constructors take either zero or one arguments, and the code is trying to invoke this one introduced in Qt 5.4 http://doc.qt.io/qt-5/qjsonarray.html#QJsonArray-2, while your installation of Qt5 seems to only declare a two-argument constructor and the copy-constructor.

You probably already knew that, but I think it means the cure is probably to install Qt 5.4 (or the prerelease 5.5) from source.

Do you see other compile problems if you run make -k, or just that one?

After updating qt5base-dev using debian experimental, and adding -fPIC to the CXXFLAGS, it compiled nicely :)

edit: there seems to be a slight problem with text rendering tho(only lowercase 'a' and bullet points are drawn), see http://imgur.com/MiX1hvL More of a qt5 issue I think

Fixed it invoking as "antimony -style gtk"

According to https://wiki.archlinux.org/index.php/Uniform_Look_for_Qt_and... qt5 attempts to be smart with guessing the desktop environment under wich it is running.