Skip to content

Can't Configure it Correctly #1

@husainaloos

Description

@husainaloos

Hi,
I tried to install the package, and I added the python file in /usr/local/bin/. I added the following in my .emacs

(eval-after-load 'flycheck
    '(progn
       (require 'flycheck-google-cpplint)
       ;; Add Google C++ Style checker.
       ;; In default, syntax checked by Clang and Cppcheck.
       (flycheck-add-next-checker 'c/c++-cppcheck
                                  '(warnings-only . c/c++-googlelint))))
  (custom-set-variables
   '(flycheck-googlelint-verbose "3")
   '(flycheck-google-cpplint-command "/usr/local/bin/cpplint.py")
   '(flycheck-googlelint-filter "-whitespace,+whitespace/braces")
   '(flycheck-googlelint-root "project/src")
   '(flycheck-googlelint-linelength "120"))

and hooked it with my c++-mode-hook. All I get when I activate flycheck-mode is this:

Checker c/c++-googlelint returned non-zero exit code 1, but no errors from output: 
Checker definition probably flawed.

Any idea what's going on?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions