surface-reconstruction-benchmark
surface-reconstruction-benchmark copied to clipboard
executable "optimize-sphere" is not found
Thanks for releasing the great work! But I encounter a problem when I try to run your codes. Details:
- Step1: I run
ln -s build bin
so that it can find directorybin
correctly. - Step2: When I run the following command: ()
python2 ./scripts/RunSampler.py gargoyle_200k_0.cnf
it raises an error:
couldn't open file ./bin/particle_sampler/particles10.npts ; instead, going to sample ...
sh: 1: ./optimize-sphere: not found
ERROR: uniform sampling not at prescribed size!
computing lipschitz constant .......... : 2.22565
Traceback (most recent call last):
File "./scripts/RunSampler.py", line 132, in <module>
runUniform(config, pathdir, infile, outfile)
File "./scripts/RunSampler.py", line 115, in runUniform
runcommand(args)
File "./scripts/RunSampler.py", line 47, in runcommand
raise RunError(args[0] + ': Execution failed with returncode = ' + repr(e.returncode))
__main__.RunError: Error: ./bin/uniform_sampler: Execution failed with returncode = -11
It looks like the path to the executable is fixed in the code. The following shows the generated executable file after build.
aggregate_distribution
aggregation
dump_barplot
dump_distribution
dump_lines
dump_meta
dump_single
implicit_uniform
isosurface
mesh_fixer
mesh_to_implicit
pc_generator
run_evaluation
sample_implicit
sample_mesh
single_distribution
uniform_sampler
And I can't find an executable file named "optimize-sphere" from those executables. How to solve this problem?