Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compiling on OS X with GUI #189

Closed
yrjyrj123 opened this issue Aug 29, 2016 · 5 comments
Closed

Compiling on OS X with GUI #189

yrjyrj123 opened this issue Aug 29, 2016 · 5 comments

Comments

@yrjyrj123
Copy link

I tried to compiling proxmark3 client on OS X El capital 10.11.6 with the help of wiki(https://github.com/Proxmark/proxmark3/wiki/OSX)

But it says "No GUI in this build!" when I use some command such as "hw tune".

I use HomeBrew to install components essential.

brew tap nitsky/stm32
brew install readline libusb p7zip libusb-compat wget qt5 pkgconfig arm-none-eabi-gcc

I read the client/Makefile and find the problem. 'QT' has been replaced by 'QT5' and QApplication has been moved to QtWidgets, so I change the client/Makefile:

else ifeq ($(platform),Darwin)
    CXXFLAGS = $(shell pkg-config --cflags Qt5Core Qt5Gui Qt5Widgets 2>/dev/null) -Wall -O4
    QTLDLIBS = $(shell pkg-config --libs Qt5Core Qt5Gui Qt5Widgets 2>/dev/null)
    MOC = $(shell pkg-config --variable=moc_location Qt5Core 2>/dev/null)
    LUAPLATFORM = macosx

After this, I find "pkg-config --variable=moc_location Qt5Core" can't find moc_location variable,
I have to add one line "moc_location=${prefix}/bin/moc" in "/usr/local/Cellar/qt5/5.6.1-1/lib/pkgconfig/QT5Core.pc"

now, proxmark3 client can use GUI.

Could you fix the client/Makefile, so that everyone can use GUI easily.

Thx.

@iceman1001
Copy link
Member

iceman1001 commented Aug 29, 2016

Great,
Someone on the forum or here, wasn't too impressed with homebrew and started using something else instead. If I only could remember what it was.
[edit] it was here :) #183 Those changes are merged.

How about you make a PullRequest with your changes, and we take it from there?

@bigboyq
Copy link

bigboyq commented Aug 29, 2016

For brew users, readline modification is required also
I am not sure about qt5, but if want to use qt, make file modification required also

@bigboyq
Copy link

bigboyq commented Aug 29, 2016

I have made a PR, #190
This is my first PR, every suggestion or comments welcomed.

@yrjyrj123
Copy link
Author

I make a PR for QT5 compiling problem#191, every suggestion or comments welcomed.

@pwpiwi
Copy link
Contributor

pwpiwi commented Mar 31, 2017

Did you have the chance to test with the new proxmark brew tap?

@pwpiwi pwpiwi closed this as completed Apr 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants