From: | Magnus Hagander <magnus(at)hagander(dot)net> |
---|---|
To: | George Oakman <oakmang(at)hotmail(dot)com> |
Cc: | craig(at)postnewspapers(dot)com(dot)au, pgsql-general(at)postgresql(dot)org |
Subject: | Re: C++ User-defined functions |
Date: | 2009-03-09 19:30:46 |
Message-ID: | 49B56E66.8090907@hagander.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
George Oakman wrote:
> Thanks Craig,
>
> I'm trying to compile a very simple test with Visual Studio (2008), but
> I get the following errors:
The PostgreSQL backend and header files are not compatible with Visual
Studio 2008. At least they're not tested wit hit. You need to try Visual
Studio 2005.
> c:\program files\postgresql\8.3\include\server\pg_config_os.h(188) :
> error C2011: 'timezone' : 'struct' type redefinition
> c:\program files\postgresql\8.3\include\server\pg_config_os.h(188) : see
> declaration of 'timezone'
> c:\program files\postgresql\8.3\include\server\pg_config_os.h(197) :
> error C2011: 'itimerval' : 'struct' type redefinition
> c:\program files\postgresql\8.3\include\server\pg_config_os.h(197) : see
> declaration of 'itimerval'
> c:\program files\postgresql\8.3\include\server\c.h(97) : fatal error
> C1083: Cannot open include file: 'libintl.h': No such file or directory
>
> I must be doing something wrong - I don't even have a libintl.h on my
> drive...
libintlh. is part of gettext, which is a dependency from the binary
version of pg. You can either get the whole sourcetree and reconfigure
it without gettext, or install gettext.
//Magnus
From | Date | Subject | |
---|---|---|---|
Next Message | Dante Ariel C. | 2009-03-09 19:37:10 | Error Connection refused (0x0000274D/10061) |
Previous Message | George Oakman | 2009-03-09 19:22:11 | Re: C++ User-defined functions |