openpbso icon indicating copy to clipboard operation
openpbso copied to clipboard

Running ./real_time_modal_sound_bin example

Open getrod opened this issue 3 years ago • 2 comments

Hello Jui-Hsien Wang,

I've managed to build the project on Ubuntu 20.04.5 LTS.

When I try running this command:

./real_time_modal_sound_bin -d ../assets -name ball

I get:

terminate called after throwing an instance of 'std::out_of_range'
  what():  vector::_M_range_check: __n (which is 0) >= this->size() (which is 0)
Aborted (core dumped)

Could this be because I'm missing extra data files, like the ffat map?

Thank You

getrod avatar Sep 23 '22 02:09 getrod

I ran into the same issue, thinking the assets folder was meant to be used. I found out the app expects data in the format provided in the provided dataset.

E.g. download the zipped director of the wine glass object, which is named model_00000.zip, unzip it and run:

./real_time_modal_sound_bin -d ../model_00000 -name 00000

khiner avatar Sep 12 '23 20:09 khiner

I made a fork that fixes some build issues and adds a full run example: https://github.com/khiner/openpbso

khiner avatar Sep 12 '23 20:09 khiner