Package Details: osvr-core-git 0.2.r3092.g495648e4-1

Git Clone URL: (read-only, click to copy)
Package Base: osvr-core-git
Description: The core libraries, applications, and plugins of the OSVR software platform.
Upstream URL:
Submitter: haagch
Maintainer: haagch (feilen, lubosz)
Last Packager: haagch
Votes: 13
Popularity: 0.000000
First Submitted: 2015-03-27 23:09 (UTC)
Last Updated: 2022-03-13 22:46 (UTC)

Latest Comments

1 2 3 4 5 6 Next › Last »

pix3l commented on 2023-02-05 11:53 (UTC)

eigen_pi.patch is needed for osvr-steamvr-git (and osvr-steamvr-johnlajoie-git too)

pix3l commented on 2023-02-05 11:52 (UTC)

diff --git a/inc/osvr/Util/EigenQuatExponentialMap.h b/inc/osvr/Util/EigenQuatExponentialMap.h
index 1dc43a83..3934f551 100644
--- a/inc/osvr/Util/EigenQuatExponentialMap.h
+++ b/inc/osvr/Util/EigenQuatExponentialMap.h
@@ -28,6 +28,10 @@
 // Internal Includes
 #include <osvr/Util/EigenCoreGeometry.h>

+#ifndef EIGEN_PI
+#define EIGEN_PI 3.141592654
 // Library/third-party includes
 // - none

pix3l commented on 2023-02-05 11:51 (UTC)

diff --git a/PKGBUILD b/PKGBUILD
index 65d6a82..f9536e1 100644
@@ -14,6 +14,7 @@ source=("osvr-core::git+"
+  "eigen_pi.patch"
 ) #TODO: add more recursive submodules

@@ -25,6 +26,7 @@ pkgver() {
 prepare() {
   cd osvr-core
   git apply -vvv "$srcdir"/opencv4.patch
+  git apply -vvv "$srcdir"/eigen_pi.patch

 #  git submodule init
 #  git config submodule.json-schemas.url "$srcdir/json-schemas"
@@ -69,6 +71,7 @@ md5sums=('SKIP'
-         'ae0e5847c89cc40840548a9b1bd9e49f')
+         'ae0e5847c89cc40840548a9b1bd9e49f'
+         '141ae482e6b17e635d1525bb642533c2')

 # vim:set ts=2 sw=2 et:

ecloud commented on 2021-09-23 08:09 (UTC)

If the pkgbuild insists on using make, then it also needs the cmake argument -G"Unix Makefiles". I otherwise use ninja for all cmake builds, so this pkgbuild does not work out-of-the-box if one has ninja installed and has CMAKE_GENERATOR=Ninja environment variable.

pix3l commented on 2020-10-29 12:49 (UTC)

@haagch: it build now for me too, I'm surpised ;-)

99% I tried clean-build it before(also tried using opencv2-opt, older branch), but I'm updating my archlinux from testing daily ;-)

haagch commented on 2020-10-29 01:08 (UTC)

@pix3l sorry about forgetting about your comment. Unfortunately I can't reproduce that, it builds fine here. If you have a former src/ directory, try nuking that (or makepkg -C).

pix3l commented on 2020-10-06 20:43 (UTC)

@haagch: it won't build for me :-(

85%] Built target com_osvr_Multiserver Scanning dependencies of target vbtracker-core [ 85%] Building CXX object plugins/videobasedtracker/CMakeFiles/vbtracker-core.dir/BeaconBasedPoseEstimator.cpp.o /mnt/magazyn/archlinux/aur-osvr-core-git/src/osvr-core/plugins/videobasedtracker/BeaconBasedPoseEstimator.cpp: In member function ‘bool osvr::vbtracker::BeaconBasedPoseEstimator::m_pnpransacEstimator(osvr::vbtracker::LedGroup&)’: /mnt/magazyn/archlinux/aur-osvr-core-git/src/osvr-core/plugins/videobasedtracker/BeaconBasedPoseEstimator.cpp:303:14: error: ‘void ransacResult’ has incomplete type 303 | auto ransacResult = cv::solvePnPRansac( | ^~~~~~~~~~~~ make[2]: [plugins/videobasedtracker/CMakeFiles/vbtracker-core.dir/build.make:82: plugins/videobasedtracker/CMakeFiles/vbtracker-core.dir/BeaconBasedPoseEstimator.cpp.o] Error 1 make[1]: [CMakeFiles/Makefile2:2083: plugins/videobasedtracker/CMakeFiles/vbtracker-core.dir/all] Error 2 make: *** [Makefile:171: all] Error

haagch commented on 2020-07-24 02:23 (UTC)

Updated with patch for opencv4 since opencv2-opt doesn't build anymore.

It compiles but I have not tested running it. If you want to contribute with OpenCV4 knowledge, please contribute in the upstream issue or just make a PR to tis branch

haagch commented on 2019-08-11 12:08 (UTC)

Hmm the opencv2-opt package doesn't actually have that videoio library, so to compile it you have to install the repo opencv package too.

I wonder if this can break something...

merlinbr commented on 2019-08-10 21:43 (UTC) (edited on 2019-08-10 23:35 (UTC) by merlinbr)

Hello, I get the following error when trying to build the package:

[ 96%] Linking CXX shared module ../../lib/osvr-plugins-0/

/usr/bin/ld: cannot find -lopencv_videoio