On 11/29/11 02:53, Pierre Y. wrote:
> Alex,
>
> I think I found the problem : -lfbclient can't find libfbclient.so
> I added /opt/fb3cs/lib to ldconfig.conf.d but it don't changes anything.
>
> Finally I changed the compile command to :
>
> $ LC_ALL=C g++ -Wall -I../firebird/src/include -o firetest -fPIC
> firetest.cpp /opt/fb3cs/lib/libfbclient.so
>
> And it worked like a charm.
>
sooner of all you have old libfbclient somewhere
> Now I started playing with the new API. I created a project on github for it :
>
> https://github.com/zedalaye/fb3-oo-api
>
> Is the OO API complete ? 

not 100%
main missing part is C++ wrapper to access results of query or
parameters easily for unknown in advance SQL operator.

> I think very strange to still have to build
> DPB by hand... Can you expose something that may give access to the
> ClumpletWriter to ease that ?

Probably it's worth thinking about it, but IMHO building parameters
block is not critical from API point of view.

> At least, I can create and drop a database ;-) But I would be able to
> set up more complex fields like the default dialect, the page size and
> the default character set.


------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to