5fe1a3e6637506941.jpg_fo742.jpg

编译报错
[fangjun@node01 voro++-0.4.6]$ make && make install
make -C src
make[1]: Entering directory /opt/software/lammps-1Feb14/src/voro++-0.4.6/src'
g++ -Wall -ansi -pedantic -O3 -c cell.cc
g++ -Wall -ansi -pedantic -O3 -c common.cc
g++ -Wall -ansi -pedantic -O3 -c container.cc
g++ -Wall -ansi -pedantic -O3 -c unitcell.cc
g++ -Wall -ansi -pedantic -O3 -c v_compute.cc
g++ -Wall -ansi -pedantic -O3 -c c_loops.cc
g++ -Wall -ansi -pedantic -O3 -c v_base.cc
g++ -Wall -ansi -pedantic -O3 -c wall.cc
g++ -Wall -ansi -pedantic -O3 -c pre_container.cc
g++ -Wall -ansi -pedantic -O3 -c container_prd.cc
rm -f libvoro++.a
ar rs libvoro++.a cell.o common.o container.o unitcell.o v_compute.o c_loops.o v_base.o wall.o pre_container.o container_prd.o
ar: creating libvoro++.a
g++ -Wall -ansi -pedantic -O3 -L. -o voro++ cmd_line.cc -lvoro++
make[1]: Leaving directory
/opt/software/lammps-1Feb14/src/voro++-0.4.6/src’
make -C examples
make[1]: Entering directory /opt/software/lammps-1Feb14/src/voro++-0.4.6/examples'
make -C basic
make[2]: Entering directory
/opt/software/lammps-1Feb14/src/voro++-0.4.6/examples/basic’
g++ -Wall -ansi -pedantic -O3 -I../../src -L../../src -o single_cell single_cell.cc -lvoro++
g++ -Wall -ansi -pedantic -O3 -I../../src -L../../src -o platonic platonic.cc -lvoro++
g++ -Wall -ansi -pedantic -O3 -I../../src -L../../src -o random_points random_points.cc -lvoro++
g++ -Wall -ansi -pedantic -O3 -I../../src -L../../src -o import import.cc -lvoro++
make[2]: Leaving directory /opt/software/lammps-1Feb14/src/voro++-0.4.6/examples/basic'
make -C walls
make[2]: Entering directory
/opt/software/lammps-1Feb14/src/voro++-0.4.6/examples/walls’
g++ -Wall -ansi -pedantic -O3 -I../../src -L../../src -o cylinder cylinder.cc -lvoro++
g++ -Wall -ansi -pedantic -O3 -I../../src -L../../src -o tetrahedron tetrahedron.cc -lvoro++
g++ -Wall -ansi -pedantic -O3 -I../../src -L../../src -o frustum frustum.cc -lvoro++
g++ -Wall -ansi -pedantic -O3 -I../../src -L../../src -o torus torus.cc -lvoro++
make[2]: Leaving directory /opt/software/lammps-1Feb14/src/voro++-0.4.6/examples/walls'
make -C custom
make[2]: Entering directory
/opt/software/lammps-1Feb14/src/voro++-0.4.6/examples/custom’
g++ -Wall -ansi -pedantic -O3 -I../../src -L../../src -o cell_statistics cell_statistics.cc -lvoro++
g++ -Wall -ansi -pedantic -O3 -I../../src -L../../src -o custom_output custom_output.cc -lvoro++
g++ -Wall -ansi -pedantic -O3 -I../../src -L../../src -o radical radical.cc -lvoro++
make[2]: Leaving directory /opt/software/lammps-1Feb14/src/voro++-0.4.6/examples/custom'
make -C extra
make[2]: Entering directory
/opt/software/lammps-1Feb14/src/voro++-0.4.6/examples/extra’
g++ -Wall -ansi -pedantic -O3 -I../../src -L../../src -o box_cut box_cut.cc -lvoro++
g++ -Wall -ansi -pedantic -O3 -I../../src -L../../src -o cut_region cut_region.cc -lvoro++
g++ -Wall -ansi -pedantic -O3 -I../../src -L../../src -o superellipsoid superellipsoid.cc -lvoro++
g++ -Wall -ansi -pedantic -O3 -I../../src -L../../src -o irregular irregular.cc -lvoro++
make[2]: Leaving directory /opt/software/lammps-1Feb14/src/voro++-0.4.6/examples/extra'
make -C degenerate
make[2]: Entering directory
/opt/software/lammps-1Feb14/src/voro++-0.4.6/examples/degenerate’
g++ -Wall -ansi -pedantic -O3 -I../../src -L../../src -o degenerate degenerate.cc -lvoro++
g++ -Wall -ansi -pedantic -O3 -I../../src -L../../src -o degenerate2 degenerate2.cc -lvoro++
make[2]: Leaving directory /opt/software/lammps-1Feb14/src/voro++-0.4.6/examples/degenerate'
make -C interface
make[2]: Entering directory
/opt/software/lammps-1Feb14/src/voro++-0.4.6/examples/interface’
g++ -Wall -ansi -pedantic -O3 -I../../src -L../../src -o loops loops.cc -lvoro++
g++ -Wall -ansi -pedantic -O3 -I../../src -L../../src -o polygons polygons.cc -lvoro++
g++ -Wall -ansi -pedantic -O3 -I../../src -L../../src -o odd_even odd_even.cc -lvoro++
g++ -Wall -ansi -pedantic -O3 -I../../src -L../../src -o find_voro_cell find_voro_cell.cc -lvoro++
make[2]: Leaving directory /opt/software/lammps-1Feb14/src/voro++-0.4.6/examples/interface'
make[1]: Leaving directory
/opt/software/lammps-1Feb14/src/voro++-0.4.6/examples’
make -C src
make[1]: Entering directory /opt/software/lammps-1Feb14/src/voro++-0.4.6/src'
make[1]: Nothing to be done for
all’.
make[1]: Leaving directory `/opt/software/lammps-1Feb14/src/voro++-0.4.6/src’
install -d -m 0755 -L/opt/software/lammps-1Feb14/lib/voro++-0.4.6/bin
install:无效选项 — L
请尝试执行”install –help”来获取更多信息。
make: *** [install] 错误 1
[fangjun@node01 voro++-0.4.6]$ vim config.mk

###############################################################################

tar -xvf voro++-0.4.6.tar.gz -C /opt/software/lammps-14Feb14/lib
cd /opt/software/lammps-14Feb14/lib/voro++-0.4.6
vim config.mk
21行 PREFIX=/opt/software/lammps-14Feb14/lib/voro++-0.4.6
make && make install

发表评论

您的电子邮箱地址不会被公开。 必填项已用*标注

Captcha Code