Closed gspr closed 5 days ago
Steps to reproduce:
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release -DUSER_VERSION_DIR=userversion -DWITH_GUDHI_EXAMPLE=true ..
make user_version
cd userversion
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release -DWITH_GUDHI_EXAMPLE=true ..
make VERBOSE=1
This won't reproduce exactly the log snippet above (that was produced using different flags), but it will reproduce the same error with CGAL 6.
Ah, right, we had seen it and it slipped our minds, sorry. The slightly painful part is being compatible with both cgal-5 and cgal-6...
On 27 June 2024 16:38:15 CEST, Marc Glisse @.***> wrote:
Ah, right, we had seen it and it slipped our minds, sorry. The slightly painful part is being compatible with both cgal-5 and cgal-6...
Understable! Do you have some notes I could test out? Debian is preparing to move to CGAL 6 for unstable and the next stable release, and I'm happy to maintain a Debian-only patch until GUDHI moves to CGAL 6 properly.
-- Sent from my Android device with K-9 Mail. Please excuse my brevity.
Completely untested, I was thinking of replacing
boost::optional<Edge_handle> edge = heap_PQ_->extract_top();
if (edge)
get_data(*edge).reset_PQ_handle();
with
boost::optional<Edge_handle> edge;
if (!heap_PQ_->empty()) {
edge = heap_PQ_->top();
heap_PQ_->pop();
get_data(*edge).reset_PQ_handle();
}
which should remain compatible with CGAL-5.
When building GUDHI 3.10.0 with CGAL 6, I see the following error:
Building the exact same code with CGAL 5.5 works fine.
I realize that this bug report is very vague, but it's all I've had time for so far. Boost is at version 1.83.0.2. The CGAL version is 6.0 beta 1.
PS: I've just been blindly assuming 3.10.0 supports CGAL 6 due to some comments in the release notes. Apologies in advance if that is not the case!