{"action":"opened","issue":{"url":"https://api.github.com/repos/danielepanozzo/cg/issues/79","repository_url":"https://api.github.com/repos/danielepanozzo/cg","labels_url":"https://api.github.com/repos/danielepanozzo/cg/issues/79/labels{/name}","comments_url":"https://api.github.com/repos/danielepanozzo/cg/issues/79/comments","events_url":"https://api.github.com/repos/danielepanozzo/cg/issues/79/events","html_url":"https://github.com/danielepanozzo/cg/issues/79","id":366125499,"node_id":"MDU6SXNzdWUzNjYxMjU0OTk=","number":79,"title":"Error when doing determinant() and colPivHouseholderQR()","user":{"login":"pondjames007","id":31546058,"node_id":"MDQ6VXNlcjMxNTQ2MDU4","avatar_url":"https://avatars1.githubusercontent.com/u/31546058?v=4","gravatar_id":"","url":"https://api.github.com/users/pondjames007","html_url":"https://github.com/pondjames007","followers_url":"https://api.github.com/users/pondjames007/followers","following_url":"https://api.github.com/users/pondjames007/following{/other_user}","gists_url":"https://api.github.com/users/pondjames007/gists{/gist_id}","starred_url":"https://api.github.com/users/pondjames007/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pondjames007/subscriptions","organizations_url":"https://api.github.com/users/pondjames007/orgs","repos_url":"https://api.github.com/users/pondjames007/repos","events_url":"https://api.github.com/users/pondjames007/events{/privacy}","received_events_url":"https://api.github.com/users/pondjames007/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-03T00:06:52Z","updated_at":"2018-10-03T00:06:52Z","closed_at":null,"author_association":"NONE","body":"When solving the equation of mesh intersection, both determinant() and colPivHouseholderQR() come up with error. I even use the example code shown in the slide and it still come up with the error.\r\n\r\n\r\n    Matrix3d A;\r\n    Vector3f b;\r\n    A << 5,3,-7,  -3,5,12,  9,-2,-2;\r\n    b << 4, 9, -3;\r\n    Vector3f x = A.colPivHouseholderQr().solve(b);\r\n    cout<<A.determinant()<<endl;\r\n\r\n\r\nFor determinant(), the error shows:\r\n\r\n> Undefined symbols for architecture x86_64:\r\n  \"Eigen::MatrixBase<Eigen::Matrix<float, 3, 3, 0, 3, 3> >::determinant() const\", referenced from:\r\n      _main in main.cpp.o\r\nld: symbol(s) not found for architecture x86_64\r\n\r\nFor colPivHouseholderQR(), the error shows:\r\n> implicit instantiation of undefined template\r\n      'Eigen::ColPivHouseholderQR<Eigen::Matrix<float, 3, 3, 0, 3, 3> >'\r\n        Vector3f X = A.colPivHouseholderQr().solve(B);\r\n/Users/pondjames007/Desktop/ITP_Classes/ComputerGraphics/Assignment_1/../ext/eigen/Eigen/src/Core/util/ForwardDeclarations.h:222:37: note:\r\n      template is declared here\r\ntemplate<typename MatrixType> class ColPivHouseholderQR;\r\n\r\nI have no idea what's happening.\r\n\r\nThanks in advance!"}}
{"actor":{"display_login":"pondjames007"}}