Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » UppHub » Firebird connection problem
Re: help with sql and ide trick - IDE not rendering control quite right [message #49267 is a reply to message #49263] Sun, 14 January 2018 00:30 Go to previous message
mtdew3q is currently offline  mtdew3q
Messages: 181
Registered: July 2010
Location: Upstate, NY (near Canada)
Experienced Member

--------------------------------------
Subject: connecting to firebird
--------------------------------------
HI-

I am having a little difficulty connecting to firebird.

I use firebird with v. 2.5.7 fedora 27 xfce with g++.
My version of ultimate is 11540 compiled 12/20/2017.
I put package firebird from bazaar in my project.

In debug build methods I put:
-lpng16 -lz -lfreetype -lfbclient

I added include directory:
/usr/local/firebird/include

I added lib directory:
/usr/local/firebird/lib


[#include <Core/Core.h>
#include <Firebird/Firebird.h>

using namespace Upp;

CONSOLE_APP_MAIN
{
  FBSession s;
  s.Connect(
  "/usr/local/firebird/examples/empbuild/employee.fdb",
  "localhost",
  "sysdba",
  "masterkey"
);

Cout()<<"foo";

}


I added the library libfbclient.so.2.5.7 as a file in my
project directory.

I get the error message when execute:
throwing instance of ibpp::DBExc.

The code never prints "foo".

If you scan this and I am making glaring error(s), please let me know.

Thanks for any cool assistance. I will be around on this 3 day weekend
checking in off and on to see if anyone has some tips.

Thx-
mtdew3q
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: firebird
Next Topic: found a solution in the interim - firebird
Goto Forum:
  


Current Time: Mon Aug 25 23:02:30 CEST 2025

Total time taken to generate the page: 0.05843 seconds