-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve and fix buildsystem #3
Conversation
Version required by PortPlacement now matches the version required by Slicer
Since Eigen3 now provides a config file and is available through the extension index, this commit removes the local FindEigen3 module and explicitly makes use of the CONFIG mode (this avoid attempt to use FindEigen3.cmake provided by VTK).
This commit partially reverts 869bfd5 (ENH: Remove nlopt source tree from PortPlacement code base) and download NLopt to fix allow the extension to build on Linux, macOS and Windows.
This commit allows other extensions to reuse PortPlacement objects.
This commit fixes the following error: ``` from /tmp/PortPlacement/AutoPortPlacement/qSlicerAutoPortPlacementModule.cxx:19: /tmp/PortPlacement/AutoPortPlacement/qSlicerAutoPortPlacementModule.cxx:29:1: error: static assertion failed: Old plugin system used Q_EXPORT_PLUGIN2(qSlicerAutoPortPlacementModule, qSlicerAutoPortPlacementModule); ^ ```
This commit fixes the following runtime error: ``` 2: File "/tmp/PortPlacement/PortPlacement/PortPlacement.py", line 238, in onRemovePortButton 2: index = self.portsTable.selectionModel().currentIndex() 2: TypeError: 'QModelIndex' object is not callable ``` ``` 2: Traceback (most recent call last): 2: File "/tmp/PortPlacement/PortPlacement/PortPlacement.py", line 735, in test_PortPlacement1 2: logic.toolList[i].modelNode.TransformPointFromWorld(targetWorld, targetLocal) 2: TypeError: TransformPointFromWorld argument 1: expected a sequence of 3 values, got 4 values ```
This commit fixes warnings like the following: ``` /tmp/PortPlacement/AutoPortPlacement/Logic/tests/min-distance-test.cxx:5:14: warning: unused parameter ‘argc’ [-Wunused-parameter] int main(int argc, char* argv[]) ^ /tmp/PortPlacement/AutoPortPlacement/Logic/tests/min-distance-test.cxx:5:31: warning: unused parameter ‘argv’ [-Wunused-parameter] int main(int argc, char* argv[]) ^ ```
This commit fixes the following warning: ``` tmp/PortPlacement/AutoPortPlacement/Logic/davinci-kinematics/davinci.cxx:726:10: warning: ‘double {anonymous}::fromPoseToExtraClearance(const DavinciKinematics&, const Matrix4d&, const Matrix4d&, const Matrix4d&)’ defined but not used [-Wunused-function] double fromPoseToExtraClearance(const DavinciKinematics& kin, ^ ```
Cc: @andinet |
All tests pass. 🎆 Only issue is that I wonder if it would make sense to add the timeout as a parameter of
|
Thanks @giogadi 👍 Hope things are going well out West |
No description provided.