In the Environment tab, you may want to add QT_FATAL_WARNINGS and set it to 1 so that Rosegarden will crash on signal/slot naming errors and other issues that can only be checked at runtime. “build/rosegarden” will appear in the field. In the C/C++ Application field, use the Search Project… button to select “rosegarden”. In the Project field, use the Browse… button to select “rosegarden-git”. Select “C/C++ Application” and hit the New button. To run the program, you'll need to set up a Run Configuration. You should now be able to build with Project > Build All (Ctrl+B). The final value should be:Ĭlick “Apply and Close” to close the project properties dialog. In the “Build directory:” field, add “build” to the end. Right-clicking on rosegarden-git and picking Properties works too.) Select “C/C++ Build” on the left side. (There's a bug in Eclipse where sometimes this menu item is disabled. Select the project (rosegarden-git) in the Project Explorer on the left side then go to Project > Properties. Next, Eclipse needs to know where the build directory is. In the Toolchain list, select “Linux GCC”. For the “Existing Code Location” provide the path to the rosegarden-git directory. In the “Project Name” field type rosegarden-git. Go to File > New > Makefile Project with Existing Code. In the upper right is a button that says “Hide” (formerly “Workbench”). Since this is a new workspace, you'll get the Eclipse welcome screen. Give it the rosegarden-workspace directory that we just created. It will first ask for the location of your workspace. Unfortunately, that makes a mess of cmake, so we'll need to delete any build directory and re-run cmake…Īnd now we are ready to create an Eclipse workspace and project around this directory structure. So, you'll want to create a new rosegarden-workspace directory and move rosegarden-git into it. Note: These instructions were developed using Eclipse 2021-03 (4.19.0).Įclipse prefers a directory structure with a top level for the workspace and a lower level for the project.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |