discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

building from source issues

JD
John David
Mon, Feb 10, 2025 4:13 AM

I've tried to follow
https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Building_on_Linux/UNIX
to build openscad from source, but when I get to qmake, it complains that
there are two modes and does nothing.  I think it is missing an input file
in the instructions, but when I look I cannot find any .pro files except in
the OpenCGS submodules.  Does anyone have suggestions?

There is also a decades old note from:
https://github.com/openscad/openscad/issues/252 to set the variables by "source
scripts/setenv-unibuild.sh qt5"

Also, I am still getting the error
/usr/bin/ld:
/usr/lib/x86_64-linux-gnu/libharfbuzz.a(libharfbuzz_la-hb-graphite2.o):
undefined reference to symbol 'gr_slot_advance_Y'
even though I am adding QMAKE_LFLAGS+=-Wl,--start-group to the make.

Any suggestions?

EBo --

I've tried to follow https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Building_on_Linux/UNIX to build openscad from source, but when I get to qmake, it complains that there are two modes and does nothing. I think it is missing an input file in the instructions, but when I look I cannot find any .pro files except in the OpenCGS submodules. Does anyone have suggestions? There is also a decades old note from: https://github.com/openscad/openscad/issues/252 to set the variables by "source scripts/setenv-unibuild.sh qt5" Also, I am still getting the error /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libharfbuzz.a(libharfbuzz_la-hb-graphite2.o): undefined reference to symbol 'gr_slot_advance_Y' even though I am adding QMAKE_LFLAGS+=-Wl,--start-group to the make. Any suggestions? EBo --
VB
Verachten Bruno
Mon, Feb 10, 2025 9:12 AM

What works for me is:

Update submodules,  install dependencies, and build OpenSCAD

RUN cd /openscad && git submodule update --init --recursive
&& ./scripts/uni-get-dependencies.sh && ./scripts/check-dependencies.sh

&& cmake -B build -DEXPERIMENTAL=1
&& cmake --build build -j$(nproc)
&& cmake --install build --prefix /usr/local
&& mkdir -p /output
&& cp /usr/local/bin/openscad /output/

On Mon, Feb 10, 2025 at 5:13 AM John David via Discuss <
discuss@lists.openscad.org> wrote:

I've tried to follow
https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Building_on_Linux/UNIX
to build openscad from source, but when I get to qmake, it complains that
there are two modes and does nothing.  I think it is missing an input file
in the instructions, but when I look I cannot find any .pro files except in
the OpenCGS submodules.  Does anyone have suggestions?

There is also a decades old note from:
https://github.com/openscad/openscad/issues/252 to set the variables by "source
scripts/setenv-unibuild.sh qt5"

Also, I am still getting the error
/usr/bin/ld:
/usr/lib/x86_64-linux-gnu/libharfbuzz.a(libharfbuzz_la-hb-graphite2.o):
undefined reference to symbol 'gr_slot_advance_Y'
even though I am adding QMAKE_LFLAGS+=-Wl,--start-group to the make.

Any suggestions?

EBo --


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org

--
Bruno Verachten

What works for me is: # Update submodules, install dependencies, and build OpenSCAD RUN cd /openscad && git submodule update --init --recursive \ && ./scripts/uni-get-dependencies.sh && ./scripts/check-dependencies.sh \ && cmake -B build -DEXPERIMENTAL=1 \ && cmake --build build -j$(nproc) \ && cmake --install build --prefix /usr/local \ && mkdir -p /output \ && cp /usr/local/bin/openscad /output/ On Mon, Feb 10, 2025 at 5:13 AM John David via Discuss < discuss@lists.openscad.org> wrote: > I've tried to follow > https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Building_on_Linux/UNIX > to build openscad from source, but when I get to qmake, it complains that > there are two modes and does nothing. I think it is missing an input file > in the instructions, but when I look I cannot find any .pro files except in > the OpenCGS submodules. Does anyone have suggestions? > > There is also a decades old note from: > https://github.com/openscad/openscad/issues/252 to set the variables by "source > scripts/setenv-unibuild.sh qt5" > > Also, I am still getting the error > /usr/bin/ld: > /usr/lib/x86_64-linux-gnu/libharfbuzz.a(libharfbuzz_la-hb-graphite2.o): > undefined reference to symbol 'gr_slot_advance_Y' > even though I am adding QMAKE_LFLAGS+=-Wl,--start-group to the make. > > Any suggestions? > > EBo -- > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org > -- Bruno Verachten
TP
Torsten Paul
Mon, Feb 10, 2025 10:41 AM

