[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[xmlblaster] C and C++ eclipse project files
Hi,
we provide now (current svn) some eclipse project files to compile
and debug the C and/or the C++ client library and demo
executables on Linux/UNIX.
You need eclipse 3.2 or higher (http://www.eclipse.org)
and the CDT plugin 3.1.0 or higher (http://www.eclipse.org/cdt/).
Please set following environment variables (or eclipse macros)
so that eclipse finds the needed shared third party libs:
#Example for a 32 bit compilation with self provided zlib, sqlite, xerces
export usr_lib_dir=/usr/lib
export zlib_include_dir=/opt/zlib-bin/include
export zlib_lib_dir=/opt/zlib-bin/lib
export sqlite_include_dir=/opt/sqlite-bin/include
export sqlite_lib_dir=/opt/sqlite-bin/lib
export xerces_include_dir=/opt/xerces-c-src_2_7_0-bin/include
export xerces_lib_dir=/opt/xerces-c-src_2_7_0-bin/lib
or for a 64 bit system:
# C/C++ compilation with eclipse 3.2 and CDT 3.1.0 64 bit
# all external libs were installed as RPMs (Suse example)
export usr_lib_dir=/usr/lib64
export zlib_include_dir=/usr/include
export zlib_lib_dir=/usr/lib64
export sqlite_include_dir=/usr/include
export sqlite_lib_dir=/usr/lib64
export xerces_include_dir=/usr/include
export xerces_lib_dir=/usr/lib64
The eclipse project files (.cdtbuild, .cdtproject, .project) reside in
xmlBlaster/src/c
xmlBlaster/demo/c/socket
xmlBlaster/src/c++
xmlBlaster/demo/c++
you can import them over the eclipse menues:
File -> Import -> General -> Existing Projects into Workspace
and add e.g. xmlBlaster/src/c++ for 'Select root directory'.
enjoy,
Marcel
PS: For Windows and Windows CE you'll find some VC++ 2005 project files
PPS: The build/ant/cpptasks building mechanism is still supported