mirror of https://github.com/vitalif/openscad
a workaround for LD_LIBRARY_PATH having to be set every time you want to
run openscad if you build your own dependencies.felipesanches-svg
parent
51259e6caa
commit
4cc6e2a1b1
|
@ -174,7 +174,14 @@ check dependencies
|
|||
source ./scripts/setenv-unibuild.sh
|
||||
./scripts/check-dependencies.sh
|
||||
|
||||
Then follow the Compilation instructions below.
|
||||
Then follow the Compilation instructions below.
|
||||
|
||||
Note that if you build dependencies with this method, you may have to
|
||||
modify your LD_LIBRARY_PATH environment variable every time you run the
|
||||
openscad binary to avoid library problems. A workaround script called
|
||||
"openscad-unirun.sh" has been included to solve this: copy it somewhere
|
||||
in your PATH (/usr/local/bin) and run 'openscad-unirun.sh' instead of
|
||||
the openscad binary.
|
||||
|
||||
### Building for Windows
|
||||
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
#!/bin/sh
|
||||
|
||||
LD_LIBRARY_PATH=$HOME/openscad_deps/lib:$HOME/openscad_deps/lib64:$LD_LIBRARY_PATH openscad
|
||||
|
Loading…
Reference in New Issue