{"action":"created","issue":{"url":"https://api.github.com/repos/Unidata/UDUNITS-2/issues/18","labels_url":"https://api.github.com/repos/Unidata/UDUNITS-2/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/Unidata/UDUNITS-2/issues/18/comments","events_url":"https://api.github.com/repos/Unidata/UDUNITS-2/issues/18/events","html_url":"https://github.com/Unidata/UDUNITS-2/issues/18","id":40490508,"number":18,"title":"Building UDUNITS2 with CMAKE:  missing EXPAT_INCLUDE_DIR","user":{"login":"rsignell-usgs","id":1872600,"avatar_url":"https://avatars.githubusercontent.com/u/1872600?v=3","gravatar_id":"","url":"https://api.github.com/users/rsignell-usgs","html_url":"https://github.com/rsignell-usgs","followers_url":"https://api.github.com/users/rsignell-usgs/followers","following_url":"https://api.github.com/users/rsignell-usgs/following{/other_user}","gists_url":"https://api.github.com/users/rsignell-usgs/gists{/gist_id}","starred_url":"https://api.github.com/users/rsignell-usgs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rsignell-usgs/subscriptions","organizations_url":"https://api.github.com/users/rsignell-usgs/orgs","repos_url":"https://api.github.com/users/rsignell-usgs/repos","events_url":"https://api.github.com/users/rsignell-usgs/events{/privacy}","received_events_url":"https://api.github.com/users/rsignell-usgs/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":22,"created_at":"2014-08-18T13:57:20Z","updated_at":"2015-04-16T18:12:23Z","closed_at":"2014-08-18T14:00:27Z","body":"@WardF , I tried building UDUNITS2 with CMAKE following your  directions:\r\n\r\n```\r\n$ cd c:\\programs\\udunits-2-master\r\n$ mkdir build\r\n$ cd build\r\n$ cmake .. -DCMAKE_PREFIX_PATH=c:\\programs\\expat32_2.1.0  -G\"Visual Studio 9 2008\"\r\n$ cmake --build . --config Release --target libudunits2\r\n$ cmake --build . --config Release --target udunits2\r\n```\r\nbut got back:\r\n```\r\nc:\\RPS\\UDUNITS-2-master\\build>cmake .. -DCMAKE_PREFIX_PATH=c:\\programs\\expat32_2\r\n.1.0 -G\"Visual Studio 9 2008\"\r\n-- Building Windows DLL: ON\r\nDEFAULT_UDUNITS2_XML_PATH = \"C:\\\\Program Files (x86)\\\\udunits\\\\share\\\\udunits\\\\u\r\ndunits2.xml\"\r\n-- Could NOT find EXPAT (missing:  EXPAT_LIBRARY EXPAT_INCLUDE_DIR)\r\nCMake Error at CMakeLists.txt:161 (MESSAGE):\r\n  Unable to find an EXPAT library.\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/Unidata/UDUNITS-2/issues/comments/93805505","html_url":"https://github.com/Unidata/UDUNITS-2/issues/18#issuecomment-93805505","issue_url":"https://api.github.com/repos/Unidata/UDUNITS-2/issues/18","id":93805505,"user":{"login":"meengla","id":7047346,"avatar_url":"https://avatars.githubusercontent.com/u/7047346?v=3","gravatar_id":"","url":"https://api.github.com/users/meengla","html_url":"https://github.com/meengla","followers_url":"https://api.github.com/users/meengla/followers","following_url":"https://api.github.com/users/meengla/following{/other_user}","gists_url":"https://api.github.com/users/meengla/gists{/gist_id}","starred_url":"https://api.github.com/users/meengla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meengla/subscriptions","organizations_url":"https://api.github.com/users/meengla/orgs","repos_url":"https://api.github.com/users/meengla/repos","events_url":"https://api.github.com/users/meengla/events{/privacy}","received_events_url":"https://api.github.com/users/meengla/received_events","type":"User","site_admin":false},"created_at":"2015-04-16T18:12:23Z","updated_at":"2015-04-16T18:12:23Z","body":"Probably even closer; after the above commands, I also ran: cmake --build . --config Release and now I see one fatal error: expat.h not found in a vsxproj ; so I must have not included the Expath Library correctly?"}}