Skip to content

Commit

Permalink
Add HDF5 library files for linux
Browse files Browse the repository at this point in the history
  • Loading branch information
anjaldoshi committed Jul 7, 2020
1 parent 742c941 commit 789abb1
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,12 @@ if (APPLE) #this is needed by the unorthodox way hdf5 version 18 is installed
set(CMAKE_PREFIX_PATH ${CMAKE_PREFIX_PATH};/opt/local/lib/hdf5-18)
endif()

if (MSVC)
install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/libs/windows/bin/${CMAKE_LIBRARY_ARCHITECTURE}/ DESTINATION ${GUI_BIN_DIR}/shared CONFIGURATIONS ${CMAKE_CONFIGURATION_TYPES})
elseif(LINUX)
install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/libs/linux/bin/ DESTINATION ${GUI_BIN_DIR}/shared)
endif()

#additional libraries needed
find_package(HDF5 1.8 EXACT COMPONENTS CXX)
if(NOT HDF5_FOUND) #if package finding fails, try manually
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ A common library for all formats that write HDF5 files
## Installation
### Installing the HDF5 library
The plugin requires a specific version of the HDF5 library (≥1.8.12 and <1.8.21)
For windows, the required files are already included for the plugin
We have detailed instructions on our wiki on how to install the required HDF5 version for [Linux](https://open-ephys.atlassian.net/wiki/spaces/OEW/pages/491546/Linux) and [macOS](https://open-ephys.atlassian.net/wiki/spaces/OEW/pages/491555/macOS).
For windows and linux, the required files are already included for the plugin
We have detailed instructions on our wiki on how to install the required HDF5 version for [macOS](https://open-ephys.atlassian.net/wiki/spaces/OEW/pages/491555/macOS).

### Building the plugins
Building the plugins requires [CMake](https://cmake.org/). Detailed instructions on how to build open ephys plugins with CMake can be found in [our wiki](https://open-ephys.atlassian.net/wiki/spaces/OEW/pages/1259110401/Plugin+CMake+Builds).
Expand Down
File renamed without changes.
File renamed without changes.
Binary file added libs/linux/lib/libhdf5.so
Binary file not shown.
Binary file added libs/linux/lib/libhdf5_cpp.so
Binary file not shown.

0 comments on commit 789abb1

Please sign in to comment.