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 [2025/11/17 19:11]
tedfelix [Include Files and Symbols]
dev:eclipse [2026/01/20 21:13] (current)
tedfelix [Run-Time Environment Vars]
Line 79: Line 79:
   /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:+You'll likely also want to add these non-Qt5 paths:
  
   /usr/include/lilv-0   /usr/include/lilv-0
 +  /usr/include/gtk-2.0
 +  /usr/include/glib-2.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 88: Line 90:
   HAVE_LIBJACK     1   HAVE_LIBJACK     1
   HAVE_LIBSNDFILE  1   HAVE_LIBSNDFILE  1
 +  HAVE_GTK2        1
  
 Click "Apply and Close". Click "Apply and Close".
Line 125: Line 128:
  
 ===== Massive Build Console Buffer ===== ===== Massive Build Console Buffer =====
 +
 By default, Eclipse limits build console output to 500 lines.  This is not sufficient when things go wrong in template-land.  Go to Window > Preferences > C/C++ > Build > Console.  In the "Limit console output (number of lines)" field, enter 50000. By default, Eclipse limits build console output to 500 lines.  This is not sufficient when things go wrong in template-land.  Go to Window > Preferences > C/C++ > Build > Console.  In the "Limit console output (number of lines)" field, enter 50000.
 +
 +===== Run-Time Environment Vars =====
 +
 +Adding these at run-time can be quite handy.  Go to Run > Run Configurations... > rosegarden-git Default (should already be selected) > Environment.  Add these:
 +
 +  QT_MESSAGE_PATTERN   %{threadid} %{message}
 +  LD_LIBRARY_PATH      build/
  
 ===== Search Editor Reuse ===== ===== Search Editor Reuse =====
 
 
dev/eclipse.1763406714.txt.gz ยท Last modified: 2025/11/17 19:11 by tedfelix
Recent changes RSS feed Creative Commons License Valid XHTML 1.0 Valid CSS Driven by DokuWiki