2008. június 7., szombat

How to develop Cognitive Vision under Windows

Here are the steps, which are needed to develop/compile my project with Eclipse under Windows:

Download and install the windows binary version of the following items:

- cmake 2.6
- doxygen
- MinGW (Install the g++ compiler+MinGW Make option!)
- Gtk+Glade development package 2.10.11
- Gtkmm+Glademm development package 2.10.11
- OpenCV 1.0 (ChOpenCV package does not need!)
- Eclipse for C/C++ Developers
- Subclipse plug-in for Eclipse: Install the components Subclipse, JavaHL adapter.
- Optional: CMakeEditor Eclipse Plugin

Import the Cognitive Vision from svn into Eclipse:

- Start Eclipse
- Select File menu/New/Other/SVN/Checkout project from SVN
- Create New repository location->Url: https://aibo.svn.sourceforge.net/svnroot/aibo/trunk/CV->Finish
- Select C++/C++ project->Project Name: CV (you must see MinGW GCC in Toolchains)->Finish
- Close the Eclipse
- Start the Start Menu/CMake/CMake-gui-beta
- Select the CV location in the Eclipse's workspace and copy that location to the binaries build directory.
- Configure button->Choose generator Eclipse CDT4 - MinGW Makefiles+Use defaults->Generate button
- You should see in the bottom part somewhere that the g++ compiler/OpenCV/Glib/GTK/Glade are found properly.
- Close the CMake-gui-beta
- Open Eclipse->Project menu->Build all

Enjoy!

Nincsenek megjegyzések: