-
Notifications
You must be signed in to change notification settings - Fork 757
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
Fix windows tests #1566
Fix windows tests #1566
Conversation
Miss use 3rd party metis lib.
|
gtsamDebug.lib(gtsamDebug.dll) : error LNK2005: "public: class Eigen::Matrix<double,-1,1,0,-1,1> __cdecl gtsam::NoiseModelFactorN::evaluateError(class gtsam::Pose3 const &,class Eigen::Matrix<double,-1,-1,0,-1,-1> &)const " (?evaluateError@?$NoiseModelFactorN@VPose3@gtsam@@@gtsam@@qeba?AV?$Matrix@N$0?0$00$0A@$0?0$00@Eigen@@AEBVPose3@2@AEAV?$Matrix@N$0?0$0?0$0A@$0?0$0?0@4@@z) already defined in testImuFactor.cpp.obj |
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
We have some specific design choices necessitated by our userbase, and we give the option to use system level 3rd party libraries, so it's not necessarily bad practice. |
Fix windows tests:
I open more tests. also did internal check with
cmake --build build -j4 --config ${{ matrix.build_type }} --target check
That compile all tests.There a few errors remain.
One of the error is miss use of 3rd party metis on gtsam repo. The code is taken only for linux/osx but not for windows.
This is bad practice. You should create a download scrip for 3rd parties and compile it separately or use vcpkg that do the same.
I will past all the remain errors that you should deal with them in the following comments.