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

multiple openspades releases build allowed #511

Open
ghost opened this issue Dec 31, 2016 · 2 comments
Open

multiple openspades releases build allowed #511

ghost opened this issue Dec 31, 2016 · 2 comments
Labels

Comments

@ghost
Copy link

ghost commented Dec 31, 2016

this is not specificly an issue but when you only run make you get the executable binary and you coud basicly run it without any errors. and the command openspades in the terminal only executes the executable you compiled first. i could compile all releases. i first compiled 0.1.0 then i compiled 0.0.4 last. the command openspades only executed 0.1.0. significantly you dont need to use sudo make install. if you have path errors because it cant find stuff just log into the sudo account and run the command and it will find it automaticly.

@noway
Copy link
Contributor

noway commented Dec 31, 2016

I suppose that would work if you had installed openspades before, yes, resource files from previous version would be used by the new version.

@feikname feikname added cmake distribution enhancement request/proposal to add a new feature labels Dec 31, 2016
@feikname
Copy link
Collaborator

feikname commented Jan 2, 2017

There is a workaround.

You can set OPENSPADES_RESOURCES in Cmake to point to an absolute path for each binary, and leave the default resources path empty. This way, there are no conflicts between versions.

The downside is that you'd have to recompile to change one of the binaries User Resource Directory or symlink it to a new location. Perhaps a relative path may also work, who knows.

This is what I am going to do from now on to keep 0.1.0 and the development version together

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants