Re: C++ User-defined functions

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: C++ User-defined functions
Дата
Msg-id 49B56E66.8090907@hagander.net
обсуждение исходный текст
Ответ на Re: C++ User-defined functions  (George Oakman <oakmang@hotmail.com>)
Ответы Re: C++ User-defined functions  (Craig Ringer <craig@postnewspapers.com.au>)
Re: C++ User-defined functions  (3dmashup <3dmashup@comcast.net>)
Re: C++ User-defined functions  (3dmashup <3dmashup@comcast.net>)
Список 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


В списке pgsql-general по дате отправления:

Предыдущее
От: George Oakman
Дата:
Сообщение: Re: C++ User-defined functions
Следующее
От: dobomode
Дата:
Сообщение: 8.4 – Where, when, what...