-
Notifications
You must be signed in to change notification settings - Fork 991
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
Could not find toolchain file when calling CMake after installing the GDAL package #17209
Comments
I also notice that a directory called |
Thanks for your question
It seems this is an issue with the paths. If your
Also, in many cases and if using CMake>=3.23, it is more convenient to just use the generated presets, so
Yes, that is the Conan cache, where the actual packages are installed, and yes, the C++ packages can be large, 10Gb sounds a bit too much unless you are installing a ton of dependencies. It also depends on different factors, for example Debug packages use way more space than Release packages |
Any further question or issue here? If not maybe we can close the ticket? Thanks for your feedback. |
Hello James, I like to jump in here since I suffer from the same conceptional problem. I have a conanfile.py
with
and my
After running e.g.
I would assume, set I can the build_dir at |
Hi @ibis-hdl This might be a different issue.
So Conan can define the correct layout and location of files. Please try that and let us know (in fact it would be better if this is posted as a new question, so it can be closed if solved) Otherwise, @amine-aboufirass any feedback about the above here? Thanks! |
Yes, I use on Windows && macOS
or even
If you like, you can move this to a new issue/question. I have no idea how to and preserve the conversation. |
Then sorry, if you are using
If that doesn't work, then yes, please create a new ticket, and copy a link to your initial comment in the first comment. |
Thank you, please see at #17324 |
Thanks @ibis-hdl we will follow up there Hi @amine-aboufirass, please let us know about the above. |
I would like to write some code which has GDAL as a dependency. Here's what I came up with so far:
profile
conanfile.txt
CMakeLists.txt
CMakeUserPresets.json
I followed the Getting Started portion of the Conan docs as closely as was necessary. It does so happen that I would like to debug the code, so I am focusing on creating a debug configuration. The following install command took a WHILE, but appears to have run successfully:
I then
cd
to mybuild
directory and run the following:This unfortunately fails with an error:
What could I possibly be doing wrong here?
The text was updated successfully, but these errors were encountered: