danijel3 / SparrowhawkTest

A simple tutorial on setting up Sparrowhawk - a text-to-speech normalization engine
Apache License 2.0
14 stars 2 forks source link

Segmentation Fault #3

Open lukysummer opened 4 years ago

lukysummer commented 4 years ago

Hi!

Thank you for a great tutorial in how to install dependencies & Sparrowhawk.

My installations for all software have been successful; however, when i clone this repo and run the test as described here, I just get Segmentation Fault (core dumped). I ran some test and the error comes from this line:

speech::sparrowhawk::Normalizer normalize;

Have you run into this at all? I don't have experience with C++ so I am not sure how to debug this issue. It would be amazing if you could help me.

Thank you so much!!

-Lucrece

danijel3 commented 4 years ago

Hi!

You may have noticed that it's been several years since I updated this project, but I just re-did the steps and it still works! I did have a compiler error because the Sparrowhawk installation script didn't copy all the files to the right place (they haven't worked on the project for years either), but when it managed to compile, it works just like in the description.

I'm doing this in a fairly recent version of Ubuntu.

lukysummer commented 4 years ago

Thank you for you reply.

When you had a compiler error as you mentioned, how did you fix it for it to manage to compile?

Help is greatly appreciated. Thank you!

danijel3 commented 4 years ago

I copied all the files from $CONDA_PREFIX/sparrowhawk/src/include/sparrowhawk to $CONDA_PREFIX/include/sparrowhawk

lukysummer commented 4 years ago

would it be $CONDA_PREFIX = /usr/local/include/ if I didn't specify anaconda environment during installation?

danijel3 commented 4 years ago

In that case the first part is the "src/include/sparrowhawk" in the dir where you cloned sparrowhawk from github and the second can be /usr/local/include.