Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
dev:eclipse [2021/04/02 01:37]
tedfelix
dev:eclipse [2024/01/05 00:38] (current)
tedfelix [Include Files and Symbols]
Line 23: Line 23:
 ===== Set Up Rosegarden Source Under Eclipse ===== ===== Set Up Rosegarden Source Under Eclipse =====
  
-//Note: These instructions were developed using Eclipse 2019-09 (4.13.0).//+//Note: These instructions were developed using Eclipse 2021-03 (4.19.0).//
  
 Eclipse prefers a directory structure with a top level for the workspace and a lower level for the project.  Something like this: Eclipse prefers a directory structure with a top level for the workspace and a lower level for the project.  Something like this:
Line 36: Line 36:
   $ mkdir rosegarden-workspace   $ mkdir rosegarden-workspace
   $ mv rosegarden-git rosegarden-workspace   $ mv rosegarden-git rosegarden-workspace
 +
 +Unfortunately, that makes a mess of cmake, so we'll need to delete any build directory and re-run cmake...
 +
 +  $ cd rosegarden-workspace/rosegarden-git
 +  $ rm -rf build
 +  $ mkdir build
 +  $ cd build
 +  $ cmake .. -DCMAKE_BUILD_TYPE=Debug
  
 And now we are ready to create an Eclipse workspace and project around this directory structure. And now we are ready to create an Eclipse workspace and project around this directory structure.
  
-Launch Eclipse.  It will first ask for the location of your workspace.  Give it the rosegarden-workspace directory that we just created.  Since this is a new workspace, you'll get the Eclipse welcome screen.  In the upper right is a button for the "Workbench" Click it.+Launch Eclipse.  It will first ask for the location of your workspace.  Give it the rosegarden-workspace directory that we just created.  Since this is a new workspace, you'll get the Eclipse welcome screen.  In the upper right is a button that says "Hide" (formerly "Workbench").  Click it.
  
 Go to File > New > Makefile Project with Existing Code.  In the "Project Name" field type rosegarden-git.  For the "Existing Code Location" provide the path to the rosegarden-git directory.  In the Toolchain list, select "Linux GCC" Click Finish. Go to File > New > Makefile Project with Existing Code.  In the "Project Name" field type rosegarden-git.  For the "Existing Code Location" provide the path to the rosegarden-git directory.  In the Toolchain list, select "Linux GCC" Click Finish.
Line 70: Line 78:
   /usr/include/x86_64-linux-gnu/qt5/QtXml   /usr/include/x86_64-linux-gnu/qt5/QtXml
   /usr/include/x86_64-linux-gnu/qt5/QtWidgets   /usr/include/x86_64-linux-gnu/qt5/QtWidgets
 +
 +You'll likely also want to add this non-Qt5 path:
 +
 +  /usr/include/lilv-0
  
 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:
 
 
dev/eclipse.1617327439.txt.gz ยท Last modified: 2022/05/06 16:07 (external edit)
Recent changes RSS feed Creative Commons License Valid XHTML 1.0 Valid CSS Driven by DokuWiki