Closed christian-rauch closed 3 years ago
Please try the following installation sequence according to the installation guide:
mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=RELEASE -DCMAKE_INSTALL_PREFIX=/usr/local
make
make install
make clean
By another words, please try
cmake .. -DCMAKE_BUILD_TYPE=RELEASE
instead of simple cmake ..
Building in release mode (-DCMAKE_BUILD_TYPE=RELEASE
) works.
Well, is there a reason why it should not build in Debug
mode?
System information (version):
Describe the bug Compiling the library via the standard CMake procedure (mkdir build && cd build && cmake .. && make -j) fails due to the missing visibility of some symbols, e.g.
DirectGraphicalModels::fex::CCoordinate::get(cv::Mat const&, DirectGraphicalModels::fex::coordinateType)
.CI would probably help to catch these problems early.
Steps To Reproduce
mkdir build && cd build && cmake .. && make -j
Expected behavior The library does compile without errors.
Additional context Add any other context about the problem here.