fwilliams / surface-reconstruction-benchmark

A working copy of the code from "A Benchmark for Surface Reconstruction" by Berger et. Al
BSD 2-Clause "Simplified" License
51 stars 15 forks source link

executable "optimize-sphere" is not found #5

Open Karbo123 opened 3 years ago

Karbo123 commented 3 years ago

Thanks for releasing the great work! But I encounter a problem when I try to run your codes. Details:

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?