{"action":"created","issue":{"url":"https://api.github.com/repos/connormanning/entwine/issues/126","repository_url":"https://api.github.com/repos/connormanning/entwine","labels_url":"https://api.github.com/repos/connormanning/entwine/issues/126/labels{/name}","comments_url":"https://api.github.com/repos/connormanning/entwine/issues/126/comments","events_url":"https://api.github.com/repos/connormanning/entwine/issues/126/events","html_url":"https://github.com/connormanning/entwine/issues/126","id":360352274,"node_id":"MDU6SXNzdWUzNjAzNTIyNzQ=","number":126,"title":"Error linking to LazPerf","user":{"login":"addam","id":278643,"node_id":"MDQ6VXNlcjI3ODY0Mw==","avatar_url":"https://avatars2.githubusercontent.com/u/278643?v=4","gravatar_id":"","url":"https://api.github.com/users/addam","html_url":"https://github.com/addam","followers_url":"https://api.github.com/users/addam/followers","following_url":"https://api.github.com/users/addam/following{/other_user}","gists_url":"https://api.github.com/users/addam/gists{/gist_id}","starred_url":"https://api.github.com/users/addam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/addam/subscriptions","organizations_url":"https://api.github.com/users/addam/orgs","repos_url":"https://api.github.com/users/addam/repos","events_url":"https://api.github.com/users/addam/events{/privacy}","received_events_url":"https://api.github.com/users/addam/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-09-14T15:29:05Z","updated_at":"2018-10-31T15:50:09Z","closed_at":"2018-09-14T15:40:08Z","author_association":"NONE","body":"I have a problem building Entwine on Ubuntu (GCC 7.2)\r\n\r\nA clean `git clone` and `cmake` throws an error:\r\n```\r\nCMake Error at CMakeLists.txt:62 (find_package):\r\nBy not providing \"FindLazPerf.cmake\" in CMAKE_MODULE_PATH this project has\r\nasked CMake to find a package configuration file provided by \"LazPerf\", but\r\nCMake did not find one.\r\n\r\nCould not find a package configuration file provided by \"LazPerf\" with any\r\nof the following names:\r\n\r\n  LazPerfConfig.cmake\r\n  lazperf-config.cmake\r\n\r\nAdd the installation prefix of \"LazPerf\" to CMAKE_PREFIX_PATH or set\r\n\"LazPerf_DIR\" to a directory containing one of the above files.  If\r\n\"LazPerf\" provides a separate development package or SDK, be sure it has\r\nbeen installed.\r\n```\r\n\r\nThis is not _the_ error. I assume I am supposed to pull hobu/laz-perf and set LazPerf_DIR to `laz-perf/build/` (because it does contain `lazperf-config.cmake`). Configuration now runs well.\r\n\r\nThe build crashes only in the last moment, while linking executables:\r\n```\r\n[ 98%] Linking CXX executable entwine\r\n../libentwine.so.2.0.0: undefined reference to `pdal::LazPerfDecompressor::LazPerfDecompressor(std::function<void (char*, unsigned long)>, std::vector<pdal::DimType, std::allocator<pdal::DimType> > const&, unsigned long)'\r\n../libentwine.so.2.0.0: undefined reference to `pdal::LazPerfCompressor::LazPerfCompressor(std::function<void (char*, unsigned long)>, std::vector<pdal::DimType, std::allocator<pdal::DimType> > const&)'\r\ncollect2: error: ld returned 1 exit status\r\napp/CMakeFiles/app.dir/build.make:201: recipe for target „app/entwine“ failed\r\nmake[2]: *** [app/entwine] Error 1\r\nCMakeFiles/Makefile2:661: recipe for target „app/CMakeFiles/app.dir/all“ failed\r\nmake[1]: *** [app/CMakeFiles/app.dir/all] Error 2\r\nmake[1]: *** Waiting for unfinished tasks…\r\n```\r\n\r\nI use `libpdal 1.7.2-3` from the official ubuntu repository (release 18.10 cosmic). As a first step now, I'll try and build pdal from source."},"comment":{"url":"https://api.github.com/repos/connormanning/entwine/issues/comments/434740415","html_url":"https://github.com/connormanning/entwine/issues/126#issuecomment-434740415","issue_url":"https://api.github.com/repos/connormanning/entwine/issues/126","id":434740415,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNDc0MDQxNQ==","user":{"login":"rmam-spinworks","id":39906295,"node_id":"MDQ6VXNlcjM5OTA2Mjk1","avatar_url":"https://avatars1.githubusercontent.com/u/39906295?v=4","gravatar_id":"","url":"https://api.github.com/users/rmam-spinworks","html_url":"https://github.com/rmam-spinworks","followers_url":"https://api.github.com/users/rmam-spinworks/followers","following_url":"https://api.github.com/users/rmam-spinworks/following{/other_user}","gists_url":"https://api.github.com/users/rmam-spinworks/gists{/gist_id}","starred_url":"https://api.github.com/users/rmam-spinworks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmam-spinworks/subscriptions","organizations_url":"https://api.github.com/users/rmam-spinworks/orgs","repos_url":"https://api.github.com/users/rmam-spinworks/repos","events_url":"https://api.github.com/users/rmam-spinworks/events{/privacy}","received_events_url":"https://api.github.com/users/rmam-spinworks/received_events","type":"User","site_admin":false},"created_at":"2018-10-31T15:50:08Z","updated_at":"2018-10-31T15:50:08Z","author_association":"NONE","body":"I believe I might have stumbled on what might be causing this problem.  See https://github.com/PDAL/PDAL/issues/2260"}}
{"actor":{"display_login":"rmam-spinworks"}}