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

Installation issue on macOS 10.12.6 #97

Open
xep624 opened this issue Oct 6, 2017 · 2 comments
Open

Installation issue on macOS 10.12.6 #97

xep624 opened this issue Oct 6, 2017 · 2 comments

Comments

@xep624
Copy link

xep624 commented Oct 6, 2017

Hi guys,

I've followed the installation guide, but then I got the following error:

[ 82%] Building CXX object ruby/qtruby/src/CMakeFiles/qtruby4.dir/qtruby.o
/Users/rzepsky/.rvm/gems/ruby-2.4.1/gems/qtbindings-4.8.6.3/ext/ruby/qtruby/src/qtruby.cpp:2211:14: error: ordered comparison between pointer and zero ('void *' and 'int')
        return (ptr > 0 ? Qtrue : Qfalse);
                ~~~ ^ ~
1 error generated.
make[3]: *** [ruby/qtruby/src/CMakeFiles/qtruby4.dir/qtruby.o] Error 1
make[2]: *** [ruby/qtruby/src/CMakeFiles/qtruby4.dir/all] Error 2
make[1]: *** [all] Error 2
make: *** [build] Error 2

make failed, exit code 2

Gem files will remain installed in /Users/rzepsky/.rvm/gems/ruby-2.4.1/gems/qtbindings-4.8.6.3 for inspection.

I ran it on macOS 10.12.6. Do you have any hint how to overcome it?

@100Permission
Copy link

I have also ran into the same problem.
macOS 10.13
Scanning dependencies of target qtruby4
[ 81%] Building CXX object ruby/qtruby/src/CMakeFiles/qtruby4.dir/qtruby.o
/Users/XXX/.rvm/gems/[email protected]/gems/qtbindings-4.8.6.3/ext/ruby/qtruby/src/qtruby.cpp:2211:14: error: ordered comparison between pointer and zero ('void *' and 'int')
return (ptr > 0 ? Qtrue : Qfalse);
~~~ ^ ~
1 error generated.
make[3]: *** [ruby/qtruby/src/CMakeFiles/qtruby4.dir/qtruby.o] Error 1
make[2]: *** [ruby/qtruby/src/CMakeFiles/qtruby4.dir/all] Error 2
make[1]: *** [all] Error 2
make: *** [build] Error 2

make failed, exit code 2

Gem files will remain installed in /Users/XXX/.rvm/gems/[email protected]/gems/qtbindings-4.8.6.3 for inspection.
Results logged to /Users/XXX/.rvm/gems/[email protected]/extensions/x86_64-darwin-17/2.4.0/qtbindings-4.8.6.3/gem_make.out

@xep624
Copy link
Author

xep624 commented Oct 13, 2017

This can be closed. Already solved in #issue84

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

2 participants