octomagon / davegrohl

A Password Cracker for macOS
http://www.davegrohl.org
GNU General Public License v2.0
235 stars 39 forks source link

Getting the error "error: invalid value 'c++14' in '-std=c++14' " #18

Closed ghost closed 5 years ago

ghost commented 8 years ago

The full error is:

clang++ -std=c++14 -stdlib=libc++ -ObjC++ -I include -I mbedtls/include -c -o build/app_controller.o src/app_controller.cpp error: invalid value 'c++14' in '-std=c++14' make: *\ [build/app_controller.o] Error 1

What can I do to prevent this from happening?

Alternatively,

My situation is that i'm on a laptop provided by an educational establishment. My user is a managed, mobile user and most of the features of the mac are disabled. I cannot enter single-user mode and whenever I attempt to use sudo, I am prompted for an administrator's password which I do not have.

Does anyone have any suggestions on how I should face this problem?

octomagon commented 8 years ago

What version of OS X are you running? It sounds like it may be a bit old. You can try opening up the Makefile and replacing "c++14" with "c++1y". That's apparently what it was called many moons ago.

Keep in mind, Dave generally needs sudo access to extract a user's password hash.