Both sides previous revision
Previous revision
Next revision
|
Previous revision
Next revision
Both sides next revision
|
dev:eclipse [2015/11/21 16:12] tedfelix [Include Files] Add Symbols |
dev:eclipse [2016/06/22 19:00] tedfelix [Include Files and Symbols] |
| |
===== Get Dependencies ===== | ===== Get Dependencies ===== |
In order to successfully build Rosegarden, there are a number of libraries you'll need. If you are using a distro with apt (Ubuntu, Debian...), you can try getting the build-dep's for Rosegarden. The instructions are slightly different for jack1 vs. jack2. | In order to successfully build Rosegarden, there are a number of libraries you'll need. If you are using a distro with apt (Ubuntu, Debian...), you can try getting the build-dep's for Rosegarden. |
| |
| For build-dep's to work, you'll need to add the appropriate source repo URIs to your sources.list. The easiest way is to use synaptic. |
| |
| - Launch synaptic. Install it if you need to. |
| - Go to Settings > Repositories |
| - Click the Source Code checkbox. It will display a dash. |
| - Close. |
| |
| At this point the instructions are slightly different for jack1 vs. jack2. |
| |
If you are using jack2: | If you are using jack2: |
/usr/include/qt4/QtGui | /usr/include/qt4/QtGui |
/usr/include/qt4/QtXml | /usr/include/qt4/QtXml |
| |
| Note: For Qt5, the paths are slightly different: |
| |
| /usr/include/x86_64-linux-gnu/qt5 |
| etc... |
Next, click on the # Symbols tab. Verify that "GNU C++" is still selected. In the Symbol box, add the following symbols and values: | Next, click on the # Symbols tab. Verify that "GNU C++" is still selected. In the Symbol box, add the following symbols and values: |
| |
HAVE_LIBJACK 1 | HAVE_LIBJACK 1 |
| |
Click Ok. When asked if you "wish to rebuild" the index, click "Yes". It will take some time for Eclipse to rebuild the index. The "C/C++ Indexer" indicator at the bottom of the window will let you know how far along the process is. | Click Ok. |
| |
| At this point you'll want to rebuild the index. (Versions prior to Neon would prompt at this point. In case yours doesn't...) Right click on rosegarden-svn in the Project Explorer and select Index > Rebuild. (This can also be accessed from the main menu: Project > C/C++ Index > Rebuild.) |
| |
| It will take some time for Eclipse to rebuild the index. The "C/C++ Indexer" indicator at the bottom of the window will let you know how far along the process is. |
| |
===== Configuring Tabs ===== | ===== Configuring Tabs ===== |
* http://help.ubuntu.com/community/UnityLaunchersAndDesktopFiles | * http://help.ubuntu.com/community/UnityLaunchersAndDesktopFiles |
* http://askubuntu.com/questions/67753/how-do-i-add-an-application-to-the-dash | * http://askubuntu.com/questions/67753/how-do-i-add-an-application-to-the-dash |
| |
| ===== High CPU Usage (Ubuntu 16.04 and Eclipse Mars) ===== |
| |
| This is a known issue with gtk3. Solution is to fall back to gtk2: |
| |
| https://bugs.launchpad.net/ubuntu/+source/java-common/+bug/1552764 |
| |
===== Black on Black Tooltips (Ubuntu 11.10) ===== | ===== Black on Black Tooltips (Ubuntu 11.10) ===== |