-
Notifications
You must be signed in to change notification settings - Fork 38
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
Building on Linux #20
Comments
Did you install wine-headers package? |
I installed wine-dev, all of the QT packages and Opengl, which seemed to help. Now the linker can't find any of the other projects in apps/, and I have no clue how to install them. I really have no clue how to use QT. Is there any documentation anywhere for how to build this? If I can get this to compile, I would really like to automate and document this build process. Thanks! |
Please share your build errors. I have not been able to document the build process in Linux because it seems there are so many variants that something always goes wrong. I would appreciate any help in documenting how to build once you get there! Thanks. |
Right now, I have opened the ide project in QT creator, and ld was complaining about not being able to find opengl32 (I replaced it with GL, but I have no clue if that will still work), as well as the rest of the projects in the apps directory. How can I set the ide project to build the projects it depends on? Thanks! |
In the projects pane you can set dependencies. The projects pane is in the sidebar on the left. Once there, each project has a tab. Select the nesicide project tab and Dependencies is a tab of that pane. You'll see a checklist of all possible dependencies. Select nes-emulator-lib, c64-emulator-lib, famitracker-lib, qscintilla. famitracker-lib needs rtmidi as a dependency. |
nesicide/libs/famitracker/Source/SoundGen.h:28: error: common.h: No such file or directory So far, I've opened up all of the projects in apps, and all of the projects in libs, and set the ide project to depend on them. How do you have your ide set up? I feel like I must be missing something in the way I'm setting up the project. Sorry, I'm new to QT. |
That looks like it's a case-sensitivity issue. I'd thought all of those were hammered out. Common.h is in nesicide/libs/famitracker/Source. Feel free to send a pull request with any case sensitivity changes you run into like that. I've fixed the two cases of [cC]ommon.h that I found [if you pull master...] Honestly I'm not sure how that slipped but I am a single dev mainly in OSX now. I left Windows and [largely] Linux behind a couple years back. I got far too frustrated with all of the different variants and needs of Linux-based builds. I had someone helping with arch linux builds. Someone else helping with Debian. Someone else helping with gentoo. They come and go. :) |
I pulled your changes, and adjusted the dependencies on the project. I really don't know if I can get this to compile. I get the error: |
You don't need to build the Winamp plugin. :) You can remove that as a dependency from nesicide. You only need the dependencies I outlined here: #20 (comment) |
Also vis_ftm isn't needed. |
Thanks for the help I installed librtmidi-dev and libqscintilla2-dev. I added famitracker-lib, c64-emulator-lib, and nes-emulator-lib as dependencies to the ide project. Then, I added famitracker-lib and in_ftm as a dependency to famitracker, which fixed some errors. I also fixed the case of #include "../Blip_Buffer/Blip_Buffer.h" in libs/famitracker/Source/APU/Mixer.h b/libs/famitracker/Source/APU/Mixer.h. Now, I am left with the following errors:
|
Ok. You don't need in_ftm. That is a Winamp plugin for Windows to play FT modules in Winamp directly. |
Then, I installed rtmidi from http://packages.ubuntu.com/xenial/librtmidi-dev:
Then, I opened the ide project in qt creator, opened the c64-emulator-lib famitracker-lib and nes-emulator-lib projects, and added them in the dependencies tab of the ide project. I made the following changes to fix cases, and an error that QThread::sleep was protected, which I've attached as a patch. Now, I get the following error from the famitracker lib:
I have no clue what would be causing this error. Thanks! |
What version of Qt are you using? |
5.5.1 |
Is there any news on this? I was wondering what ideas you had for the error that I am getting above. I'm using QT 5.5.1 on Ubuntu 16.04. It seems like a very strange error. Thanks! |
I haven't had a chance to look into it yet. Got busy with work. :| |
I'm having trouble with the rtmidi. Could you elaborate on how you got it? I am running Linux Mint (Ubuntu 14.04) in a VM. |
For some stupid reason, the rtmidi packages are broken. I downloaded the latest amd64 deb from http://packages.ubuntu.com/xenial/librtmidi-dev, and ran the following commands to install dependencies and the deb file. You may need to run
I really have no idea why the rtmidi package doesn't work. Thanks for the help! |
Please pull and try. I have fixed the errors you reported but am still having trouble with rtmidi. |
Justin do you still have this problem? |
Sorry for the late reply. I gave up trying a while ago :( Best of luck, and thanks for helping out! |
Thanks for trying. I've put a bit of effort into trying to make it easier to build lately. If you've got a sec and are willing to just give it a good ten minute try, I would appreciate some idea of what isn't working in Linux. I updated the README.md with build instructions. |
Hi,
I am trying to build on Ubuntu 16.04. What I've tried:
dpkg-buildpackage -us -uc
fails with:I installed QT Creator and all of the build-depends listed in the debian package, but when I try to build the ide project, I get the following error:
I wasn't able to find any instructions or binaries anywhere, so I really have no clue what I should be doing to build this. Any help would be greatly appreciated!
The text was updated successfully, but these errors were encountered: