I got the following error on Ubuntu 16.04:
$ cppcheck --project=compile_commands.json
cppcheck: error: unrecognized command line option: "--project=compile_commands.json".
I already tried reinstalling cppcheck. Does anyone know to what this error is related?
cppcheck doesn't support the --project option on the version available by default on Ubuntu 16.04 (xenial). The version of cppcheck there is 1.72
If you wish to use the option --project then install a newer cppcheck.
It can be installed from the snap store (sudo snap install cppcheck).
It can be installed manually from cppcheck.net - download source, build locally
You can upgrade to ubuntu 18.04/20.04 and use the version from there.
Related
I am trying to install awless using the following command:
brew tap wallix/awless; brew install awless
but I am getting invalid syntax errors.
I managed to download and install awless using the following commands
curl -sS https://webinstall.dev/awless | bash
export PATH="/Users/akshaybhadange/.local/bin:$PATH"
Now awless is working as expected
Please note that awless has not been maintained for a couple of years and should be considered deprecated. Please check this issue: https://github.com/wallix/awless/issues/297
Similar brew installation issues are reported in the project's issue tracker, but I don't think there are no efforts to get this fixed.
I'm trying to upgrade SAM CLI, version 1.18.2 to 1.22.0 on Ubuntu 20.04. I used brew command:
~brew upgrade aws-sam-cli#1.22.0
but didn't work. Showed the next message:
Error: No available formula or cask with the name "aws-sam-cli#1.22".
Also I'm trying to find a downloadable to install a certain version.
Thanks for your help!
https://github.com/aws/aws-sam-cli/issues/1767
For anyone in the future, use pip.
pip3 install --user 'aws-sam-cli==1.12.0'
I try to install the package "data.table" (and "aws.s3)" via Rstudio Server on an Amazon Linux instance following this guide:
http://stanke.co/category/r/
Unfortunately, I get the following error message. I really don't know what else to do.
Can anybody help? I installed devtools and I am able to install other packages such as xml2, devtools and deplyr.
I had the same issue on AWS and already fixed.
You need first install gcc64 and openmp shared support library.
sudo yum install gcc64
sudo yum install libgomp
Then under your user home create an .R folder with a Makevars file in it, with the following content (it will tell to R which compiler to use):
CC = /usr/bin/gcc64
CXX = /usr/bin/g++
SHLIB_OPENMP_CFLAGS = -fopenmp
I hope it's working for you as well ...
You need to install dmlc-core.
This link will provide more information:
A common bricks library for building scalable and portable distributed machine learning
based on https://github.com/RcppCore/RcppArmadillo/issues/200, I think this issue is due to a g++ compatability issue. It might also explain why when I installed devtools it kept giving me [-Wdeprecated-declarations]
so run:
sudo yum remove gcc72-c++.x86_64 libgcc72.x86_64
yum install R-devel
Then you should be able to run the installation command.
I installed protocol-buffers in C++ in my Ubuntu 14.04 LTS PC by following instructions provided at official GitHub page here.
There was no error reported during installation. However, I would like to verify the installation hence I run protoc --version but it returned following error message:
The program 'protoc' is currently not installed. You can install it by typing:
sudo apt-get install protobuf-compiler
I am wondering why it is behaving like this? Am I missing something obvious?
I want to generate CPP and header file for my protocol buffers message file as well.
On Mavericks, I downloaded the source code and and built and installed it with Distutils as I explained on Stackoverflow.
I try to reproduce it on Yosemite and I have the following error message:
Exception: pg_config tool is not available.
The command in 'setup.py' that generates the problem is supposed to "Retrieve information about installed version of PostgreSQL."
f = os.popen('pg_config --%s' % s
I used the graphic installer to install PostgreSQL on my computer.
The graphic installer did not work. By using Homebrew to install PostgreSQL, everything worked fine.
brew install postgresql