Difference between revisions of "Using kdevelop4"

From Yade

Line 1: Line 1:
 
[[Image:kdev4_1.png|600px|thumb|Passing the pointer on members will display informations and links to navigate in the sources.]]
 
[[Image:kdev4_1.png|600px|thumb|Passing the pointer on members will display informations and links to navigate in the sources.]]
   
  +
Yade sources come with a yade.kdev4 project file that you can open with kdevelop4 (open Kdevelop4, then go to project->open->yade.kdev4, keep "yade" as the root folder name to avoid problems).
Yade sources come with a yade.kdev4 project file that you can open with kdevelop4. If for some reasons this file does not work for you, you can easily generate a new Yade project : delete first the existing file yade.kdev4, with the (hidden) folder .kdev4; start empty kdevelop sesion and "import" a project, then select the yade directory, but don't give any "project" file *.kdev4 (the old yade.kdevelop project for kdev3 cannot be read either), as it will have to be generated automaticaly; do not select anything on this first window, and go directly to next one. Select project type "custom build", then go to project configuration and set build executable "scons".
+
If for some reasons the default project does not work for you, you can easily generate a new Yade project : delete the existing yade.kdev4 and (hidden) folder .kdev4; start empty kdevelop sesion and "import" a project, then select the yade directory, but don't give any "project" file *.kdev4 (the old yade.kdevelop project for kdev3 cannot be read either), as it will have to be generated automaticaly; do not select anything on this first window, and go directly to next one. Select project type "custom build", then go to project configuration and set build executable "scons".
   
 
Yade can be compiled and debbuged from kdevelop. It gives nice error output with links to where the errors are, etc. There is also a rich class and member description, auto-completion, display of functions signatures,... as shown in screenshots.
 
Yade can be compiled and debbuged from kdevelop. It gives nice error output with links to where the errors are, etc. There is also a rich class and member description, auto-completion, display of functions signatures,... as shown in screenshots.

Revision as of 16:46, 19 July 2010

Passing the pointer on members will display informations and links to navigate in the sources.

Yade sources come with a yade.kdev4 project file that you can open with kdevelop4 (open Kdevelop4, then go to project->open->yade.kdev4, keep "yade" as the root folder name to avoid problems). If for some reasons the default project does not work for you, you can easily generate a new Yade project : delete the existing yade.kdev4 and (hidden) folder .kdev4; start empty kdevelop sesion and "import" a project, then select the yade directory, but don't give any "project" file *.kdev4 (the old yade.kdevelop project for kdev3 cannot be read either), as it will have to be generated automaticaly; do not select anything on this first window, and go directly to next one. Select project type "custom build", then go to project configuration and set build executable "scons".

Yade can be compiled and debbuged from kdevelop. It gives nice error output with links to where the errors are, etc. There is also a rich class and member description, auto-completion, display of functions signatures,... as shown in screenshots.

Also check page on debugging.

Compiling from kdevelop will display links to where the errors are, as well as different formated listings of warningsn FIXMEs, TODOs,...