On 10.02.25 05:13, John David via Discuss wrote:

I've tried to follow https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/
Building_on_Linux/UNIX

This refers to the, by now very old, release version. When building
the latest code from github the process in the README in the repo
should work.

ciao,
Torsten.

On 10.02.25 05:13, John David via Discuss wrote: > I've tried to follow https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/ > Building_on_Linux/UNIX This refers to the, by now very old, release version. When building the latest code from github the process in the README in the repo should work. ciao, Torsten.
JD
John David
Mon, Feb 10, 2025 8:31 PM

Thank you Verachten & Torsten, I got it built.  I still have a  libGLEW
version warning, but I now have a time([prior]) working.

EBo --

On Mon, Feb 10, 2025 at 5:41 AM Torsten Paul via Discuss <
discuss@lists.openscad.org> wrote:

On 10.02.25 05:13, John David via Discuss wrote:

I've tried to follow https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/
Building_on_Linux/UNIX

This refers to the, by now very old, release version. When building
the latest code from github the process in the README in the repo
should work.

ciao,
Torsten.


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org

Thank you Verachten & Torsten, I got it built. I still have a libGLEW version warning, but I now have a time([prior]) working. EBo -- On Mon, Feb 10, 2025 at 5:41 AM Torsten Paul via Discuss < discuss@lists.openscad.org> wrote: > On 10.02.25 05:13, John David via Discuss wrote: > > I've tried to follow https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/ > > Building_on_Linux/UNIX > > This refers to the, by now very old, release version. When building > the latest code from github the process in the README in the repo > should work. > > ciao, > Torsten. > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org >
MK
Marius Kintel
Mon, Feb 10, 2025 9:14 PM

To get rid of the GLEW issue, building with -DUSE_BUILTIN_OPENCSG=1 might help

On Feb 10, 2025, at 15:32, John David via Discuss <discuss@lists.openscad.org> wrote:

Thank you Verachten & Torsten, I got it built. I still have a libGLEW version warning, but I now have a time([prior]) working.

EBo --

On Mon, Feb 10, 2025 at 5:41 AM Torsten Paul via Discuss <discuss@lists.openscad.org> wrote:

On 10.02.25 05:13, John David via Discuss wrote:
> I've tried to follow https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/
> Building_on_Linux/UNIX

This refers to the, by now very old, release version. When building
the latest code from github the process in the README in the repo
should work.

ciao,
Torsten.
_______________________________________________
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org

_______________________________________________
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org

JD
John David
Mon, Feb 10, 2025 9:35 PM

Thanks!  That fixed the last of my warnings.

On Mon, Feb 10, 2025 at 4:14 PM Marius Kintel marius@kintel.net wrote:

To get rid of the GLEW issue, building with -DUSE_BUILTIN_OPENCSG=1 might
help

On Feb 10, 2025, at 15:32, John David via Discuss <
discuss@lists.openscad.org> wrote:


Thank you Verachten & Torsten, I got it built.  I still have a  libGLEW
version warning, but I now have a time([prior]) working.

EBo --

On Mon, Feb 10, 2025 at 5:41 AM Torsten Paul via Discuss <
discuss@lists.openscad.org> wrote:

On 10.02.25 05:13, John David via Discuss wrote:

I've tried to follow

Building_on_Linux/UNIX

This refers to the, by now very old, release version. When building
the latest code from github the process in the README in the repo
should work.

ciao,
Torsten.


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org

Thanks! That fixed the last of my warnings. On Mon, Feb 10, 2025 at 4:14 PM Marius Kintel <marius@kintel.net> wrote: > To get rid of the GLEW issue, building with -DUSE_BUILTIN_OPENCSG=1 might > help > > On Feb 10, 2025, at 15:32, John David via Discuss < > discuss@lists.openscad.org> wrote: > >  > Thank you Verachten & Torsten, I got it built. I still have a libGLEW > version warning, but I now have a time([prior]) working. > > EBo -- > > > On Mon, Feb 10, 2025 at 5:41 AM Torsten Paul via Discuss < > discuss@lists.openscad.org> wrote: > >> On 10.02.25 05:13, John David via Discuss wrote: >> > I've tried to follow >> https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/ >> > Building_on_Linux/UNIX >> >> This refers to the, by now very old, release version. When building >> the latest code from github the process in the README in the repo >> should work. >> >> ciao, >> Torsten. >> _______________________________________________ >> OpenSCAD mailing list >> To unsubscribe send an email to discuss-leave@lists.openscad.org >> > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org > >