CS documentation annotated by zootrasgo, debian-user
nobody <[email protected]>
| Newsgroups | gmane.comp.graphics.crystalspace.docs |
|---|---|
| Message-ID | <[email protected]> |
Author: zootrasgo, debian-user E-Mail: at home Topic: Crystal_Space:_HOWTO_Creating_External_Application_using_KDevelop File: http://crystal.sourceforge.net/docs/online/manual/cs_127.php?action=showadd Time: Sat, 05 Jun 2004 (19:57 UTC) (1086465478) Comment: Finally I did it myself. This is how it worked for me in Kdevelop3 install CS with jam all and jam install , everything in their default directory create New Project C++, Simple Hello World Program write simple1 as Application Name click next four times to finish the new project window find and open simple1.cpp file in crystal folder copy the code of simple1.cpp and paste it into the main file opened in kdevelop (called simple1.cpp as well) click Create a New File and chose C/C++ Header File (.h), and its File Name simple1 click OK twice find and open simple1.h file in crystal folder copy the code of simple1.h and paste it into the file opened in kdevelop (called simple1.h as well) click Project Options in the Project menu click Configure Options selection paste `cs-config --cflags` (with quotes) in CFLAGS (in C tab) click the combo for C Compiler and make sure CC is not empty in C++ tab click the combo por C++ Compiler and make sure CXX is not empty paste `cs-config --cxxflags` (with quotes) in CXXFLAGS without erasing what it is already there. in General tab paste `cs-config --libs cstool csgfx csgeom csutil` (with quotes) in LDFLAGS click ok to close the window click execute program in build menu ... it should work... system used: debian testing sarge kernel 2.6.6 kde 3.2.2 kdevelop 3.0.3 you may need have installed jam, libtool, perhaps automake1.8 and more default developing tools I don't remember if you installed CS in the default directory just writing cs-config --cfalgs will show you an output without errors. You may need put ./cs-config instead cs-config if you did it in another way. ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504