{"action":"created","issue":{"url":"https://api.github.com/repos/ceres-solver/ceres-solver/issues/224","repository_url":"https://api.github.com/repos/ceres-solver/ceres-solver","labels_url":"https://api.github.com/repos/ceres-solver/ceres-solver/issues/224/labels{/name}","comments_url":"https://api.github.com/repos/ceres-solver/ceres-solver/issues/224/comments","events_url":"https://api.github.com/repos/ceres-solver/ceres-solver/issues/224/events","html_url":"https://github.com/ceres-solver/ceres-solver/issues/224","id":174953768,"number":224,"title":"Solver fails to build with GCC on macos","user":{"login":"sandwichmaker","id":1712133,"avatar_url":"https://avatars.githubusercontent.com/u/1712133?v=3","gravatar_id":"","url":"https://api.github.com/users/sandwichmaker","html_url":"https://github.com/sandwichmaker","followers_url":"https://api.github.com/users/sandwichmaker/followers","following_url":"https://api.github.com/users/sandwichmaker/following{/other_user}","gists_url":"https://api.github.com/users/sandwichmaker/gists{/gist_id}","starred_url":"https://api.github.com/users/sandwichmaker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sandwichmaker/subscriptions","organizations_url":"https://api.github.com/users/sandwichmaker/orgs","repos_url":"https://api.github.com/users/sandwichmaker/repos","events_url":"https://api.github.com/users/sandwichmaker/events{/privacy}","received_events_url":"https://api.github.com/users/sandwichmaker/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-04T15:18:16Z","updated_at":"2016-09-04T15:31:01Z","closed_at":null,"body":"Steps to reproduce\r\n\r\n1. Install gcc using homebrew.\r\n2. cmake ../  -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER=/Users/sameeragarwal/homebrew/bin/g++-6 -DCMAKE_C_COMPILER=/Users/sameeragarwal/homebrew/bin/gcc-6\r\n3. ninja cubic_interpolation_test leads to \r\n\r\n[master] build: ninja cubic_interpolation_test\r\n[1/1] Linking CXX executable bin/cubic_interpolation_test\r\nFAILED: bin/cubic_interpolation_test \r\n: && /Users/sameeragarwal/homebrew/bin/g++-6   -fopenmp -Wno-unknown-pragmas -Wno-sign-compare -Wno-unused-parameter -Wno-missing-field-initializers -O3 -DNDEBUG  -msse3 -Wl,-search_paths_first -Wl,-headerpad_max_install_names  internal/ceres/CMakeFiles/cubic_interpolation_test.dir/cubic_interpolation_test.cc.o  -o bin/cubic_interpolation_test  lib/libtest_util.a lib/libceres.a lib/libgtest.a /Users/sameeragarwal/homebrew/lib/libspqr.dylib /Users/sameeragarwal/homebrew/lib/libtbb.dylib /Users/sameeragarwal/homebrew/lib/libtbbmalloc.dylib /Users/sameeragarwal/homebrew/lib/libcholmod.dylib /Users/sameeragarwal/homebrew/lib/libccolamd.dylib /Users/sameeragarwal/homebrew/lib/libcamd.dylib /Users/sameeragarwal/homebrew/lib/libcolamd.dylib /Users/sameeragarwal/homebrew/lib/libamd.dylib -framework Accelerate /Users/sameeragarwal/homebrew/lib/libsuitesparseconfig.dylib /Users/sameeragarwal/homebrew/lib/libmetis.dylib /Users/sameeragarwal/homebrew/lib/libcxsparse.dylib -framework Accelerate /Users/sameeragarwal/homebrew/lib/libsuitesparseconfig.dylib /Users/sameeragarwal/homebrew/lib/libmetis.dylib /Users/sameeragarwal/homebrew/lib/libcxsparse.dylib -lgomp /Users/sameeragarwal/homebrew/lib/libgflags.2.1.2.dylib /Users/sameeragarwal/homebrew/lib/libglog.dylib -Wl,-rpath,/Users/sameeragarwal/homebrew/lib && :\r\nUndefined symbols for architecture x86_64:\r\n  \"google::base::CheckOpMessageBuilder::NewString[abi:cxx11]()\", referenced from:\r\n      std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >* google::MakeCheckOpString<int, int>(int const&, int const&, char const*) in cubic_interpolation_test.cc.o\r\nld: symbol(s) not found for architecture x86_64\r\ncollect2: error: ld returned 1 exit status\r\nninja: build stopped: subcommand failed.\r\n"},"comment":{"url":"https://api.github.com/repos/ceres-solver/ceres-solver/issues/comments/244609931","html_url":"https://github.com/ceres-solver/ceres-solver/issues/224#issuecomment-244609931","issue_url":"https://api.github.com/repos/ceres-solver/ceres-solver/issues/224","id":244609931,"user":{"login":"sandwichmaker","id":1712133,"avatar_url":"https://avatars.githubusercontent.com/u/1712133?v=3","gravatar_id":"","url":"https://api.github.com/users/sandwichmaker","html_url":"https://github.com/sandwichmaker","followers_url":"https://api.github.com/users/sandwichmaker/followers","following_url":"https://api.github.com/users/sandwichmaker/following{/other_user}","gists_url":"https://api.github.com/users/sandwichmaker/gists{/gist_id}","starred_url":"https://api.github.com/users/sandwichmaker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sandwichmaker/subscriptions","organizations_url":"https://api.github.com/users/sandwichmaker/orgs","repos_url":"https://api.github.com/users/sandwichmaker/repos","events_url":"https://api.github.com/users/sandwichmaker/events{/privacy}","received_events_url":"https://api.github.com/users/sandwichmaker/received_events","type":"User","site_admin":false},"created_at":"2016-09-04T15:31:01Z","updated_at":"2016-09-04T15:31:01Z","body":"its the default homebrew version."}}
{"actor":{"display_login":"sandwichmaker"}}