View Issue Details

IDProjectCategoryView StatusLast Update
0033202CommunityOCCT:Testspublic2022-11-15 14:03
Reporternachomartinochoa_143715 Assigned Toapn  
Status newResolutionopen 
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:;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)



2022-11-15 13:58


Selection_158.png (81,508 bytes)


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

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