acxz / pkgbuilds

PKGBUILDs for Arch Linux
25 stars 46 forks source link

[openvsp] Building libraries fails #274

Closed rpxpx closed 2 months ago

rpxpx commented 2 months ago

Getting the following errors during compilation of Pinnochio, causing abort:

/home/rpx/Downloads/openvsp/src/buildlibs/PINOCCHIO-prefix/src/PINOCCHIO/Pinocchio/discretization.cpp:176:3: error: ‘sort’ was not declared in this scope; did you mean ‘sqrt’? 176 | sort(out.begin(), out.end(), sphereComp);

/home/rpx/Downloads/openvsp/src/buildlibs/PINOCCHIO-prefix/src/PINOCCHIO/Pinocchio/pointprojector.h:71:13: error: ‘sort’ was not declared in this scope; did you mean ‘sqrt’? 71 | sort(orders[d].begin(), orders[d].end(), DLess(d, objs));

rpxpx commented 2 months ago

Compiled Pinocchio library separately, and then compiled using system Pinocchio.