Skip to content
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

Unable to set rc executable custom path #49

Closed
Franzo- opened this issue Mar 15, 2016 · 4 comments
Closed

Unable to set rc executable custom path #49

Franzo- opened this issue Mar 15, 2016 · 4 comments

Comments

@Franzo-
Copy link

Franzo- commented Mar 15, 2016

My rtags build directory is not in the system path, so I set cmake-ide-rdm-executable and cmake-ide-rc-executable to the absolute path of the executables. While rdm run as expected, rc is not found:

cmake-ide [Tue Mar 15 15:33:56 2016]: Running rc for rtags
error in process sentinel: rtags-call-rc: Can’t find rc
error in process sentinel: Can’t find rc

Looking at the code in cmake-ide.el, I suppose the problem is that the cmake-ide-rc-executable variable is declared but never used.
Manually setting the rtags-path variable to the path of the directory of rc and rdm executables solves the problem, but isn't there a way to get this automatically?

@atilaneves
Copy link
Owner

cmake-ide now uses rtags-calls-rc instead of calling rc directly. I'll delete the variable.

@Franzo-
Copy link
Author

Franzo- commented Mar 16, 2016

So the only way to get rc working when it is not in the system path is to set the rtags-path variable to my custom path?

@atilaneves
Copy link
Owner

Yes. It's an rtags feature, it was wrong of me to intrude.

@Franzo-
Copy link
Author

Franzo- commented Mar 16, 2016

Ok, thanks for your help!

@Franzo- Franzo- closed this as completed Mar 16, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants