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