Difference between revisions of "Dev:IDE Linux"
From Synfig Studio :: Documentation
m (tyop 2) |
m (→First build !: typo 3) |
||
Line 12: | Line 12: | ||
* Open {{Literal|autobuild/synfigstudio-linux-build.sh}} and change {{Literal|<nowiki>DEBUG=</nowiki>0}} to {{Literal|<nowiki>DEBUG=1</nowiki>}} (line 74) | * Open {{Literal|autobuild/synfigstudio-linux-build.sh}} and change {{Literal|<nowiki>DEBUG=</nowiki>0}} to {{Literal|<nowiki>DEBUG=1</nowiki>}} (line 74) | ||
* Build from {{Literal|autobuild/synfigstudio-linux-build.sh}} | * Build from {{Literal|autobuild/synfigstudio-linux-build.sh}} | ||
− | * During this time install {{Literal|eclipse}} & {{Literal|eclispe-cdt}} | + | * During this time install {{Literal|eclipse}} & {{Literal|eclispe-cdt}} packages from synaptic or whatever ... |
when eclipse installed and synfig builded.... | when eclipse installed and synfig builded.... |
Revision as of 19:47, 13 December 2014
This assume you already cloned the code from git
Contents
Want to setup an IDE to debug / develop synfig ?
Here, we will not discuss of witch IDE is better or if real hacker do all with vi/emacs
Eclipse from gnu/linux
First build !
This will generate all needed makefile
- Open "autobuild/synfigstudio-linux-build.sh" and change "DEBUG=0" to "DEBUG=1" (line 74)
- Build from "autobuild/synfigstudio-linux-build.sh"
- During this time install "eclipse" & "eclispe-cdt" packages from synaptic or whatever ...
when eclipse installed and synfig builded....
Import synfig (etl / core / studio) projects in Eclipse
Open Eclipse, choose your desired place for the workspace (i recommend not in ./synfig folder if you want to commit, better just above)
For each synfig component (etl / core / studio ...)
- Eclipse / Menu / Makefile project with existing code
- Choose your project name (etl / core / studio ...)
- Select code location (synfig/ETL , synfig/synfig-core or synfig/synfig-studio)
- Select your toolchain ... and click Finish ... and Wait a little ...
your now able to build from eclipse.
Want to debug maybe ?
- From "Project Explorer" panel, select your project properties (alt+enter / menu-project or right clicking)
- In "Run/Debug Setting" click "New" or "Edit..." , in C/C++ Application , browse and select the synfig-studio binary from "/home/user/synfig/bin"