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 19:19]
tedfelix [Set Up Rosegarden Source Under Eclipse]
dev:eclipse [2026/01/20 21:13] (current)
tedfelix [Run-Time Environment Vars]
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 these non-Qt5 paths:
 +
 +  /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:
  
-  HAVE_ALSA     +  HAVE_ALSA        
-  HAVE_LIBJACK  1+  HAVE_LIBJACK     1 
 +  HAVE_LIBSNDFILE 
 +  HAVE_GTK2        1
  
 Click "Apply and Close". Click "Apply and Close".
Line 120: 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.1617391170.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