-
-
Notifications
You must be signed in to change notification settings - Fork 918
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
Error when compiling on Ubuntu 15.10 with Qt4 #918
Comments
same here! |
For one, you don't need to compile Sonic Pi yourself, you can use these binaries and save yourself the hassle. About your actual problem, you can fix this by using Qt5. For that, you have to edit After that, you will need these Ubuntu packages to build Sonic Pi: Also, don't forget to compile and install the SuperCollider SC3 plugins. |
@samaaron - would you be ok with making Qt5 the default build setting for the git tree? (And thus replace both mentions of I could provide a patch for that. |
Unfortunately we don't have Sonic Pi running well with Qt5 on Raspberry Pi and I'm not even sure Jessie ships with Qt5 at this stage. |
EDIT the repository works nicely -- but sound doesnt work yet, Im playing now with jackd to see how to make it work -- |
There is an issue with qt5 on Mac. Bug means help window can't be resized. Bug solved but not in release qt5 yet.
|
I don't see that error in my Mac builds using Qt 5.4. Perhaps you mean Qt 5.5 specifically? |
Yes it is a specific Qt5.5.1 bug. I mentioned it before. issue #726 It has been solved, but the patch is not in a release version yet. Sorry meant to put qt5.5 above. |
Great, I was just clarifying :-) |
There have been some updates made---is editing I can't get the source to compile on Ubuntu 15.10, but I'm not sure if the above problem is the cause or something else. Output here: https://gist.github.com/wdenton/c2b7a6618026d0bc0ec0 |
Just a quick glance, may be mistaken, but that looks like a linking problem. Could you please try
If that doesn't help, we need to find out if you're trying to link incompatible libraries (e.g. QScintilla for Qt4 with a Sonic Pi compiled with Qt5), so please post the result of
Thanks! |
Aha, thanks. Now it compiles. (It doesn't run! But I'll do that separately.) |
Fully working, here. Had the same error on a Raspberry Pi 3 running Ubuntu MATE 16.04 (which comes with Sonic Pi 2.9 but wasn't updating to 2.10.0). Installed the Qt5 stuff and SuperCollider plugins (with |
Closing this for now :-) |
Hi I tried to compile sonic-pi on my Ubuntu laptop and got an error when compiling the gui. The server compiled fine but the gui gave an error "In file included from qrc_SonicPi.cpp:9:0:
qrc_SonicPi.cpp:221388:44: error: ‘qInitResources_SonicPi__init_variable__’ defined but not used [-Werror=unused-variable]".Whilst I have considerable programming experience none of it is with Ruby or Qt, (assembler, C, java and python are my languages, tend to use tcl/tk for gui work) so am at a loss. Help.
The text was updated successfully, but these errors were encountered: