Cygwin and postgresql connexion

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Cygwin and postgresql connexion

BELEM Mahamadou
Dear all

I am a new user of Postgresql.

I try to connect to  a data base using à C++ program. Then, I import libpq-fe.h.

By when I compile my program no error occurs but it is impossible to run the program.
The program stop wothout error during the execution. I use cygwin.

Someone can explain me the problem?

Now I want to use liqpq++ but I don't know how to import this library using cygwin.

I notice that I am using cygwin


Best regard
 



Envoyé avec Yahoo! Mail.
Une boite mail plus intelligente.
Reply | Threaded
Open this post in threaded view
|

Re: Cygwin and postgresql connexion

Curran Schiefelbein
Without compile or link errors, it sounds like your program is simply crashing (segmentation fault?). Try running it in a debugger like gdb.

Are you able to compile and run the test programs provided with libpq++?

Curran

-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of BELEM Mahamadou
Sent: Monday, June 23, 2008 9:23 AM
To: [hidden email]
Subject: [CYGWIN] Cygwin and postgresql connexion

Dear all

I am a new user of Postgresql.

I try to connect to  a data base using à C++ program. Then, I import libpq-fe.h.

By when I compile my program no error occurs but it is impossible to run the program.
The program stop wothout error during the execution. I use cygwin.

Someone can explain me the problem?

Now I want to use liqpq++ but I don't know how to import this library using cygwin.

I notice that I am using cygwin


Best regard



________________________________

Envoyé avec Yahoo! Mail <http://us.rd.yahoo.com/mailuk/taglines/isp/control/*http://us.rd.yahoo.com/evt=52423/*http://fr.docs.yahoo.com/mail/overview/index.html> .
Une boite mail plus intelligente.

--
Sent via pgsql-cygwin mailing list ([hidden email])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-cygwin