surface-reconstruction-benchmark icon indicating copy to clipboard operation
surface-reconstruction-benchmark copied to clipboard

executable "optimize-sphere" is not found

Open Karbo123 opened this issue 3 years ago • 0 comments

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 directory bin 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?

Karbo123 avatar Jan 20 '21 04:01 Karbo123