Re: MSVC Build error - Mailing list pgsql-hackers

From Magnus Hagander
Subject Re: MSVC Build error
Date
Msg-id 479CF0D2.5050605@hagander.net
Whole thread Raw
In response to MSVC Build error  ("Gevik Babakhani" <pgdev@xs4all.nl>)
Responses Re: MSVC Build error  ("Gevik Babakhani" <pgdev@xs4all.nl>)
List pgsql-hackers
Gevik Babakhani wrote:
> Hi,
> 
> I get the following error when: build.bat DEBUG
> 
> somehow dumpbin is not called.
> 
>        analyze.c
>        Compiling resources...
>        Generate DEF file
>        Generating POSTGRES.DEF from directory Debug\postgres
>        ...........Could not call dumpbin at src\tools\msvc\gendef.pl line
> 22.
>        Project : error PRJ0019: A tool returned an error code from "Generate
> DEF file"
>        Build log was saved at
> "file://i:\pgdev\pgsql\Debug\postgres\BuildLog.htm"
>        postgres - 1 error(s), 0 warning(s)
>        The command exited with code 1.
> 
>      Done executing task "VCBuild" -- FAILED.
>    Done building target "postgres" in project "pgsql.sln" -- FAILED.
>    Target "ValidateSolutionConfiguration" skipped. Previously built
> successfully.
>    Target "postgres" skipped. Previously built unsuccessfully.
>    Target "ValidateSolutionConfiguration" skipped. Previously built
> successfully.
>    Target misc\libpgport:
>      Task "VCBuild"

Do you have the dumpbin command available in the path?

//Magnus


pgsql-hackers by date:

Previous
From: "Pavel Stehule"
Date:
Subject: Re: what is suffix _P in gram.y
Next
From: "Gevik Babakhani"
Date:
Subject: Re: MSVC Build error