Llattice diamond programmer-tool - vhdl

install Lattice Diamond 3.10 on my computer with Manjaro 17.1 and everything works correctly just because of a problem. The programming tool does not work, when I try to execute it I get a window with a message:
"can not load library:
/usr/local/diamond/3.10_x64/bin/lin64/toolapps/libdvmapp.so:
(libusb-0.1.so.4: the shared object file can not be opened: the file
does not exist or the directory)"
already downloaded and I put the library in the corresponding directory but still does not let me run it
Any suggestions to solve it, I would appreciate it very much
Thank you

I had to install the following libraries:
libusb 1.0.21-2
libgusb 0.2.11-1
libusb-compat 0.1.5-1
libusbmuxd 1.0.10+13dc724e70-1
And the programming tool works

I already had all of the dependencies listed by Cristian in place. I had to install libusb-dev and it worked.
sudo apt install libusb-dev

Related

How to install python without executable file on Windows?

I am just starting with Python, and I need to install Python 3.8 version. I assume this is the right place to get it:
https://www.python.org/downloads/release/python-3811/
After extracting .tar I get these files: screenshot of folder
but I don't know what to do next.
I searched for the answer and then I tried installing it from command line, however - without success.
I would be grateful if you could help me with such a basic but essential issue.
Thank you!
Read this Using Python on Windows

I can't seem to get rdkafka to play nice with the confuent-kafka-go package

this is my first question on StackOverflow. Usually I find a solution from someone else's question but this time the internet does not seem to have many answers.
So I'm getting this message after using go get and every time I try and compile and run my application.
# pkg-config --cflags rdkafka
Package rdkafka was not found in the pkg-config
search path. Perhaps you should add the directory containing `rdkafka.pc'
to the PKG_CONFIG_PATH environment variable Package 'rdkafka', required by
'virtual:world', not found
I searched the issues on the github page for the repo and found one thread related to this, but none of those solutions seem to work for me. I'm running fedora 26, I have go 1.9 installed.
I've tried:
dnf install
Compiling from source as instructed on their README
yum install because I became desperate.
Downloading and installing from the RPM
Has anyone come accross this and maybe have an idea of how I can fix it?
I suggest that you install librdkafka from Confluent's repository as described in their documentation. But I think that you'll need to build librdkafka from source RPMs, like I'm doing for Ubuntu.
So I got it working thanks to Remi. Adding the repo from https://rpms.remirepo.net/ (I used the one for Fedora 26). Then just installing it using:
sudo dnf --enablerepo=remi install librdkafka-devel

Ubuntu libexiv2.so.26 missing error message

I am working with the exiv2 library. I currently faced an issue, and i can't find my way out of it. Here is the issue.
I installed the exiv2 library. When I try to run it, the following error is given.
exiv2: error while loading the shared libraries: libexiv2.so.26: cannot open shared object file: No such file or directory
But, when i open the /usr/local/lib folder, it exists there. Again when I try to locate the library using the ldd command, the command cannot locate it!
Can anyone help me to find what is going on there? Thanks in advance!
If not how to uninstall the whole library and reinstall it?
I had a similar problem when using the sources for installing.
You can remove the built files with sudo make uninstall from inside the sources folder of exiv2.
The solution to my problem was to simply use the package from the Ubuntu repository: sudo apt install exiv2 libexiv2-dev.
Hopefully this will help you too.

Installing liblapack without root permissions? (Trying to get Armadillo/Lapack/Blas working)

I'm trying to install Armadillo (and thus also BLAS and LAPACK) on a linux server for which I do not have root permission. I have jumped through a few of the first hurdles, but I am getting an error:
/usr/bin/ld: cannot find -llapack
This question addresses the same problem, with the solution being to install
liblapack-dev
liblapack3
libopenblas-base
libopenblas-dev
The problem is the only way I've found to do this online is by doing something like sudo-aptget install or yum install. Both are not allowed on the server I use. I can download binaries and install them locally - that is it.
My question is: how can I install these packages without the above permissions and get on my way to using Armadillo?
I'm using Centos linux, if it helps.
Since you do not have root permissions, the best way is to download and build LAPACK and BLAS. You can download the source code from netlib.
Description of installation instructions can be found here and here.
The basic steps are:
Unzip and tar the file.
Copy and edit the file LAPACK/make.inc.example to LAPACK/make.inc.
Edit the file LAPACK/Makefile
type make.
Similarly you can download and build BLAS.

How to compile Qt 5.2 from git on OS X Mavericks

I cloned the QT source repo and checked out branch stable.
Then I followed this manual http://qt-project.org/wiki/Building_Qt_5_from_Git until I got to the point I have to do ./configure:
The test for linking against libxcb and support libraries failed!
You might need to install dependency packages, or pass -qt-xcb.
See src/plugins/platforms/xcb/README.
and when I enter ./configure -qt-xcb:
Running configuration tests...
The test for linking against Xlib failed!
You might need to install dependency packages.
See src/plugins/platforms/xcb/README.
Now I'm stuck. I couldn't find out what Xlib is, where I can find it or how to install it. Any help is greatly appreciated!
add -no-xcb to configure params
You need to install XQuartz.
Some extra text to get past the filter, please ignore

Resources