[pgrouting-dev] Issue with compiling 64-bit under mingw64

Stephen Woodbridge woodbri at swoodbridge.com
Sat Apr 6 20:54:22 PDT 2013


On 4/6/2013 10:44 PM, Paragon Corporation wrote:
> Steve,
>
> We were able to compile pgRouting under mingw64-w64 chain before git
> pulling, but last pull and recompile gave us this error
>
> c:/ming64/projects/pgrouting/src/tsp/src/tsplib.c: In function
> 'findEulerianPath
> ':
> c:/ming64/projects/pgrouting/src/tsp/src/tsplib.c:183:14: error: 'ERROR'
> undeclared (first use in this function)
> c:/ming64/projects/pgrouting/src/tsp/src/tsplib.c:183:14: note: each
> undeclared
> identifier is reported only once for each function it appears in
> c:/ming64/projects/pgrouting/src/tsp/src/tsplib.c: In function
> 'find_tsp_solution':
> c:/ming64/projects/pgrouting/src/tsp/src/tsplib.c:446:18: error: 'FATAL'
> undecla
> red (first use in this function)
> make[2]: *** [src/tsp/src/CMakeFiles/routing_tsp.dir/tsplib.c.obj] Error 1
> make[1]: *** [src/tsp/src/CMakeFiles/routing_tsp.dir/all] Error 2
> make: *** [all] Error 2
>
>
> So not sure what we are missing here.  Strangely enough (unless we did
> something different), the same code base compiles fine
> Under mingw64-w32 chain.
>
I'll sort this out on Monday when I'm and have access to my 64bit setup. 
I'm thinking that maybe -I... might be different or maybe a missing 
header file. Should be easy to resolve.

Thanks,
    -Steve


More information about the pgrouting-dev mailing list