From: | Amit kapila <amit(dot)kapila(at)huawei(dot)com> |
---|---|
To: | tubadzin <tubadzin(at)o2(dot)pl>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Error compiling Postgresql source code in Visual Studio 2010 |
Date: | 2013-07-21 04:57:49 |
Message-ID: | 6C0B27F7206C9E4CA54AE035729E9C38421C5895@szxeml558-mbs.china.huawei.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Saturday, July 20, 2013 9:53 PM tubadzin wrote:
> Hi.
> 1.I downloaded source code PostgreSql version 9.2.4. from http://www.postgresql.org/ftp/source/
> 2.Next, I downloaded ActivePerl and installed it. Next, I used Visual Studio x64 Win64 command prompt 2010. Later I used visual studio command prompt for get into path source code :
> "C:\Postgresql-9-2-4\src\tools\msvc" and I used "build" command like in instruction below.
> http://www.postgresql.org/docs/9.0/static/install-windows-full.html#AEN23979
> 3.Ok, after 3 minutes source code compiled and I have visual studio with 112 projects, I was so optimistic:)
> "C:\Postgresql-9-2-4\pgsql.sln"
> 4.And now I have a big problem:( I want to add new alghoritm to nodeHash.c in "Postgres" project in Visual Studio and later compile source code. But, on the beginning I did'n implement anything.
> On start, Visual Studio generates 1473 error like this (Can I omit this error to compile? Maybe any seetings in Visual Studio are required?):
If build works for you from command prompt, then change the source code and again build from command prompt, your changes will get compiled.
However it should be built from visual studio as well, can u check by adding perl\bin path in
VC++ Directories for Executable files (Tools->Options->Projects and Solutions->VC++ Directories), also check if platform sdk is present in path, and path for bison,flex executables.
With Regards,
Amit Kapila.
From | Date | Subject | |
---|---|---|---|
Next Message | Jeff Davis | 2013-07-21 05:41:05 | Re: Re: Request for Patch Feedback: Lag & Lead Window Functions Can Ignore Nulls |
Previous Message | Pavel Stehule | 2013-07-21 04:47:32 | proposal - psql - show longest tables |