Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

make all fails on OSX #52

Closed
raviv opened this issue Feb 8, 2017 · 8 comments
Closed

make all fails on OSX #52

raviv opened this issue Feb 8, 2017 · 8 comments

Comments

@raviv
Copy link

raviv commented Feb 8, 2017

$ make all

pyrcc4 -o resources.py resources.qrc
make: pyrcc4: No such file or directory
make: *** [resources.py] Error 1

Thanks :)

@tzutalin
Copy link
Contributor

tzutalin commented Feb 9, 2017

Had you installed qt already?

@raviv
Copy link
Author

raviv commented Feb 9, 2017

Thanks for the quick response @tzutalin :)
I figured out brew installed by default qt5 and your code is for qt4.

@tzutalin
Copy link
Contributor

tzutalin commented Feb 9, 2017

Hi @raviv ,
In fact, @rflynn has implemented the version which supported qt5 on mac OS. Maybe you can refer to the travis file and understand how to build it?
https://github.com/tzutalin/labelImg/blob/master/.travis.yml#L154

@tzutalin tzutalin closed this as completed Feb 9, 2017
@tornadomeet
Copy link

@tzutalin @raviv so how to fix this? can i change all the code from qt4 to qt5 ?

@raviv
Copy link
Author

raviv commented Apr 14, 2017

@tornadomeet I think I changed the code to qt5 but not sure. I ended up writing my own tailor made labeling app in angular.

@tornadomeet
Copy link

@raviv thanks. i cannot build it on my mac os 10.12.3, when run python3 labelImg.py it will output: libc++abi.dylib: terminating with uncaught exception of type NSException

@Himanshugahlot
Copy link

Himanshugahlot commented Mar 15, 2018

pyrcc4 Directory is not present on your system thats the reason its throwing this errors
On Mac it will be made after installing
brew install cartr/qt4/pyqt@4

@vidalbenjoe
Copy link

Thank you @Himanshugahlot it works!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants