[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [xmlblaster] c++ client lib on windows



chiesa wrote:
> hi,all
> 
> i am a newbie to xmlblaster.
> 
> i want to install xmlblaster on windows.
> 
> and the server runs ok.
> 
> then i want to use c++ client.
> 
> i modify the build.properties file to:
> build.compiler=modern
> COMPILE_SOCKET_PLUGIN=1
> XMLBLASTER_PERSISTENT_QUEUE=1
> sqlite.include.dir=D:/xmlBlaster/include     (i put sqlite.h here)
> sqlite.lib.dir=D:/xmlBlaster/lib       (i put sqlite.dll here)
> use-msvc      = 1
> 
> then i start to build the client lib:
> build cpp
> 
> i get the error:
> link error to   symbol _sqlite_freemem,_sqlite_open,............_sqlite_close  (total 13)
> 
> i look up the mailing list,but not find the answer.

You can download a Windows precompiled sqlite:

 http://www.xmlBlaster.org/sqlite-win-bin-2.8.13-cvs.zip

try to put all files into xmlBlaster/lib,
not only the dll:

  sqlite.def
  sqlite.dll
  sqlite.exp
  sqlite.lib


Here is my build.properties configuration for WindowsXP
which runs fine:
----------------------------------------
use-msvc      = 1
XMLCPP_HOME   = C:/xerces-c2_2_0-win32
XMLCPP_VER    = _2
corba.product = TAO
CORBACPP_HOME = C:/ACE_wrappers/TAO
idl.cmd       = C:/ACE_wrappers/bin/tao_idl.exe
CORBACPP_VER  = 1.3
cpp.debug     = true

XMLBLASTER_PERSISTENT_QUEUE=1
sqlite.include.dir=C:/sqlite
sqlite.lib.dir=C:/sqlite

build.compiler=modern

XMLBLASTER_COMPILE_LOG4CPLUS_PLUGIN=1

COMPILE_SOCKET_PLUGIN = 1
------------------------------------------

You can change it and switch off CORBA
as the SOCKET is enough:

 COMPILE_CORBA_PLUGIN  = 0
 corba.product         = NONE

if you don't need the log4cplus logging features
switch it off:

 XMLBLASTER_COMPILE_LOG4CPLUS_PLUGIN=0

regards,

Marcel

Please check:
http://www.xmlblaster.org/xmlBlaster/doc/requirements/client.cpp.queue.html
http://www.xmlblaster.org/xmlBlaster/doc/requirements/client.c.queue.html

> 
> can anybody help me?
> 
> thanks a lot.
> 
>                       chiesa
> 
> 
> 


-- 
http://www.xmlBlaster.org