View Issue Details

IDProjectCategoryView StatusLast Update
0004715FreeCADBugpublic2021-07-29 10:14
Reporterkevinnguyen2020 Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionno change required 
Product Version0.20 
Summary0004715: error: cannot convert TColStd_Array1OfReal to Standard_Integer
DescriptionI build FreeCAD from source code:

../ubuntu/freecad-source/src/Mod/Part/App/BezierCurvePyImp.cpp: In member function ‘PyObject* Part::BezierCurvePy::interpolate(PyObject*)’:
../ubuntu/freecad-source/src/Mod/Part/App/BezierCurvePyImp.cpp:441:65: error: cannot convert ‘TColStd_Array1OfReal’ to ‘Standard_Integer’ {aka ‘int’}
  441 | BSplCLib::EvalBsplineBasis(row.size()-1, num_poles, knots, params(cons_idx), first_non_zero, bezier_eval, Standard_False);
      | ^~~~~
      | |
      | TColStd_Array1OfReal
Steps To Reproduce1. Get the source code from GitHub

2. Run CMake

cmake -DBUILD_QT5=ON -DPYTHON_EXECUTABLE=/usr/bin/python3 -DCMAKE_BUILD_TYPE=Debug ../freecad-source

3. Build

make -j$(nproc)
Additional InformationMy environment:

Ubuntu 20.04
g++ (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0
TagsNo tags attached.
FreeCAD InformationBuild errors.

Activities

openBrain

2021-07-29 10:14

developer   ~0015764

@kevinnguyen2020 : I already pointed you to our guidelines and forum. This isn't an option to behave accordingly.
On this specific issue, you admittedly didn't read the wiki documentation about how to compile.
Ticket closed.

Issue History

Date Modified Username Field Change
2021-07-29 03:21 kevinnguyen2020 New Issue
2021-07-29 10:14 openBrain Status new => closed
2021-07-29 10:14 openBrain Resolution open => no change required
2021-07-29 10:14 openBrain Note Added: 0015764