-
Notifications
You must be signed in to change notification settings - Fork 46
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
Compilation of OpenEB on RHEL8 #131
Comments
@stephetw One thing I am not sure we'll want to keep is the |
@jthierry-psee I can confirm that this PR fixes all of the issues I saw. I did try again with GCC 12.2.1, and removing link_libraries(stdc++fs). This built successfully, but there were various errors:
|
@stephetw Perfect, thanks for confirming. The PR was merged. Closing this issue. |
Hello,
I was able to successfully build openeb-5.0.0 on RHEL8. Admittedly, I am green with this, there are a few things that I modified that I do not understand what implications may be as a result. Of course, this is on an unsupported OS, so I understand if this is discarded.
The following are errors during the compilation step:
Solution:
Modify <OPENEB_SRC_DIR>/sdk/modules/core/cpp/src/utils/video_writer.cpp, starting line 351:
To just:
cv::VideoWriter::write(image.getMat(-1));
Solution:
Modify <OPENEB_SRC_DIR>/sdk/modules/core/cpp/src/utils/video_writer.cpp, starting line 373:
To:
Various errors with:
undefined reference to `std::filesystem::__cxx11::path::_M_split_cmpts()'
Solution:
Prepend
link_libraries(stdc++fs)
to <OPENEB_SRC_DIR>/CMakeLists.txterror: ‘setw’ is not a member of ‘std’
In Files:
error: ‘put_time’ is not a member of ‘std’
In File:
Solution:
Add header:
#include <iomanip>
Package versions:
OS: Red Hat Enterprise Linux 8.10
opencv: 3.4.6
ffmpeg: 4.2.10
HDF5: 1.10.5
libusb: 0.1.5-12
boost: 1.66.0
python: 3.11.10-1
pybind: 2.10.3-3 (precompiled in RHEL repo)
protobuf: 3.5.0-15
glew: 2.0.0-6
glfw: 3.3-2
cmake: 3.26.5-2
If anyone is wondering, here are the packages I installed:
groupinstall 'Development Tools'
git cmake libusb libusb-devel hdf5 hdf5-devel hdf5-static boost boost-devel opencv opencv-devel ffmpeg ffmpeg-devel python3.11 python3.11-devel python3.11-pybind11-devel protobuf protobuf-devel glew-devel glfw glfw-devel
The text was updated successfully, but these errors were encountered: