Segmentation fault (core dumped) for PCL example_nurbs_fitting_curve2d - point-cloud-library

I am trying to run the point cloud library example_nurbs_fitting_curve2d.cpp using curve2d.pcd file as data points on which curve is to be fit. After successfully building the project i tried to run the code from build folder using $ ./example_nurbs_fitting_curve2d curve2d.pcd. this curve2d.pcd file is in the build folder of the project. It appeared as Curve2d.pcd started loading like
loading curve2d.pcd
But then following error occured
Segmentation fault (core dumped)
Currently, i have Ubuntu 16.04 LTS installed, I am not sure if its some kind of programming error or am I missing something? Thank you in advance for your help and suggestions.

Using ubuntu 16.04, I tried debugging every line of code but couldn't find the reason of "Segmentation fault". Then i changed my Ubuntu version to 14.04 and reinstalled pcl 1.7.2. No segmentation fault error occurred. It generates output as expected.
I guess, its the updated version of c++ in ubuntu 16.04 which is not compatible with pcl versions.

Related

MikTex - application failed to start because no Qt platform plugin could be initialized

While the installation of MikTex is working without a problem, trying to run the GUI of MikTex creates the following error on Windows:
I never had this problem on any windows version except for 11 and installing qt by hand involves reqistering (or paying) for qt.
Is there a simpler solution to that error?
Should a version of qt not be installed with miktex?
(Reinstalling did not fix the issue)

Cannot run Gnat Studio

I'm trying to run Gnat Studio on Ubuntu 22.04 but I get the following error:
/opt/gnatstudio/bin/gnatstudio_exe: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory
I have installed it via the following steps:
Downloaded the "x86 GNU Linux (64 bits)" community edition and ran this
Ran /opt/GNAT/2021/doinstall
Ran /opt/gnatstudio/bin/gnatstudio and got the above error (sudo-running this yields the same error)
I'm wondering if this is down to 22.04 being a very recent release and some shared libraries are missing from the installation bundle?
Any pointers would be much appreciated.
Thanks
It seems you're missing libtinfo5. Just try to install it via
$ sudo apt install libtinfo5

Got an error while building Wayland: ERROR: Program 'dot' not found

I am following instructions in wayland's gitlab website to build it on Ubuntu 20.04. But I got an error at the "meson build" step:
Program dot found: NO
doc/meson.build:1:0: ERROR: Program 'dot' not found
I have tried installing graphviz using apt-get, pydot using pip3, but still receive the above error. What else should I install?
If you don't need the documentation built, just running meson setup $builddir -Ddocumentation=false will turn off the documentation, and thus the need for dot.
But it's confusing that graphviz isn't fixing the problem, since that is the Debian/Ubuntu package with dot in it.

Cannot install sf package on Ubuntu server fails due to malloc error

I'm trying to install the latest sf package (version 0.9-4) using R 4.0 on an AWS EC2 instance with Ubuntu 18.04. I get this error:
testing if installed package can be loaded from temporary location
malloc_consolidate(): invalid chunk size
Aborted (core dumped)
ERROR: loading failed
I've tried downloading the package several ways, and I can download other packages just fine. There are 15G of ram available and 47G of available space on the hard drive. I can't figure out how this would be a memory problem or what my next steps might be.
I was eventually able to install it, although I'm not sure what exactly fixed it. It may have been updating various dependencies.

Ubuntu-19.10 Qt Lib Anaconda-Navigator Error

Somewhat of a Ubuntu noob coming from windows, so i hope its an easy fix.
This is the error I get when I try to launch Anaconda:
Cannot mix incompatible Qt library (version 0x50905) with this library (version 0x50907)
Aborted (core dumped)
So my thought is that there is an environment variable that needs to be tweaked to point to a native version of qt that comes with conda. Any help would be great, i need line by line instructions if possible, still new.
Thanks
I was running a retro theme on my terminal that somehow interfered with the QT versions.

Resources