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

After building, headers aren't available #450

Open
GarciaBarreiro opened this issue Feb 26, 2024 · 1 comment
Open

After building, headers aren't available #450

GarciaBarreiro opened this issue Feb 26, 2024 · 1 comment

Comments

@GarciaBarreiro
Copy link

The install instructions at INSTALL.md say that, after building the project with make, headers will be available at bitpit/include/ and a static library at bitpit/build/lib/. That is not the case.

After building, at the build/ directory there's a libbitpit_MPI_D.so file and the entire project structure is replicated, but inside each of the subdirectories I only find CMake files, as you can see from part of the build/ directory structure, with either the include/ directory or the lib/ one nowhere to be found:

├── libbitpit_MPI_D.so -> libbitpit_MPI_D.so.1
├── libbitpit_MPI_D.so.1 -> libbitpit_MPI_D.so.1.10.0
├── libbitpit_MPI_D.so.1.10.0
├── Makefile
├── src
│   ├── CG
│   │   ├── CMakeFiles
│   │   ├── cmake_install.cmake
│   │   ├── CTestTestfile.cmake
│   │   └── Makefile
│   ├── CMakeFiles
│   │   ├── clean-library.dir
│   │   ├── CMakeDirectoryInformation.cmake
│   │   ├── library.dir
│   │   └── progress.marks
│   ├── cmake_install.cmake
│   ├── common
│   │   ├── bitpit.hpp
│   │   ├── CMakeFiles
│   │   ├── cmake_install.cmake
│   │   ├── CTestTestfile.cmake
│   │   ├── Makefile
│   │   ├── version.hpp
│   │   └── version_verbose.hpp

I don't think this is the intended behaviour, but at no step of the installation I've read any error about not being able to create the include/ and lib/ directories.

@andrea-iob
Copy link
Member

The documentation seems to be out of date. In the build directory, the headers are scattered throughout the module directories. I suggest you install bitpit using the command "make install" (you can configure the installation directory using the CMake variable CMAKE_INSTALL_PREFIX).

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