-
Notifications
You must be signed in to change notification settings - Fork 3
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
Cannot find fitsio.h #5
Comments
Can I ask you how or where you installed cfitsio? One way to install it is by running: ./get_external.sh in the folder "../CRPropa2-2.0.4/" (see also point 1 in the README file). If you did it this way, and this worked correctly, you do not have to include the "--with-cfitsio-include=/directory_containing_CRPropa/External/cfitsio/include" part in the configure command and just running ./configure would already be enough. If you installed cfitsio somewhere else by yourself you should not only add "--with-cfitsio-include=$YourCFITISO/include" but also "--with-cfitsio-library=$YourCFITISO/lib" to your configure command, so that it should look something like: ./configure --with-cfitsio-include=$YourCFITISO/include --with-cfitsio-library=$YourCFITISO/lib I hope this helps! |
Thanks for your reply! I did install cfitsio by using When i first ran I can see the header file fitsio.h in the correct directory, but |
Hi! |
Hi, Thanks! |
Hello! Could you compile cfitsio separately with the standard |
Hi! The include and lib folders inside cfitsio contain the fitsio.h and libcfitsio.a files. I can see them, wonder why the configure command cant! |
Hi! I could not reproduce the problem. ./configure always takes the provided cfitsio locations for an external installation. For the standard installation with get_externals.sh, it works as well. |
I have tried all the above possible solutions but I still find this: configure: error: CFITSIO path not provided. See ./configure --help to see how to set a path properly. I can see the lib and include subfolders inside my cfitsio folder. Please tell me how can I do it properly. |
I get an error when i run ./configure. The error is-
configure: error: Cannot find fitsio.h. See ./configure --help to know how to set a proper cfitsio include directory
This is after I run the required command to include cfitsio libraries with configure. The command that I run looks something like-
./configure --with-cfitsio-include=/directory_containing_CRPropa/External/cfitsio/include
I don't know what I'm doing wrong. Any suggestions? Thanks
The text was updated successfully, but these errors were encountered: