View Issue Details

IDProjectCategoryView StatusLast Update
0033202CommunityOCCT:Testspublic2024-03-07 14:07
Reporternachomartinochoa_143715 Assigned Toapn  
PrioritynormalSeverityminor 
Status closedResolutionduplicate 
PlatformLinuxOSUbuntu 20.04 
Summary0033202: Missing include limits?
DescriptionWhile running CMake with no options, I got this error

[ 96%] Built target TKXDESTEP
/opt/occt-7.7.0/src/ViewerTest/ViewerTest_CmdParser.cxx:54:11: error: ‘numeric_limits’ is not a member of ‘std’
   54 | (std::numeric_limits<std::size_t>::max)();

Which I fixed by adding #include <limits> to src/ViewerTest/ViewerTest_CmdParser.cxx

I'll commit my changes and create a branch for it, since it seems like that's missing

However, I'm quite new to C++ projects, so let me know if I'm just building it incorrectly or something
Steps To ReproduceClone a recent 7.7.0 version:
https://git.dev.opencascade.org/gitweb/?p=occt.git;a=commit;h=185d29b92f6764ffa9fc195b7dbe7bba3c4ac855

mkdir build
cd build
cmake ..
cmake --build . -v -j4
TagsNo tags attached.
Test case number

Attached Files

  • Selection_158.png (81,508 bytes)

Relationships

duplicate of 0033250 verifieddpasukhi Open CASCADE Configuration - Missing Limits header file 

Activities

nachomartinochoa_143715

2022-11-15 13:58

reporter  

Selection_158.png (81,508 bytes)

nachomartinochoa_143715

2022-11-15 14:03

reporter   ~0112113

Sorry, I was getting errors from the website and thought it was not working.... Please see the original: 33200
https://tracker.dev.opencascade.org/view.php?id=33200

dpasukhi

2024-03-07 14:07

administrator   ~0115259

Issue have been resolved within 0033250

Issue History

Date Modified Username Field Change
2022-11-15 13:58 nachomartinochoa_143715 New Issue
2022-11-15 13:58 nachomartinochoa_143715 Assigned To => apn
2022-11-15 13:58 nachomartinochoa_143715 File Added: Selection_158.png
2022-11-15 14:03 nachomartinochoa_143715 Note Added: 0112113
2024-03-07 14:05 dpasukhi Relationship added duplicate of 0033250
2024-03-07 14:07 dpasukhi Status new => closed
2024-03-07 14:07 dpasukhi Resolution open => duplicate
2024-03-07 14:07 dpasukhi Note Added: 0115259