PointCloudLibrary/pcl

Detect Ensenso version at PCL configuration

Open

#1.394 geöffnet am 22. Okt. 2015

Auf GitHub ansehen
 (1 Kommentar) (0 Reaktionen) (1 zugewiesene Person)C++ (4.506 Forks)batch import
good first issuekind: todomodule: cmakeskill: cmake

Repository-Metriken

Stars
 (9.023 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 8T 7h) (3 gemergte PRs in 30 T)

Beschreibung

There should be a minimum Ensenso version in PCL config to make sure users don't have an old EnsensoSDK installed.

On Linux platforms there is a CMake and pkgconfig files installed (SDK 1.3.146 and above) but not on Windows.

$ pkg-config --modversion ensenso-nxlib
1.3.167

See https://github.com/PointCloudLibrary/pcl/issues/1200#issuecomment-150162667 for a multi-platform method; but there's no such macro in the EnsensoSDK:

$ grep -i "1.3.167" /opt/ensenso/ -r
/opt/ensenso/pkgconfig/ensenso-nxlib.pc:Version: 1.3.167
/opt/ensenso/pkgconfig/ensenso-nxlibremote.pc:Version: 1.3.167
/opt/ensenso/manual/html/changelog.htm:<td style="vertical-align:top; width:333px; padding:0px;"><p>1.3.167</p>
/opt/ensenso/manual/html/changelog.htm:<td style="vertical-align:top; width:120px; padding:0px;"><p>1.3.167</p>
/opt/ensenso/manual/html/zoom_index.js: "1.3.167 65 8 64",
/opt/ensenso/manual/html/zoom_pageinfo.js:["changelog.htm","About &#62; Changelog","About Changelog Navigation: About Changelog EnsensoSDK Revision 1.3.167 Last edited 21.08.2015 Changelog Version Changes 1.3.167 Fix: NxView: Adde...",""],

Contributor Guide