An updated tarball of my povr branch. A little rushed, but want to post
a new one ahead of being busy with real life for a bit.
Copy to a directory where you want to try and compile. For me it was
/tmp/testTar.
mkdir /tmp/testTar
cd /tmp/testTar
<download povray-3.8.0-x.povr_1984d6ea.tar.gz>
tar -zxvpf povray-3.8.0-x.povr_1984d6ea.tar.gz
cd povray-3.8.0-x.povr_1984d6ea
./configure -q COMPILED_BY="WFP" \
CXXFLAGS="-std=c++11 -O3 -ffast-math -march=native" \
LDFLAGS="-s" --prefix=/dev/null
make -j4
make check
Copied 'povr' script in root build directory to an executable location
in my PATH environment variable ($HOME/bin for me). An edit of this
'povr' wrapper script to point to where I did my test compile:
COMPILEDIR=/tmp/testTar/povray-3.8.0-x.povr_1984d6ea
Then:
cd /tmp/testTar/povray-3.8.0-x.povr_1984d6ea/scenes
povr --version
or via full path
$HOME/bin/povr --version
Then:
povr biscuit.pov +w800 +h600 -fn +p
povr rtr_kla.pov -cc -fn +a0.3 +am2 +r2 +w80 +h200 +rtr +kla
(q in window to stop or cntl-c)
cd fog
povr fog.pov +w800 +h600 -fn +p
...
You can also set the ./configure --prefix to a real install location.
The povr wrapper script can point to that instead and the 'installed'
version is small (5-6MB). The compiled in place ones sits at about 50MB
post build - mostly due all the object files.
See the files INSTALL.txt and README.txt for more information.
Debugging, options for faster executables and so on.
Oh, documentation is light, but there is stuff in:
./doc/povrTextDocumentation
Bill P.
Post a reply to this message
Attachments:
Download 'povray-3.8.0-x.povr_1984d6ea.tar.gz' (1771 KB)
|