-
Notifications
You must be signed in to change notification settings - Fork 5
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
Using FiNeR as a library in a cmake project #17
Comments
Thank you very much for reporting this, it is really appreciated. I am sorry for my delay. Concerning the Concerning the cmake issues, I am very sorry, but I do not use it and I am not able to help you using it: the cmake building files of my libraries are maintained by very kind users, not directly by me. Anyhow, can you elaborate more on
in particular which are the names raising cmake issues? I'll try to fix Cheers |
Absolutely no problem, thanks for taking the time to look into this. Regarding the For the cmake issue, which arises later, I had basically issues with all the third party libraries used for Just to add one more detail: If I just build and compile the |
@schwabfk I was able to use FiNeR as a lib in cmake project, see https://github.com/wave-scattering/amos-try (note it is a decoupled project, I haven tracked if my modification we accepted upstream, see https://github.com/wave-scattering/amos-try/blob/master/install-FiNeR.sh for details). I call FiNeR in my code from here https://github.com/wave-scattering/amos-try/blob/master/cylinder2mod/model_parameters.f90 |
(Re-opened from wrongly posted for FLAP)
Dear @szaghi,
I recently started using Fortran for a project and stumbled across your libraries, especially FiNeR (and maybe in the future I'll use FLAP as well).
At the moment, the project is managed with cmake (v3.17) and I have trouble using FiNeR in my project. I tried it two ways:
a) via
add_subdirectory
(which is advised in your file headers):git submodule add https://github.com/szaghi/FiNeR.git
and thengit submodule update --init --recursive
it already fails when it wants to clone thefortran_tester
third party programme. Here I think the problem is an old URL in the.gitmodule
file (at the moment:git@github.com:pdebuyl/fortran_tester.git
; but should behttps://github.com/pdebuyl/fortran_tester
perhaps).b) via
FetchContent
:fortran_tester
package.No content details recorded for FiNeR
orFailed to get the hash for HEAD
.Do you have an idea how to solve these problem? Perhaps also someone else with more
cmake
experience has an idea. As I said, I'm also no expert in this field.Best regards!
EDIT:
For my way of doing it b)
I proceeded a little bit more, but latest now I am also stuck on the namespace problem.
The error message is (but not only for the
fortran_tester
):The text was updated successfully, but these errors were encountered: