VIDIOC_STREAMON : broken pipe on Ubuntu VMWare - opencv

I'm using Ubuntu 12.04 installed on VMWare Player 6.0 on Windows 7.
I have tested my OpenCV application on Ubuntu host but on VM I'm unable to get the webcam running (HD Pro Webcam C920). I get a VIDIOC_STREAMON: Broken pipe error. I tried LD_PRELOAD=/usr/lib/libv4lv4l1compat.so ./myApp but I get ERROR: ld.so: object '/usr/lib/libv4lv4l1compat.so' from LD_PRELOAD cannot be preloaded: ignored. Please guide me to solve this problem.

Related

quorum-dev-quickstart when running in WSL2 got error message: incompatible with Windows

I am following the tutorial on the hyperledger besu Developer Quickstart and I tried running npx quorum-dev-quickstart but always received this error even though I am already using WSL2 with docker installed:
Unfortunately this tool is not compatible with Windows at the moment.
We recommend running it under Windows Subsystem For Linux 2 with Docker Desktop.
Same thing happens when using the Git Bash. Can anyone let me know what I should do differently? Thank you!!
I tried Git Bash, WSL2, PowerShell and none of them worked.

Docker Desktop Installation on Windows 10 Pro machine

Could you help me to resolve below error, I get below exception while Installing Docker Software in Windows 10 Pro Machine.
I did run the Docker Desktop as admin, still face the same issue.
I can think of a two things that might be a factor.
Do you have any anti virus running?
Sometimes Windows doesn't support a specific version of Docker. Double check if your Docker version is compatible with your Windows version.

How to Get Hyperledger Indy Running on Ubuntu 16.04 or Windows or PlayWithDocker

Other than the example/demo from this video: https://www.youtube.com/watch?v=llwfb5Ut5sg&t=2823s => https://github.com/swcurran/education/tree/master/LFS171x/indy-material/nodejs
I can not seem to get Hyperledger Indy (SDK or Node) succefully up and running from any of the guides:
- https://indy.readthedocs.io/en/latest/ OR
-https://github.com/hyperledger/indy-sdk OR
-https://github.com/hyperledger/indy-node#about-indy-node OR -Any guide on Medium.com or a google search.
On either my Ubuntu 16.04 OS, my Windows OS or Play With Docker online.
A common error is that the "libindy dependancy is not found" - but https://github.com/hyperledger/indy-sdk#installing-the-sdk always fails as well.
Has anyone recently and successfully done so? Any tips to get started developing would also be greatly appreciated.
There is an easy way to get a local Indy network , please try
von-network

Unable to use docker for windows after uninstalling toolbox

I upgraded to Win 10 Pro today and decided to switch over to Docker for Windows. I uninstalled toolbox first and then installed Docker for Windows, but now when I run any docker commands, it tries to look for Virtualbox/docker toolbox stuff, but that doesn't exist anymore/won't work.
Anyone know how I can fix this?

Couldn't rosrun turtlesim turtlesim_node

I am following the beginner rosnode tutorial http://wiki.ros.org/ROS/Tutorials/UnderstandingNodes
The environment is Windows 10 / WSL. When I enter command "rosrun turtlesim turtlesim_node" after running "roscore", I get the following error:
wn-003% rosrun turtlesim turtlesim_node
QXcbConnection: Could not connect to display
zsh: abort (core dumped) rosrun turtlesim turtlesim_node
Are there any solutions to this? Thanks.
WLS doesn't support graphical interfaces. You need to initialize some "x server for windows" application, like Xming and then type this line in WLS terminal:
export DISPLAY=:0
ROS has a great open source ecosystem and support for Linux Operating system. For a beginner, it is better to get hands-on experience directly on a Linux machine as it is easier and you'll get good support for errors you encounter.
ROS does work on windows but it requires Windows Subsystem for Linux (WSL), which is a compatibility layer which allows running a whole bunch of Linux binaries natively on Windows 10. With the advent of the Windows 10 Creators Update, the WSL was heavily updated and now is able to run ROS lunar and melodic.
You will also need to install BASH shell on your windows 10 machine.
Follow this article by Microsoft for installing WSL and BASH : install WSL on windows
Then follow this great article by janbernloehr : https://janbernloehr.de/2017/06/10/ros-windows

Resources