-
Notifications
You must be signed in to change notification settings - Fork 211
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Set up the path of "res" #114
Comments
Rhubarb requires a number of resource files. It looks for them in a Judging by the error message, the |
Isn't there a way to configure that PATH during the compilation? |
No. Why would you hard-code a file path in a binary?
|
Sorry for my English. But, I think the models should be in share, but it looks for them in "/usr/local/bin/res/sphinx/acoustic-model". |
"Compilation" is the act of taking source code and creating a binary executable file. This executable file should then be able to run from any directory and on any machine with a matching operating system. So hard-coding a path during compilation is just plain wrong. After compilation, the next step is deployment. That's the act of taking the executable file and any other required files and copying them to a directory where you can then run them. Deployment is machine-specific. It seems to me that you're confusing these two concepts. Why does the executable end up in your BTW, why do you build using
|
I have trouble creating the arch package.
Simple make:
For example:
I don't know how to correctly configure the path to "res/":
[Error] "acmod.c", line 82: Folder '/usr/local/bin/res/sphinx/acoustic-model' does not contain acoustic model definition 'mdef'
The text was updated successfully, but these errors were encountered: