[opensuse-support] Compiling regard3d
Hi, Is there anyone here who has successfully compiled regard2d? As stated on the project site, ",It converts photos of an object, taken from different angles, into a 3D model of this object." The main site is at https://www.regard3d.org/index.php. There is no Linux binary available, let alone an rpm-package for OpenSuse. There is a link to instructions for compiling it on Linux, and, following that, I tried to compile the first part (OpenMVG), but it halts at MainWindow.cc:(.text+0x30d1): undefined reference to `image_undistort_gui::MainWindow::staticMetaObject' From there I'm to less a programmer as to know how to proceed. Anyone who has compiled this, or wants to guide me in how to make this a success? Any help appreciated! regards, Jogchum
Am Samstag, 28. November 2020, 14:48:03 CET schrieb Jogchum Reitsma:
Anyone who has compiled this, or wants to guide me in how to make this a success?
Can you share your OBS project with the rest of the world? That would help finding a solution.... Cheers Axel
Hi Axel, You mean an OpenSuse OBS-project? I don't have one.... I've just downloaded the sources from the main site, and the guide to compile it. Then I tried to follow that guide,. but went stuck with compiling openMVG: [ 84%] Linking CXX executable ../../Linux-x86_64-RELEASE/openMVG_sample_image_undistort /usr/lib64/gcc/x86_64-suse-linux/10/../../../../x86_64-suse-linux/bin/ld: CMakeFiles/openMVG_sample_image_undistort.dir/main.cc.o: in function `image_undistort_gui::MainWindow::~MainWindow()': main.cc:(.text._ZN19image_undistort_gui10MainWindowD2Ev[_ZN19image_undistort_gui10MainWindowD5Ev]+0xc): undefined reference to `vtable for image_undistort_gui::MainWindow' /usr/lib64/gcc/x86_64-suse-linux/10/../../../../x86_64-suse-linux/bin/ld: CMakeFiles/openMVG_sample_image_undistort.dir/main.cc.o: in function `non-virtual thunk to image_undistort_gui::MainWindow::~MainWindow()': main.cc:(.text._ZN19image_undistort_gui10MainWindowD2Ev[_ZN19image_undistort_gui10MainWindowD5Ev]+0x8c): undefined reference to `vtable for image_undistort_gui::MainWindow' /usr/lib64/gcc/x86_64-suse-linux/10/../../../../x86_64-suse-linux/bin/ld: CMakeFiles/openMVG_sample_image_undistort.dir/main.cc.o: in function `image_undistort_gui::MainWindow::~MainWindow()': main.cc:(.text._ZN19image_undistort_gui10MainWindowD0Ev[_ZN19image_undistort_gui10MainWindowD5Ev]+0xc): undefined reference to `vtable for image_undistort_gui::MainWindow' /usr/lib64/gcc/x86_64-suse-linux/10/../../../../x86_64-suse-linux/bin/ld: CMakeFiles/openMVG_sample_image_undistort.dir/main.cc.o: in function `non-virtual thunk to image_undistort_gui::MainWindow::~MainWindow()': main.cc:(.text._ZN19image_undistort_gui10MainWindowD0Ev[_ZN19image_undistort_gui10MainWindowD5Ev]+0x83): undefined reference to `vtable for image_undistort_gui::MainWindow' /usr/lib64/gcc/x86_64-suse-linux/10/../../../../x86_64-suse-linux/bin/ld: CMakeFiles/openMVG_sample_image_undistort.dir/MainWindow.cc.o: in function `image_undistort_gui::MainWindow::onExportImage()': MainWindow.cc:(.text+0x31): undefined reference to `image_undistort_gui::MainWindow::staticMetaObject' /usr/lib64/gcc/x86_64-suse-linux/10/../../../../x86_64-suse-linux/bin/ld: CMakeFiles/openMVG_sample_image_undistort.dir/MainWindow.cc.o: in function `image_undistort_gui::MainWindow::MainWindow(QWidget*)': MainWindow.cc:(.text+0x2f87): undefined reference to `vtable for image_undistort_gui::MainWindow' /usr/lib64/gcc/x86_64-suse-linux/10/../../../../x86_64-suse-linux/bin/ld: CMakeFiles/openMVG_sample_image_undistort.dir/MainWindow.cc.o: in function `image_undistort_gui::MainWindow::onOpenImage()': MainWindow.cc:(.text+0x30d1): undefined reference to `image_undistort_gui::MainWindow::staticMetaObject' collect2: error: ld returned 1 exit status make[2]: *** [openMVG_Samples/image_undistort_gui/CMakeFiles/openMVG_sample_image_undistort.dir/build.make:163: Linux-x86_64-RELEASE/openMVG_sample_image_undistort] Fout 1 make[1]: *** [CMakeFiles/Makefile2:6976: openMVG_Samples/image_undistort_gui/CMakeFiles/openMVG_sample_image_undistort.dir/all] Error 2 A few day ago I posted a question about this on https://sourceforge.net/p/regard3d/wiki/Home/ to the author of the project, RomanH. Didn't get a reply for a few days, but got one a few hours ago. So maybe he can give some support, but he's very busy, and apparently (at least, according to the author) compiling regard3d isn't a simple task. Should I create an OBS-project? Never done that before... Thanks! regards, Jogchum Op 28-11-2020 om 16:40 schreef Axel Braun:
Am Samstag, 28. November 2020, 14:48:03 CET schrieb Jogchum Reitsma:
Anyone who has compiled this, or wants to guide me in how to make this a success? Can you share your OBS project with the rest of the world? That would help finding a solution....
Cheers Axel _______________________________________________ openSUSE Support mailing list -- support@lists.opensuse.org To unsubscribe, email support-leave@lists.opensuse.org List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette List Archives: https://lists.opensuse.org/archives/list/support@lists.opensuse.org
Hello Jogchum, Am Samstag, 28. November 2020, 21:06:25 CET schrieb Jogchum Reitsma:
You mean an OpenSuse OBS-project? I don't have one....
When you log in to OBS with your openSUSE-credentials into OBS you get to home:<username>, and that is you personal sandpit. In this you can add a package - like regard3d - upload sources and spec file, add a Distribution to build against (e.g. Leap 15.2) and let it run.... (of course it is not really that easy - take a look at https://en.opensuse.org/Portal:Packaging ) There a various advantages of building the software in OBS, one of them is that all our C++ experts can take a look easily...and see the full log...
I've just downloaded the sources from the main site, and the guide to compile it. Then I tried to follow that guide,. but went stuck with compiling openMVG:
....and that looks like a linker problem to me (not being a C++ expert) <snip>
A few day ago I posted a question about this on https://sourceforge.net/p/regard3d/wiki/Home/ to the author of the project, RomanH. Didn't get a reply for a few days, but got one a few hours ago. So maybe he can give some support, but he's very busy, and apparently (at least, according to the author) compiling regard3d isn't a simple task.
Thats probably true for many projects....just read the thread on sourceforge, at least the community is willing to support.
Should I create an OBS-project? Never done that before...
See above. Drop us a mail if you run into trouble Groetjes Axel
On 29/11/2020 09.40, Axel Braun wrote:
Hello Jogchum,
Am Samstag, 28. November 2020, 21:06:25 CET schrieb Jogchum Reitsma:
You mean an OpenSuse OBS-project? I don't have one....
When you log in to OBS with your openSUSE-credentials into OBS you get to home:<username>, and that is you personal sandpit.
In this you can add a package - like regard3d - upload sources and spec file, add a Distribution to build against (e.g. Leap 15.2) and let it run....
You mean create an spec file. It is a nightmare. To the complications of compiling, you add the complications of OBS. :-( -- Cheers / Saludos, Carlos E. R. (from 15.1 x86_64 at Telcontar)
Am Sonntag, 29. November 2020, 13:01:42 CET schrieb Carlos E. R.:
On 29/11/2020 09.40, Axel Braun wrote:
Hello Jogchum,
Am Samstag, 28. November 2020, 21:06:25 CET schrieb Jogchum Reitsma:
You mean an OpenSuse OBS-project? I don't have one....
When you log in to OBS with your openSUSE-credentials into OBS you get to home:<username>, and that is you personal sandpit.
In this you can add a package - like regard3d - upload sources and spec file, add a Distribution to build against (e.g. Leap 15.2) and let it run.... You mean create an spec file.
Some projects deliver one, others not. Fedora might be a ood point to start looking for one as well (not in this case).
It is a nightmare. To the complications of compiling, you add the complications of OBS. :-(
Like the clean build environment, not messed up with personal add-ons and tweaks? Every tool needs a learning curve, and I have not seen something similar, that allows x-distro and x-platform builds so easily. My 2c Axel
On 29/11/2020 14.21, Axel Braun wrote:
Am Sonntag, 29. November 2020, 13:01:42 CET schrieb Carlos E. R.:
On 29/11/2020 09.40, Axel Braun wrote:
Hello Jogchum,
Am Samstag, 28. November 2020, 21:06:25 CET schrieb Jogchum Reitsma:
You mean an OpenSuse OBS-project? I don't have one....
When you log in to OBS with your openSUSE-credentials into OBS you get to home:<username>, and that is you personal sandpit.
In this you can add a package - like regard3d - upload sources and spec file, add a Distribution to build against (e.g. Leap 15.2) and let it run.... You mean create an spec file.
Some projects deliver one, others not. Fedora might be a ood point to start looking for one as well (not in this case).
It is a nightmare. To the complications of compiling, you add the complications of OBS. :-(
Like the clean build environment, not messed up with personal add-ons and tweaks?
How clean do you think a clean directory in my computer is? Absolutely empty. I have no idea how to create an spec file.
Every tool needs a learning curve, and I have not seen something similar, that allows x-distro and x-platform builds so easily.
I already know how to build Linux projects at home, no effort needed. I tried the OBS and failed, years ago. Too complicated. There are no training courses on OBS. I prefer the old checkinstall approach. It created the spec file automatically, it just worked. I'm not a packager and I don't want to be. -- Cheers / Saludos, Carlos E. R. (from 15.1 x86_64 at Telcontar)
Am Sonntag, 29. November 2020, 14:38:33 CET schrieb Carlos E. R.:
On 29/11/2020 14.21, Axel Braun wrote:
Am Sonntag, 29. November 2020, 13:01:42 CET schrieb Carlos E. R.:
On 29/11/2020 09.40, Axel Braun wrote:
Hello Jogchum,
Am Samstag, 28. November 2020, 21:06:25 CET schrieb Jogchum Reitsma:
You mean an OpenSuse OBS-project? I don't have one....
When you log in to OBS with your openSUSE-credentials into OBS you get to home:<username>, and that is you personal sandpit.
In this you can add a package - like regard3d - upload sources and spec file, add a Distribution to build against (e.g. Leap 15.2) and let it run....
You mean create an spec file.
Some projects deliver one, others not. Fedora might be a ood point to start looking for one as well (not in this case).
It is a nightmare. To the complications of compiling, you add the complications of OBS. :-(
Like the clean build environment, not messed up with personal add-ons and tweaks?
How clean do you think a clean directory in my computer is? Absolutely empty.
As clean as all the additionally installed packages and tweaks, that are not needed to compile the program (and would not be in a new VM on OBS).
I have no idea how to create an spec file.
See below
Every tool needs a learning curve, and I have not seen something similar, that allows x-distro and x-platform builds so easily.
I already know how to build Linux projects at home, no effort needed. I tried the OBS and failed, years ago. Too complicated. There are no training courses on OBS.
I prefer the old checkinstall approach. It created the spec file automatically, it just worked.
That could be a starting point....
I'm not a packager and I don't want to be.
No problem with that. I prefer OBS builds and RPM created from there over homebrewn compilations. But as we say in my area: 'Jede Jeck is anners' (roughly, everyone is different) Cheers Axel
On 29/11/2020 17.05, Axel Braun wrote:
Am Sonntag, 29. November 2020, 14:38:33 CET schrieb Carlos E. R.:
On 29/11/2020 14.21, Axel Braun wrote:
Am Sonntag, 29. November 2020, 13:01:42 CET schrieb Carlos E. R.:
On 29/11/2020 09.40, Axel Braun wrote:
Am Samstag, 28. November 2020, 21:06:25 CET schrieb Jogchum Reitsma:
You mean an OpenSuse OBS-project? I don't have one....
When you log in to OBS with your openSUSE-credentials into OBS you get to home:<username>, and that is you personal sandpit.
In this you can add a package - like regard3d - upload sources and spec file, add a Distribution to build against (e.g. Leap 15.2) and let it run....
You mean create an spec file.
Some projects deliver one, others not. Fedora might be a ood point to start looking for one as well (not in this case).
It is a nightmare. To the complications of compiling, you add the complications of OBS. :-(
Like the clean build environment, not messed up with personal add-ons and tweaks?
How clean do you think a clean directory in my computer is? Absolutely empty.
As clean as all the additionally installed packages and tweaks, that are not needed to compile the program (and would not be in a new VM on OBS).
That is only relevant when compiling for publication.
I have no idea how to create an spec file.
See below
Every tool needs a learning curve, and I have not seen something similar, that allows x-distro and x-platform builds so easily.
I already know how to build Linux projects at home, no effort needed. I tried the OBS and failed, years ago. Too complicated. There are no training courses on OBS.
I prefer the old checkinstall approach. It created the spec file automatically, it just worked.
That could be a starting point....
Last time I used it, which was several years ago, it was no longer packaged, and it was broken. Nobody had interest in repairing it, they all said "use the OBS". Last version is dated 2016. Only some home repos have it.
I'm not a packager and I don't want to be.
No problem with that. I prefer OBS builds and RPM created from there over homebrewn compilations. But as we say in my area: 'Jede Jeck is anners' (roughly, everyone is different)
-- Cheers / Saludos, Carlos E. R. (from 15.1 x86_64 at Telcontar)
On Sun, 29 Nov 2020 20:07:03 +0100 "Carlos E. R." <robin.listas@telefonica.net> wrote:
On 29/11/2020 17.05, Axel Braun wrote:
Am Sonntag, 29. November 2020, 14:38:33 CET schrieb Carlos E. R.:
On 29/11/2020 14.21, Axel Braun wrote:
Am Sonntag, 29. November 2020, 13:01:42 CET schrieb Carlos E. R.:
On 29/11/2020 09.40, Axel Braun wrote:
Am Samstag, 28. November 2020, 21:06:25 CET schrieb Jogchum Reitsma: > You mean an OpenSuse OBS-project? I don't have one....
When you log in to OBS with your openSUSE-credentials into OBS you get to home:<username>, and that is you personal sandpit.
In this you can add a package - like regard3d - upload sources and spec file, add a Distribution to build against (e.g. Leap 15.2) and let it run....
You mean create an spec file.
Some projects deliver one, others not. Fedora might be a ood point to start looking for one as well (not in this case).
It is a nightmare. To the complications of compiling, you add the complications of OBS. :-(
Like the clean build environment, not messed up with personal add-ons and tweaks?
How clean do you think a clean directory in my computer is? Absolutely empty.
As clean as all the additionally installed packages and tweaks, that are not needed to compile the program (and would not be in a new VM on OBS).
That is only relevant when compiling for publication.
No, the point Axel is making is that every package you have installed on your system may have altered the compilation environment in some unknown way. Some library or config file on your system may be different from what somebody else has and may be referred to when compiling the program. So they cannot reproduce what you did and any instructions you may give are not as useful as they could be. The point of OBS is to provide a well-defined environment so that compilations etc *ARE* reproducible.
On 29/11/2020 21.11, Dave Howorth wrote:
On Sun, 29 Nov 2020 20:07:03 +0100 "Carlos E. R." <> wrote:
On 29/11/2020 17.05, Axel Braun wrote:
Am Sonntag, 29. November 2020, 14:38:33 CET schrieb Carlos E. R.:
On 29/11/2020 14.21, Axel Braun wrote:
Like the clean build environment, not messed up with personal add-ons and tweaks?
How clean do you think a clean directory in my computer is? Absolutely empty.
As clean as all the additionally installed packages and tweaks, that are not needed to compile the program (and would not be in a new VM on OBS).
That is only relevant when compiling for publication.
No, the point Axel is making is that every package you have installed on your system may have altered the compilation environment in some unknown way. Some library or config file on your system may be different from what somebody else has and may be referred to when compiling the program. So they cannot reproduce what you did and any instructions you may give are not as useful as they could be.
The point of OBS is to provide a well-defined environment so that compilations etc *ARE* reproducible.
Ah, understood, thanks :-) But that has never blocked me from compiling something I wanted. Can't say I even noticed the issue. -- Cheers / Saludos, Carlos E. R. (from 15.1 x86_64 at Telcontar)
On 2020-11-29 14:22:01 Carlos E. R. wrote:
On 29/11/2020 21.11, Dave Howorth wrote:
On Sun, 29 Nov 2020 20:07:03 +0100 "Carlos E. R." <> wrote:
On 29/11/2020 17.05, Axel Braun wrote:
Am Sonntag, 29. November 2020, 14:38:33 CET schrieb Carlos E. R.:
On 29/11/2020 14.21, Axel Braun wrote:
Like the clean build environment, not messed up with personal add-ons and tweaks?
How clean do you think a clean directory in my computer is? Absolutely empty.
As clean as all the additionally installed packages and tweaks, that are not needed to compile the program (and would not be in a new VM on OBS).
That is only relevant when compiling for publication.
No, the point Axel is making is that every package you have installed on your system may have altered the compilation environment in some unknown way. Some library or config file on your system may be different from what somebody else has and may be referred to when compiling the program. So they cannot reproduce what you did and any instructions you may give are not as useful as they could be.
The point of OBS is to provide a well-defined environment so that compilations etc *ARE* reproducible.
Ah, understood, thanks :-)
But that has never blocked me from compiling something I wanted. Can't say I even noticed the issue.
I suspect that it would be the users of the RPM that you create who might see problems from that. :-) Leslie --
On 03/12/2020 22.32, J Leslie Turriff wrote:
On 2020-11-29 14:22:01 Carlos E. R. wrote:
On 29/11/2020 21.11, Dave Howorth wrote:
On Sun, 29 Nov 2020 20:07:03 +0100 "Carlos E. R." <> wrote:
On 29/11/2020 17.05, Axel Braun wrote:
Am Sonntag, 29. November 2020, 14:38:33 CET schrieb Carlos E. R.:
On 29/11/2020 14.21, Axel Braun wrote:
...
The point of OBS is to provide a well-defined environment so that compilations etc *ARE* reproducible.
Ah, understood, thanks :-)
But that has never blocked me from compiling something I wanted. Can't say I even noticed the issue.
I suspect that it would be the users of the RPM that you create who might see problems from that. :-)
There are no users save me alone. -- Cheers / Saludos, Carlos E. R. (from 15.1 x86_64 at Telcontar)
On 2020-12-04 05:38:57 Carlos E. R. wrote:
On 03/12/2020 22.32, J Leslie Turriff wrote:
On 2020-11-29 14:22:01 Carlos E. R. wrote:
On 29/11/2020 21.11, Dave Howorth wrote:
On Sun, 29 Nov 2020 20:07:03 +0100 "Carlos E. R." <> wrote:
On 29/11/2020 17.05, Axel Braun wrote:
Am Sonntag, 29. November 2020, 14:38:33 CET schrieb Carlos E. R.: > On 29/11/2020 14.21, Axel Braun wrote:
...
The point of OBS is to provide a well-defined environment so that compilations etc *ARE* reproducible.
Ah, understood, thanks :-)
But that has never blocked me from compiling something I wanted. Can't say I even noticed the issue.
I suspect that it would be the users of the RPM that you create who might see problems from that. :-)
There are no users save me alone.
I mean, if you were to publish your RPM for others to use. Leslie --
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sunday, 2020-12-06 at 00:44 -0600, J Leslie Turriff wrote:
On 2020-12-04 05:38:57 Carlos E. R. wrote:
On 03/12/2020 22.32, J Leslie Turriff wrote:
On 2020-11-29 14:22:01 Carlos E. R. wrote:
On 29/11/2020 21.11, Dave Howorth wrote:
On Sun, 29 Nov 2020 20:07:03 +0100 "Carlos E. R." <> wrote:
On 29/11/2020 17.05, Axel Braun wrote: > Am Sonntag, 29. November 2020, 14:38:33 CET schrieb Carlos E. R.: >> On 29/11/2020 14.21, Axel Braun wrote:
...
The point of OBS is to provide a well-defined environment so that compilations etc *ARE* reproducible.
Ah, understood, thanks :-)
But that has never blocked me from compiling something I wanted. Can't say I even noticed the issue.
I suspect that it would be the users of the RPM that you create who might see problems from that. :-)
There are no users save me alone.
I mean, if you were to publish your RPM for others to use.
But I don't, ever. The goal of using "checkinstall" is not to publish rpms, but to run "make install" and produce an rpm in/for my machine, and install that one instead, so that the rpm database knows that the package is installed, and so doesn't insist in installing the published package if it exists. And also facilitates uninstalling the produced package easily, because many devs create the "make install" procedure and forget about "make uninstall". The instant one wants to publish the rpm, the road changes and OBS becomes the correct way. In fact, I have something installed in my machine using "make install" because I could not find checkinstall. I forget which thing, - -- Cheers, Carlos E. R. (from openSUSE 15.1 x86_64 at Telcontar) -----BEGIN PGP SIGNATURE----- iHoEARECADoWIQQZEb51mJKK1KpcU/W1MxgcbY1H1QUCX8zLlRwccm9iaW4ubGlz dGFzQHRlbGVmb25pY2EubmV0AAoJELUzGBxtjUfV6fkAn0tN5OxqfKfWeU3jjIFz CoaJJJX1AJ4pS+u45VDg6Gv5cn3EMZWDor1WhA== =FIuF -----END PGP SIGNATURE-----
On 2020-12-06 06:16:21 Carlos E. R. wrote:
On Sunday, 2020-12-06 at 00:44 -0600, J Leslie Turriff wrote:
On 2020-12-04 05:38:57 Carlos E. R. wrote:
On 03/12/2020 22.32, J Leslie Turriff wrote:
On 2020-11-29 14:22:01 Carlos E. R. wrote:
On 29/11/2020 21.11, Dave Howorth wrote:
On Sun, 29 Nov 2020 20:07:03 +0100 "Carlos E. R." <> wrote: > On 29/11/2020 17.05, Axel Braun wrote: >> Am Sonntag, 29. November 2020, 14:38:33 CET schrieb Carlos E. R.: >>> On 29/11/2020 14.21, Axel Braun wrote:
...
The point of OBS is to provide a well-defined environment so that compilations etc *ARE* reproducible.
Ah, understood, thanks :-)
But that has never blocked me from compiling something I wanted. Can't say I even noticed the issue.
I suspect that it would be the users of the RPM that you create who might see problems from that. :-)
There are no users save me alone.
I mean, if you were to publish your RPM for others to use.
But I don't, ever.
The goal of using "checkinstall" is not to publish rpms, but to run "make install" and produce an rpm in/for my machine, and install that one instead, so that the rpm database knows that the package is installed, and so doesn't insist in installing the published package if it exists. And also facilitates uninstalling the produced package easily, because many devs create the "make install" procedure and forget about "make uninstall".
The instant one wants to publish the rpm, the road changes and OBS becomes the correct way.
In fact, I have something installed in my machine using "make install" because I could not find checkinstall. I forget which thing,
Hm. I would never have guessed that "checkinstall" is a tool for converting a tarball to an RPM. This is the sort of thing that drives me crazy: "I've got a great idea for a helpful tool! What should I call it? 'tar2rpm'? No, too obvious..." Leslie --
On 06/12/2020 22.00, J Leslie Turriff wrote:
On 2020-12-06 06:16:21 Carlos E. R. wrote:
...
But I don't, ever.
The goal of using "checkinstall" is not to publish rpms, but to run "make install" and produce an rpm in/for my machine, and install that one instead, so that the rpm database knows that the package is installed, and so doesn't insist in installing the published package if it exists. And also facilitates uninstalling the produced package easily, because many devs create the "make install" procedure and forget about "make uninstall".
The instant one wants to publish the rpm, the road changes and OBS becomes the correct way.
In fact, I have something installed in my machine using "make install" because I could not find checkinstall. I forget which thing,
Hm. I would never have guessed that "checkinstall" is a tool for converting a tarball to an RPM. This is the sort of thing that drives me crazy: "I've got a great idea for a helpful tool! What should I call it? 'tar2rpm'? No, too obvious..."
No, it does not "convert". It runs "make install" on the directory you tell it (the current directory?), and basically captures what files it creates. With that information, it creates an rpm. It "checks" the "install" phase :-) Previous to that, you have to do "./configure" and "make" the project on your own. For example, looking at my ancient notes, I would do, as user: sudo /usr/sbin/checkinstall --arch=i686 \ --pkgname=geda --pkggroup=Compilaciones/Engineering/gEDA \ --pkgaltsource=www.geda.seul.org 'CFLAGS="-O2 \ -march=pentium4" make install' or sudo /usr/sbin/checkinstall --arch=i686 \ --pkggroup=Compilaciones/edit \ --pkgaltsource=http://www.lyx.org/ This is ancient stuff :-) Last time I used it was Aug 23 2012 -- Cheers / Saludos, Carlos E. R. (from 15.1 x86_64 at Telcontar)
Op 29-11-2020 om 09:40 schreef Axel Braun:
Hello Jogchum,
<snip> When you log in to OBS with your openSUSE-credentials into OBS you get to home:<username>, and that is you personal sandpit.
In this you can add a package - like regard3d - upload sources and spec file, add a Distribution to build against (e.g. Leap 15.2) and let it run....
(of course it is not really that easy - take a look at https://en.opensuse.org/Portal:Packaging )
There a various advantages of building the software in OBS, one of them is that all our C++ experts can take a look easily...and see the full log...
<snip> See above. Drop us a mail if you run into trouble
Groetjes Axel _______________________________________________ openSUSE Support mailing list -- support@lists.opensuse.org To unsubscribe, email support-leave@lists.opensuse.org List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette List Archives: https://lists.opensuse.org/archives/list/support@lists.opensuse.org
Hi Axel, Carlos, I'm somewhat in doubt here as to my possibilities to carry this project to OpenSuse. On the one hand, I have been using (open)suse and al of the OSS with it for I think more than 15 years, without contributing much more than an occasional bug report. So I feel - already for some time - a moral obligation to be of a little more value. Therefore I definitively would like to give it a try. On the other hand, reading the posts of Carlos in this thread, I very much doubt my skills here. I've never even read a spec file, let alone altering, let even more alone creating it. So, I would need a LOT of guidance, close to "someone else does the job, and shows me how he/she did it". If you - well, more special Axel :-) - think that's feasible, let's go, and see where "het schip strand", as we say in Dutch. regards, Jogchum
On 29/11/2020 20.21, Jogchum Reitsma wrote:
Op 29-11-2020 om 09:40 schreef Axel Braun:
Hi Axel, Carlos,
I'm somewhat in doubt here as to my possibilities to carry this project to OpenSuse.
On the one hand, I have been using (open)suse and al of the OSS with it for I think more than 15 years, without contributing much more than an occasional bug report. So I feel - already for some time - a moral obligation to be of a little more value. Therefore I definitively would like to give it a try.
On the other hand, reading the posts of Carlos in this thread, I very much doubt my skills here. I've never even read a spec file, let alone altering, let even more alone creating it. So, I would need a LOT of guidance, close to "someone else does the job, and shows me how he/she did it".
If you - well, more special Axel :-) - think that's feasible, let's go, and see where "het schip strand", as we say in Dutch.
IMHO, you will not get OBS to build unless you are able to build regard3d at home. The compiling problem will be the same in both places. I tried, and I have done more than one compilation. Once upon a time, I was a dev. And I failed. -- Cheers / Saludos, Carlos E. R. (from 15.1 x86_64 at Telcontar)
On Sun, 29 Nov 2020 20:47:28 +0100 "Carlos E. R." <robin.listas@telefonica.net> wrote:
On 29/11/2020 20.21, Jogchum Reitsma wrote:
Op 29-11-2020 om 09:40 schreef Axel Braun:
Hi Axel, Carlos,
I'm somewhat in doubt here as to my possibilities to carry this project to OpenSuse.
On the one hand, I have been using (open)suse and al of the OSS with it for I think more than 15 years, without contributing much more than an occasional bug report. So I feel - already for some time - a moral obligation to be of a little more value. Therefore I definitively would like to give it a try.
On the other hand, reading the posts of Carlos in this thread, I very much doubt my skills here. I've never even read a spec file, let alone altering, let even more alone creating it. So, I would need a LOT of guidance, close to "someone else does the job, and shows me how he/she did it".
If you - well, more special Axel :-) - think that's feasible, let's go, and see where "het schip strand", as we say in Dutch.
IMHO, you will not get OBS to build unless you are able to build regard3d at home. The compiling problem will be the same in both places.
But again, if you try on OBS then all the logs are public (IIUC what Axel said) so other people can help to get the build to work. If you try on your own system then you're pretty much on your own to solve any problems. Many hands make light work :)
I tried, and I have done more than one compilation. Once upon a time, I was a dev. And I failed.
Don't tempt me ...
On 29/11/2020 21.14, Dave Howorth wrote:
On Sun, 29 Nov 2020 20:47:28 +0100 "Carlos E. R." <> wrote:
On 29/11/2020 20.21, Jogchum Reitsma wrote:
Op 29-11-2020 om 09:40 schreef Axel Braun:
Hi Axel, Carlos,
I'm somewhat in doubt here as to my possibilities to carry this project to OpenSuse.
On the one hand, I have been using (open)suse and al of the OSS with it for I think more than 15 years, without contributing much more than an occasional bug report. So I feel - already for some time - a moral obligation to be of a little more value. Therefore I definitively would like to give it a try.
On the other hand, reading the posts of Carlos in this thread, I very much doubt my skills here. I've never even read a spec file, let alone altering, let even more alone creating it. So, I would need a LOT of guidance, close to "someone else does the job, and shows me how he/she did it".
If you - well, more special Axel :-) - think that's feasible, let's go, and see where "het schip strand", as we say in Dutch.
IMHO, you will not get OBS to build unless you are able to build regard3d at home. The compiling problem will be the same in both places.
But again, if you try on OBS then all the logs are public (IIUC what Axel said) so other people can help to get the build to work. If you try on your own system then you're pretty much on your own to solve any problems. Many hands make light work :)
Full logs can be published all the same... And compilation runs faster, instantly. At home I don't have to wait for resources.
I tried, and I have done more than one compilation. Once upon a time, I was a dev. And I failed.
Don't tempt me ...
:-) -- Cheers / Saludos, Carlos E. R. (from 15.1 x86_64 at Telcontar)
Am Sonntag, 29. November 2020, 21:24:42 CET schrieb Carlos E. R.:
IMHO, you will not get OBS to build unless you are able to build regard3d at home. The compiling problem will be the same in both places.
But again, if you try on OBS then all the logs are public (IIUC what Axel said) so other people can help to get the build to work. If you try on your own system then you're pretty much on your own to solve any problems. Many hands make light work :)
Full logs can be published all the same...
And compilation runs faster, instantly. At home I don't have to wait for resources.
You can compile locally using osc build <target> as well. Once it runs you can publish - or earlier, if you want to share the log Cheers Axel
<major snip> Hi Author admits they do not use linux.... A user created a howto: https://www.regard3d.org/images/R3D-Building.pdf What about openMVS, openMVG, Colmap etc? -- Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890) Tumbleweed 20201127 | GNOME Shell 3.38.1 | 5.9.10-1-default Intel DQ77MK MB | Xeon E3-1245 V2 X8 @ 3.40 GHz | Intel/Nvidia up 1:32, 2 users, load average: 0.31, 0.22, 0.28
Op 30-11-2020 om 14:51 schreef Malcolm:
<major snip> Hi Author admits they do not use linux....
A user created a howto: https://www.regard3d.org/images/R3D-Building.pdf That is the document I used, but is isn't very clar, at least not to me.
What about openMVS, openMVG, Colmap etc?
openMVG is an existing project on OBS, https://build.opensuse.org/package/show/home:andythe_great:branches:graphics.... I installed the TW-version. openMVS is also an existing project: https://build.opensuse.org/package/show/graphics/openMVS Idem Colmap, but with difficulties: https://build.opensuse.org/package/show/home:siegel/colmap I already created an (yet empty) regard3d project map regards, Jogchum
On Mon, 30 Nov 2020 18:52:19 +0100 Jogchum Reitsma <j.reitsma@hccnet.nl> wrote:
Op 30-11-2020 om 14:51 schreef Malcolm:
<major snip> Hi Author admits they do not use linux....
A user created a howto: https://www.regard3d.org/images/R3D-Building.pdf That is the document I used, but is isn't very clar, at least not to me.
It looks pretty good to me, detailed although complicated. What parts are giving you trouble?
What about openMVS, openMVG, Colmap etc?
openMVG is an existing project on OBS, https://build.opensuse.org/package/show/home:andythe_great:branches:graphics.... I installed the TW-version.
openMVS is also an existing project: https://build.opensuse.org/package/show/graphics/openMVS
Idem Colmap, but with difficulties: https://build.opensuse.org/package/show/home:siegel/colmap
I already created an (yet empty) regard3d project map
regards, Jogchum
On Mon 30 Nov 2020 06:52:19 PM CST, Jogchum Reitsma wrote:
Op 30-11-2020 om 14:51 schreef Malcolm:
<major snip> Hi Author admits they do not use linux....
A user created a howto: https://www.regard3d.org/images/R3D-Building.pdf That is the document I used, but is isn't very clar, at least not to me.
What about openMVS, openMVG, Colmap etc?
openMVG is an existing project on OBS, https://build.opensuse.org/package/show/home:andythe_great:branches:graphics.... I installed the TW-version.
openMVS is also an existing project: https://build.opensuse.org/package/show/graphics/openMVS Hi Yes, I'm the maintainer of openMVS ;)
Here is a special build of openMVG patched as per the document.... https://build.opensuse.org/package/show/home:malcolmlewis:TESTING/Regard3D_o... I probably need to revisit colmap in my testing repo.... -- Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890) Tumbleweed 20201129 | GNOME Shell 3.38.1 | 5.9.10-1-default Intel DQ77MK MB | Xeon E3-1245 V2 X8 @ 3.40 GHz | Intel/Nvidia up 10:55, 2 users, load average: 0.21, 0.81, 1.56
Op 01-12-2020 om 05:46 schreef Malcolm:
<snip>
openMVG is an existing project on OBS, https://build.opensuse.org/package/show/home:andythe_great:branches:graphics.... I installed the TW-version.
openMVS is also an existing project: https://build.opensuse.org/package/show/graphics/openMVS Hi Yes, I'm the maintainer of openMVS ;) Well, that's very good! I overlooked the name of the maintainer....
Here is a special build of openMVG patched as per the document.... https://build.opensuse.org/package/show/home:malcolmlewis:TESTING/Regard3D_o...
Yesterday late in the evening I got a mail from RomanH that indeed he needs a patched version of OpenMVG, very good to hear you packaged that version too. Shouldn't the patch be carried upstream, you think? If yes, is that something one would expect the author of the [patch to do? You notice I'm pretty ignorant as to correct behavior here... I'll install your package then.
I probably need to revisit colmap in my testing repo....
Probably... regards, Jogchum
Op 01-12-2020 om 05:46 schreef Malcolm:
<snip> Hi Yes, I'm the maintainer of openMVS ;)
Here is a special build of openMVG patched as per the document.... https://build.opensuse.org/package/show/home:malcolmlewis:TESTING/Regard3D_o...
It fails to install with zypper addrepo https://download.opensuse.org/repositories/home:malcolmlewis:TESTING/openSUS... Adding repository 'Testing packages... (openSUSE_Tumbleweed)' ........................................................................................................................................................................................................................................................[error] Repository named 'home_malcolmlewis_TESTING' already exists. Please use another alias. /* from a previous try to install the package*/ zypper install Regard3D_openMVG Loading repository data... Reading installed packages... 'Regard3D_openMVG' not found in package names. Trying capabilities. No provider of 'Regard3D_openMVG' found. Resolving package dependencies... Nothing to do Maybe the name of the package is incorrect? regards, Jogchum
I probably need to revisit colmap in my testing repo....
On Tue 01 Dec 2020 03:54:06 PM CST, Jogchum Reitsma wrote:
Op 01-12-2020 om 05:46 schreef Malcolm:
<snip> Hi Yes, I'm the maintainer of openMVS ;)
Here is a special build of openMVG patched as per the document.... https://build.opensuse.org/package/show/home:malcolmlewis:TESTING/Regard3D_o...
It fails to install with
zypper addrepo https://download.opensuse.org/repositories/home:malcolmlewis:TESTING/openSUS... Adding repository 'Testing packages... (openSUSE_Tumbleweed)' ........................................................................................................................................................................................................................................................[error] Repository named 'home_malcolmlewis_TESTING' already exists. Please use another alias. /* from a previous try to install the package*/
zypper install Regard3D_openMVG
Hi It's development package only... ;) zypper in Regard3D_openMVG-static-devel <snip> -- Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890) Tumbleweed 20201129 | GNOME Shell 3.38.1 | 5.9.10-1-default Intel DQ77MK MB | Xeon E3-1245 V2 X8 @ 3.40 GHz | Intel/Nvidia up 2:36, 2 users, load average: 0.91, 1.33, 1.58
On Tue 01 Dec 2020 07:07:26 PM CST, Jogchum Reitsma wrote:
Op 01-12-2020 om 16:01 schreef Malcolm:
zypper in Regard3D_openMVG-static-devel
That's it, thanks!
Hi Good deal :) If your interested, colmap is now fixed/updated in my testing repository, it should do what Regard3D can do... if needed, meshlab is in the graphics repo. -- Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890) Tumbleweed 20201130 | GNOME Shell 3.38.1 | 5.9.11-1-default Intel DQ77MK MB | Xeon E3-1245 V2 X8 @ 3.40 GHz | Intel/Nvidia up 3:13, 2 users, load average: 0.82, 1.28, 1.83
* Jogchum Reitsma <j.reitsma@hccnet.nl> [12-01-20 09:54]:
Op 01-12-2020 om 05:46 schreef Malcolm:
<snip> Hi Yes, I'm the maintainer of openMVS ;)
Here is a special build of openMVG patched as per the document.... https://build.opensuse.org/package/show/home:malcolmlewis:TESTING/Regard3D_o...
It fails to install with
zypper addrepo https://download.opensuse.org/repositories/home:malcolmlewis:TESTING/openSUS... Adding repository 'Testing packages... (openSUSE_Tumbleweed)' ........................................................................................................................................................................................................................................................[error] Repository named 'home_malcolmlewis_TESTING' already exists. Please use another alias. /* from a previous try to install the package*/
zypper install Regard3D_openMVG
Loading repository data... Reading installed packages... 'Regard3D_openMVG' not found in package names. Trying capabilities. No provider of 'Regard3D_openMVG' found. Resolving package dependencies...
Nothing to do
Maybe the name of the package is incorrect?
probably, try "openMVG" -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri Photos: http://wahoo.no-ip.org/piwigo paka @ IRCnet freenode
It fails to install with
zypper addrepo https://download.opensuse.org/repositories/home:malcolmlewis:TESTING/openSUS... Adding repository 'Testing packages... (openSUSE_Tumbleweed)' ........................................................................................................................................................................................................................................................[error]
Here is your error, perhaps you missed it. Double check the repo you’re trying to use. ***************************
Repository named 'home_malcolmlewis_TESTING' already exists. Please use another alias. /* from a previous try to install the package*/
*************************** Ken
Op 28-11-2020 om 21:06 schreef Jogchum Reitsma:
Hi Axel,
You mean an OpenSuse OBS-project? I don't have one....
I've just downloaded the sources from the main site, and the guide to compile it. Then I tried to follow that guide,. but went stuck with compiling openMVG:
[<snip> For OpenMVG there is already a project, I discovered: https://build.opensuse.org/package/show/home:andythe_great:branches:graphics... Should I create an OBS-project? Never done that before...
Created a (yet empty) project on OBS
Thanks!
regards, Jogchum
Op 28-11-2020 om 16:40 schreef Axel Braun:
Am Samstag, 28. November 2020, 14:48:03 CET schrieb Jogchum Reitsma:
Anyone who has compiled this, or wants to guide me in how to make this a success? Can you share your OBS project with the rest of the world? That would help finding a solution....
Cheers Axel _______________________________________________ openSUSE Support mailing list -- support@lists.opensuse.org To unsubscribe, email support-leave@lists.opensuse.org List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette List Archives: https://lists.opensuse.org/archives/list/support@lists.opensuse.org
openSUSE Support mailing list -- support@lists.opensuse.org To unsubscribe, email support-leave@lists.opensuse.org List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette List Archives: https://lists.opensuse.org/archives/list/support@lists.opensuse.org
On 28/11/2020 14.48, Jogchum Reitsma wrote:
Hi,
Is there anyone here who has successfully compiled regard2d? As stated on the project site, ",It converts photos of an object, taken from different angles, into a 3D model of this object."
The main site is at https://www.regard3d.org/index.php. There is no Linux binary available, let alone an rpm-package for OpenSuse.
There is a link to instructions for compiling it on Linux, and, following that, I tried to compile the first part (OpenMVG), but it halts at
MainWindow.cc:(.text+0x30d1): undefined reference to `image_undistort_gui::MainWindow::staticMetaObject'
From there I'm to less a programmer as to know how to proceed.
Anyone who has compiled this, or wants to guide me in how to make this a success?
Any help appreciated!
I have downloaded the sources (Regard3D_src_1.0.0.7z). There is no makefile, and of course, no spec file (so forget about the OBS). There is no README, no 'configure', no documentation directory, no hint of how this project is supposed to be built. There is only a "CMakeLists.txt" file on each directory. There is a cmake directory, too, which makes me assume that it is meant to be build using cmake. Not the standard Linux build. https://sourceforge.net/projects/regard3d/files/Regard3D/1.0.0/ Ignoring the direct download link and going to the sourceforge files directory I see a readme. It does not contain build instructions. Only this paragraph: «Other platforms --------------- Since this is a multi-platform project, it can also be compiled on other platforms. However, some CMake- and C++-knowledge is required.» For me it is forget it at this point. Or, you could download the windows version and try run it under wine... -- Cheers / Saludos, Carlos E. R. (from 15.1 x86_64 at Telcontar)
participants (8)
-
Axel Braun
-
Carlos E. R.
-
Dave Howorth
-
J Leslie Turriff
-
Jogchum Reitsma
-
Kenneth Schneider
-
Malcolm
-
Patrick Shanahan