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. If for some reasons this file does not work for you, you can easily generate a new Yade project |
+ | 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. |
||
+ | |||
+ | - Thus, do not select anything on this first window, and go directly to next one. Select project type "custom build", then go to project option and set build executable "scons". |
||
+ | |||
+ | At this point, you can compile from kdevelop, get 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 [https://yade-dem.org/wiki/Debugging_using_Kdevelop debugging]. |
Also check page on [https://yade-dem.org/wiki/Debugging_using_Kdevelop debugging]. |
Revision as of 14:59, 9 July 2010
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.
- Thus, do not select anything on this first window, and go directly to next one. Select project type "custom build", then go to project option and set build executable "scons".
At this point, you can compile from kdevelop, get 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.