r/OpenPythonSCAD • • Feb 15 '25

Source build: breakages and fixes

Fixes for 3 build failures for OpenPythonSCAD

The source build recipe for OpenPythonSCAD is mostly working. It fell over in 3 places, which are fortunately relatively easy to fix.

cmake: Could NOT find JPEG (missing: JPEG_LIBRARY JPEG_INCLUDE_DIR)

Solution:

sudo apt install libjpeg-dev` then repeat the cmake command

make: curl/curl.h: No such file or directory

Solution:

sudo apt install libcurl4-openssl-dev

sudo make install: INSTALL cannot find ... libfive.so

Solution:

cd ../submodules/libfive
mkdir build
cd build
cmake ..
make -j4
cd ../../build/submodules
ln -s ../../submodules/libfive/build libfive
cd ..
sudo make install
4 Upvotes

4 comments sorted by

View all comments

Show parent comment

1

u/gadget3D Feb 15 '25

thank you for the details

i created a new commit b5ef991a4f14f90195b86ac4bda8684b84aa48a1 with your input. Thank you!

I can however not understand, why libfibgive does not automatially build in your system

1

u/Glad-Studio-9179 Feb 18 '25

Debian 12 standard install