Description
Hi. This is my first time trying to use cpplint, so my problems are likely to be clueless noob problems, sorry.
I've downloaded the whole styleguide-ghpages branch, and am now trying to run cpplint.py. If I run just the command itself (in my case, since I haven't moved it somewhere sensible yet, by typing /Users/bhaller/Desktop/styleguide-gh-pages/cpplint/cpplint.py), I get the dump of the command syntax etc., so it seems like my python install is OK, and the cpplint.py file is OK, and so forth. However, if I try to actually lint a .cpp file, I get no output at all:
darwin:/DocumentsSynced/Research/Messer lab/SLiM project/SLiM/core bhaller $ /Users/bhaller/Desktop/styleguide-gh-pages/cpplint/cpplint.py ./slim_sim.cpp/DocumentsSynced/Research/Messer lab/SLiM project/SLiM/core bhaller $ ls -l ./slim_sim.cpp
darwin:
-rw-r--r--@ 1 bhaller staff 132287 May 6 11:46 ./slim_sim.cpp
As you can see, the .cpp in question does exist. I would expect a river of error reports, since I make no effort to follow Google's C++ style. (All I want to use cpplint for is its build/include_what_you_use check.)
This is on Mac OS X. I'm using python 3.4.4, since that is what I happen to have installed:
darwin:/DocumentsSynced/Research/Messer lab/SLiM project/SLiM/core bhaller $ which python/DocumentsSynced/Research/Messer lab/SLiM project/SLiM/core bhaller $ python --version
/opt/local/bin/python
darwin:
Python 3.4.4
I don't know python at all, so I'm at a loss at to how to proceed with diagnosing the problem. Thanks for any help.