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 [2022/05/28 02:18]
tedfelix [Faster Builds]
dev:eclipse [2024/01/05 00:38]
tedfelix [Include Files and Symbols]
Line 78: 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:
Line 108: Line 112:
  
 ===== Faster Builds ===== ===== Faster Builds =====
- +If your machine has multiple cores and/or hyperthreading, you'll want to set up make for multiple jobs (make's -j option).  To do that within Eclipse, go to Window > Preferences > C/C++ > Build > Environment, add an environment variable MAKEFLAGS, and set it to "-j4" (or whatever is best for your hardware, the ''nproc'' command will tell you how many cores you've got).  This will tell make that it can run four simultaneous compiles.
-If your machine has multiple cores and/or hyperthreading, you'll want to set up make for multiple jobs (make's -j option). +
- +
-To do that within Eclipse, go to Window > Preferences > C/C++ > Build > Environment, add an environment variable MAKEFLAGS, and set it to "-j4" (or whatever is best for your hardware, the ''nproc'' command will tell you how many cores you've got).  This will tell make that it can run four simultaneous compiles+
- +
-You'll probably want to do the same for the command line.  Add the following to ~/.bashrc: +
- +
-<code bash> +
-export MAKEFLAGS="-j `nproc`" +
-</code> +
- +
-===== Core Dumps ===== +
- +
-Core dumps are really helpful when Rosegarden is crashing.  They can be enabled by adding the following lines to ''/etc/security/limits.conf'': +
- +
-<code> +
-*               hard    core            unlimited +
-*               soft    core            unlimited +
-</code> +
- +
-Reboot is required for this change to take effect.  Now you will get core dumps on every crash.  Note that if there already is a core dump, a new one will not be created, so be sure to delete them after you are done analyzing them.  Core dumps will appear in the current working directory when Rosegarden was run.+
  
 ===== Scalability Mode ===== ===== Scalability Mode =====
 
 
dev/eclipse.txt · Last modified: 2024/01/05 00:38 by tedfelix
Recent changes RSS feed Creative Commons License Valid XHTML 1.0 Valid CSS Driven by DokuWiki