Qtruby Windows Compile Error
Contents |
Sign in Pricing Blog Support error installing capybara-webkit Search GitHub This repository Watch 32 Star project error xcode not set up properly 244 Fork 50 ryanmelt/qtbindings Code Issues 3 Pull requests 0 Projects 0 capybara-webkit failed to build gem native extension Wiki Pulse Graphs New issue "gem install qtbindings": error: ‘__builtin_choose_expr’ was not declared in this scope #134 Closed philipp-classen capybara-webkit gem opened this Issue Jan 10, 2016 · 3 comments Projects None yet Labels None yet Milestone No milestone Assignees No one assigned 3 participants philipp-classen commented Jan 10, 2016 gem install qtbindings fails on Arch Linux with
Brew Install Qt
an "__builtin_choose_expr’ was not declared in this scope" error. $ ruby --version ruby 2.3.0p0 (2015-12-25 revision 53290) [x86_64-linux] $ gcc --version gcc (GCC) 5.3.0 Here is the complete error message: Scanning dependencies of target smokeqthelp make[3]: Leaving directory '/home/phil/.gem/ruby/2.3.0/gems/qtbindings-4.8.6.2/ext/build' make[3]: Entering directory '/home/phil/.gem/ruby/2.3.0/gems/qtbindings-4.8.6.2/ext/build' [ 78%] Building CXX object smoke/qthelp/CMakeFiles/smokeqthelp.dir/smokedata.o [ 79%] Building CXX object smoke/qthelp/CMakeFiles/smokeqthelp.dir/x_1.o [ 79%] Linking CXX shared library libsmokeqthelp.so make[3]: Leaving directory '/home/phil/.gem/ruby/2.3.0/gems/qtbindings-4.8.6.2/ext/build' [ 79%] Built target smokeqthelp make[3]: Entering directory '/home/phil/.gem/ruby/2.3.0/gems/qtbindings-4.8.6.2/ext/build' Scanning dependencies of target qtruby4shared make[3]: Leaving directory '/home/phil/.gem/ruby/2.3.0/gems/qtbindings-4.8.6.2/ext/build' make[3]: Entering directory '/home/phil/.gem/ruby/2.3.0/gems/qtbindings-4.8.6.2/ext/build' [ 80%] Building CXX object ruby/qtruby/src/CMakeFiles/qtruby4shared.dir/Qt.o [ 81%] Building CXX object ruby/qtruby/src/CMakeFiles/qtruby4shared.dir/handlers.o [ 81%] Building CXX object ruby/qtruby/src/CMakeFiles/qtruby4shared.dir/marshall_types.o In file included from /usr/include/ruby-2.3.0/ruby.h:33:0, from /home/phil/.gem/ruby/2.3.0/gems/qtbindings-4.8.6.2/ext/ruby/qtruby/src/marshall.h:14, from /home/phil/.gem/ruby/2.3.0/gems/qtbindings-4.8.6.2/ext/ruby/qtruby/src/marshall_types.h:28, from /home/phil/.gem/ruby/2.3.0/gems/qtbindings-4.8.6.2/ext/ruby/qtruby/src/marshall_types.cpp:19: /home/phil/.gem/ruby/2.3.0/gems/qtbind
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies
Homebrew Qt5
of this site About Us Learn more about Stack Overflow the company Business capybara-webkit qt5 Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask webkit_server failed to start Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 6.2 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign https://github.com/ryanmelt/qtbindings/issues/134 up Installing/Using Ruby 2.x and Qt 5 up vote 3 down vote favorite Are there simple ways to install and use Qt for using qt-ruby on my Windows 7 (64bit) computer? Which steps do I have to take for installing Qt for using it with Ruby? Do I have to install the Qt SDK for the C++ environment? Or is it easier http://stackoverflow.com/questions/18898243/installing-using-ruby-2-x-and-qt-5 another way? My goal is to write Qt-Ruby-Code from Emacs and then compile it using MinGW/MSys. Current Info: I only found bindings for Qt 4.xx at RubyGems.org and at the KDE Korundum page ruby windows qt share|improve this question edited Sep 19 '13 at 16:58 jbh 1,668512 asked Sep 19 '13 at 15:01 ntor 17011 add a comment| 1 Answer 1 active oldest votes up vote 0 down vote I'm not at my computer but as far as I can remember https://github.com/ryanmelt/qtbindings is about your only choice. And the qt build they recommend at http://qt.nokia.com/ times out for me. :( What exactly are you trying to do with those specific version requirements? share|improve this answer answered May 8 '14 at 0:48 dirty_joker 1447 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign up using Facebook Sign up using Email and Password Post as a guest Name Email Post as a guest Name Email discard By posting your answer, you agree to the privacy policy and terms of service. Not the answer you're looking for? Browse
a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about http://bitcoin.stackexchange.com/questions/27061/error-compiling-altcoin-qt-for-windows-getting-a-gcc-internal-compiler-error hiring developers or posting ads with us Bitcoin beta Questions Tags Users Badges Unanswered Ask http://curiosity.roguepenguin.net/?p=12 Question _ Bitcoin Stack Exchange is a question and answer site for Bitcoin crypto-currency enthusiasts. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top Error compiling altcoin-qt for Windows, getting a GCC internal compiler error up vote failed to 0 down vote favorite I think I managed to get all my dependencies and libraries right (fingers crossed), but now when trying to build blackcoin-qt, the QTSdk compiler gives me this error while building qtipcserver.o: In function 'bool boost::interprocess::winapi::unlink_file(const char*)': internal compiler error: in gimple_rhs_has_side_effects, at gimple.c:2343 [build/qtipcserver.o] Error1 The unlink_file function is on line 1638 of win32_api.hpp in the boost library. This seems like a GCC error, any ideas? wallet bitcoin-core development protocol altcoin share|improve qtruby windows compile this question edited Jun 20 '14 at 19:38 asked Jun 20 '14 at 19:33 Matthew Darnell 29318 Related: bitcointalk.org/index.php?topic=304389.0 –Nick ODell♦ Sep 23 '14 at 2:04 add a comment| 4 Answers 4 active oldest votes up vote 1 down vote Most likely cause: the compiler ran out of memory. share|improve this answer answered Sep 22 '14 at 20:59 Pieter Wuille 21.1k13486 add a comment| up vote 0 down vote i don't know it helps you or not but there is a very good instructions for developing your coin on windows here: https://bitcointalk.org/index.php?topic=225690.0 share|improve this answer answered Jun 22 '14 at 13:42 behzadtala 166 IIRC the issue is that BTCTalk's post (link you posted) is incomplete. I don't know what is missing but if you really need to bring ANOTHER altcoin to market just do it through CoinSource who do so for a fee –Wizard Of Ozzie Jul 22 '14 at 16:52 add a comment| up vote 0 down vote "Internal compiler error" indicates a bug in gcc (or possibly a fault in your hardware, especially if it's not reproducible). Check that you have the latest gcc version. Otherwise, report it to the gcc maintainers, and/or start debugging gcc yourself. There isn't really anything cryptocoin-specific here. share|improve this answer answered Jul 24 '14 at 15:09 Nate Eldredge 9,23811140 add a comment| up
out visual studio 2005/C# to reformat a couple of hundred lines of text is a bit overkill). If I have any user interaction (which I typically do not) I just prompt for input through the command line, but occasionally I've wanted to have an actual GUI. I did a search and discovered the cross-platform GUI toolkit Qt and a Qt-Ruby binding so that one could call the other. Qt on Windows Some more searching revealed a pre-packaged install for windows. I followed the directions in a handy guide. The install went almost perfectly, except that I already had MinGW installed. I had the most recent version (I even ran the updater to make sure) but the version of win32api.h I had was lower than that required by the qt installer. I checked the sourceforge repository and I did have the latest version listed. I tried to complete the installation anyway, and when qt finished and ran it's demo app, it was messed up (screen garbled). During the process of installing Qt, it gives one the option to use the existing MinGW, or install one from the package. During my second attempt, I opted to have the installer provide MinGW. It downloaded a copy from trolltech (the Qt maker) and installed over my existing copy of minGW (I have no clue if this has broken it yet; I haven't used it since). The installer completed, and the Qt (technically pronounced "Cute", but I still say "Queue - Tee") demo app ran correctly. A quick test later and I had verified it working in ruby as well, Qt on Mac Installing Qt on the Mac is a tad bit different, both harder and easier. I primarily followed this guide, but I had a few issues which will be documented here. Note that the guide was made for Os X 10.4 Tiger. The Ruby included in that version of the OS was broken, so the first step in the guide is installing a later version of Ruby and disabling the one that comes by default on the system. This is not necessary for 10.5 Leopard. The first thing one needs to do is download Qt and install it. I downloaded the Qt 4.5, LGPL/Free, Framework Only. After that you need