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

conflicting source directories detected for recipe #2

Closed
bmahlbrand opened this issue Apr 17, 2020 · 2 comments
Closed

conflicting source directories detected for recipe #2

bmahlbrand opened this issue Apr 17, 2020 · 2 comments

Comments

@bmahlbrand
Copy link

When I run ue4 conan build all I'm met with the following output:

raise RuntimeError('conflicting source directories detected for recipe {}'.format(conflict)) from None
RuntimeError: conflicting source directories detected for recipe MediaIPC-ue4

I'm sure my previous attempts caused this, as I tried using this before having the UE4 source tree configured properly. My question is, where do I look for these conflicting directories? Is some sort of cache generated / broken package installations that I need to clean up?

@adamrehn
Copy link
Owner

adamrehn commented Apr 18, 2020

This indicates that both the conan-ue4cli recipe cache and the current working directory contain recipes named MediaIPC-ue4. There are two options available:

  • If you want to use the version from the current working directory then you can instruct conan-ue4cli to ignore the recipe cache by specifying the --no-cache flag.

  • If you want to use the version from the recipe cache then you will need to run the command from a different directory. If you're using the recipe cache then it's often worthwhile running ue4 conan update first to ensure the cache contains the latest recipe scripts from this repository.

If you're running the build command from the root of this repository then the current working directory and the recipe cache will essentially be identical to one another, which means you should get identical results irrespective of which option you choose.

@bmahlbrand
Copy link
Author

Thanks for clarifying.

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